
# API Discovery

## What Is API Discovery?

API discovery is the problem of agents finding and understanding available APIs without human documentation. The web solved discovery for humans (search engines, docs sites); agents need machine-readable equivalents: catalogs, manifests, well-known endpoints, and structured metadata that describe what an API does, how to authenticate, and what it costs.

## The Discovery Stack

- **`llms.txt` / `llms-full.txt`** — LLM-friendly site catalogs (llmstxt.org convention).
- **`/.well-known/agent-card.json`** — A2A agent identity and capabilities.
- **`/.well-known/api-catalog`** — RFC 9727 linkset of API endpoints.
- **`/.well-known/mcp.json` + namespaced descriptors** — MCP server and tool discovery.
- **`/sitemap.xml` + `/ai-sitemap.xml`** — crawlable URL inventories for agents.
- **OpenAPI specs** — the baseline machine-readable contract.

## AgentBadge Discovery Surface

Our own discovery stack is the reference implementation — we scan other APIs for exactly these signals (200+ deterministic rules across discovery, docs, auth, payments) and publish our own manifests at every layer.

## Related

- [Agent Readiness](/agent-guide/concepts/agent-readiness) — how we score discovery
- [Passive Scanner](/agent-guide/capabilities/scanner) — the tool that checks it
- [GEO Optimization](/agent-guide/capabilities/geo-optimization) — generative-engine visibility
- [MCP](/agent-guide/concepts/mcp) — tool-level discovery



    <section class="mt-8 rounded-xl border border-emerald-800/30 bg-slate-900/50 p-6">
      <h3 class="text-lg font-bold text-slate-100">Relevant Engineering Capabilities</h3>
      <p class="mt-1 text-sm text-slate-400">The AgentBadge team can help with what you're reading about.</p>
      <div class="mt-4 grid gap-3">
        
        <div class="rounded-lg border border-slate-700 bg-slate-800/50 p-4">
          <div class="flex items-center justify-between">
            <h4 class="text-sm font-semibold text-emerald-400">GEO Optimization</h4>
            <span class="text-xs text-slate-400">Confidence: 0.85</span>
          </div>
          <p class="mt-1 text-xs text-slate-400">Generative Engine Optimization — making content discoverable by AI search engines and AI agents.
</p>
          <div class="mt-2 flex items-center gap-3 text-xs text-slate-500">
            <span>People: Paul</span>
            <span>Status: VERIFIED</span>
          </div>
        </div>
      </div>
      
        <div class="mt-3">
          <p class="text-xs text-slate-500 mb-1">Related services:</p>
          <div class="flex flex-wrap gap-2">
            <span class="text-xs rounded-full bg-slate-700 px-2 py-1 text-slate-300">API Development</span>
          </div>
        </div>
      <div class="mt-4">
        <a href="/agent-guide/team/capabilities" class="inline-flex items-center text-sm font-medium text-emerald-400 hover:text-emerald-300">
          View all capabilities →
        </a>
      </div>
    </section>