Substack Category Top Publications Leaderboard
Retrieve ranked Substack publications in any category (e.g. technology=4, business=62, finance=153, culture=96, science=134, crypto=118) with custom domains, authors, subscriber tiers, and descriptions.
curl -sG "https://api.agentapigate.ai/v1/substack/categories/leaderboard" \ --data-urlencode "category=technology" \ --data-urlencode "page=0" \ --data-urlencode "format=md" \ -H "Authorization: Bearer aag_live_YOUR_KEY" \ -H "X-AAG-Max-Cost: 0.0100"
# Substack Category Top Publications Leaderboard (`substack.categories.leaderboard`) **category_id**: 4 · **page**: 0 · **has_more**: true · **count**: 25 ## publications - [1] rank: 1, id: 817132, name: ByteByteGo Newsletter, subdomain: bytebytego, custom_domain: blog.bytebytego.com - [2] rank: 2, id: 458709, name: The Pragmatic Engineer, subdomain: pragmaticengineer, custom_domain: newsletter.pragmaticengineer.com - [3] rank: 3, id: 5931581, name: Pirate Wires, subdomain: piratewires, url: https://piratewires.substack.com - [4] rank: 4, id: 2333426, name: Career Brew, subdomain: careerbrew, url: https://careerbrew.substack.com - [5] rank: 5, id: 1557980, name: Growth Mindset, subdomain: tmindset, url: https://tmindset.substack.com - [6] rank: 6, id: 13145, name: a16z, subdomain: a16z, custom_domain: www.a16z.news - [7] rank: 7, id: 3483267, name: Sabrina Ramonov 🍄, subdomain: sabrinaramonov, custom_domain: www.sabrina.dev - [8] rank: 8, id: 6349492, name: SemiAnalysis, subdomain: semianalysis, custom_domain: newsletter.semianalysis.com - [9] rank: 9, id: 1501429, name: Understanding AI, subdomain: understandingai, custom_domain: www.understandingai.org - [10] rank: 10, id: 6133698, name: Metatrends, subdomain: metatrends, url: https://metatrends.substack.com - [11] rank: 11, id: 8237712, name: Claude Cowork, subdomain: claudedesktop, custom_domain: www.coworkoperator.com - [12] rank: 12, id: 6850544, name: The AI Corner, subdomain: theaicorner1, custom_domain: www.the-ai-corner.com - [13] rank: 13, id: 1511845, name: The System Design Newsletter, subdomain: systemdesignone, custom_domain: newsletter.systemdesign.one - [14] rank: 14, id: 454003, name: Product Growth, subdomain: aakashgupta, custom_domain: www.news.aakashg.com - [15] rank: 15, id: 396235, name: AI Supremacy, subdomain: aisupremacy, custom_domain: www.ai-supremacy.com
Endpoint Parameters, Cost & Token Economy Reference
Endpoint ID:substack.categories.leaderboard · Method: GET| Parameter | Type | Req | Sample / Default | Description |
|---|---|---|---|---|
| category | string | optional | technology | Substack category slug (technology, business, finance, culture, science, crypto, news, health, design) or numeric category ID (e.g. "4" for Technology) |
| page | number | optional | 0 | 0-indexed leaderboard page (25 publications per page) |
| format | enum | optional | json | compact | md | Response format; compact or md cuts LLM tokens. |
| dry_run | 0 | 1 | optional | 1 | Returns exact pre-flight price quote & validation at $0.00 cost. |
| Access Rail / Metric | Value | Policy & SLA |
|---|---|---|
| API Key (PAYG) | $0.0010 / call | $0/mo · Balance never expires |
| Remote MCP Tool | substack_categories_leaderboard | OAuth 2.1 Hub & /mcp/social |
| x402 Base USDC | $0.0020 / call | Zero-signup USDC enabled |
| P50 Latency | 57 ms | $0 billed on empty or 4xx/5xx |
| Token Economy | 11126t → 507t (-95%) | Partner credit: eligible |
More Social & Video Real-Time APIs
Fetch TikTok account profile bio, verification badge, follower count, heart count, and video count.
List recent short videos posted by a TikTok creator with view, like, comment, and share counts.
Fetch full metadata, audio track, author details, and engagement metrics for a TikTok video URL or ID.
Fetch top comments on a TikTok video URL or ID with author handles and like counts.
Search TikTok short videos by keyword with view, like, and creator statistics.
Fetch currently trending viral TikTok videos in a target country code.
Frequently Asked Questions
How do I call Substack Category Top Publications Leaderboard (substack.categories.leaderboard) over REST and Remote MCP?
Send GET requests to https://api.agentapigate.ai/v1/substack/categories/leaderboard with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool substack_categories_leaderboard on https://mcp.agentapigate.ai/mcp.
What does substack.categories.leaderboard cost per call and are failed calls billed?
Each successful HTTP 200 response costs $0.001 USD from a non-expiring PAYG balance ($0/month minimum). Upstream errors, empty responses, and ?dry_run=1 pre-flight quotes always bill $0.00.
How does ?format=md or ?format=compact optimize AI agent token usage on substack.categories.leaderboard?
Passing ?format=md transforms the response into normalized Markdown (~507 tokens vs ~11126 raw tokens, saving 95% of LLM context budget) while preserving structured JSON via ?format=json.
Can I restrict an AI agent key to only social endpoints with a daily USD cap?
Yes. Create a scoped aag_agent_* sub-key via POST /v1/keys with allowed_packs: ["social"], optional allowed_endpoints: ["substack.categories.leaderboard"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.