Skip to main content

Capability Map

GET /v1/discover/capabilities returns a capability map: the most common tags across the apitree catalog, each paired with a ranked set of exemplar APIs. Agents use this to answer "what can apitree do?" without a specific query in mind.

Parameters

  • tag_limit — how many tags to return (default 20, max 50)
  • per_tag — exemplar APIs per tag (default 3, max 10)

Example

curl "https://apitree.ai/api/v1/discover/capabilities?tag_limit=4&per_tag=2"

{
  "capabilities": [
    { "tag": "llm", "api_count": 14, "examples": [
      { "slug": "openai-chat", "name": "OpenAI Chat Completions", ... },
      { "slug": "anthropic-messages", "name": "Anthropic Messages", ... }
    ]},
    { "tag": "weather", "api_count": 6, "examples": [ ... ] },
    ...
  ],
  "count": 4
}

Related agent tools

  • • MCP tool: list_capabilities
  • /v1/discover/by-tag/{tag} — drill into a specific capability
apitree · AI-Native API Marketplace