Trending by Tag
GET /v1/discover/by-tag/{tag} returns trending APIs for a single tag, ranked by 30-day usage and subscriber count. Use this when an agent knows the domain (e.g. "llm", "weather", "payments") but not a specific provider.
Parameters
- •
tag(path) — single tag, case-sensitive, URL-encoded - •
limit(query, default12, max50) - •
sort(query) —trending(default) orrecent
Example
curl "https://apitree.ai/api/v1/discover/by-tag/llm?limit=3"
{
"tag": "llm",
"sort": "trending",
"apis": [
{ "slug": "openai-chat", "name": "OpenAI Chat Completions", "calls30d": 128400, ... },
{ "slug": "anthropic-messages", "name": "Anthropic Messages", "calls30d": 94120, ... },
...
],
"count": 3
}Related agent tools
- • MCP tool:
trending_by_tag— same endpoint, exposed to Claude/Cursor - • SDK:
apitree.trendingByTag(tag, { limit, sort }) - • Fallback when no specific provider is known: pair with
discover_for_agentfor natural-language intent