Medium Topics & Tags Search
Discover canonical Medium topic tags and normalized tag slugs by keyword for content intelligence and RSS feed discovery.
curl -sG "https://api.agentapigate.ai/v1/medium/tags/search" \ --data-urlencode "query=python" \ --data-urlencode "limit=20" \ --data-urlencode "format=md" \ -H "Authorization: Bearer aag_live_YOUR_KEY" \ -H "X-AAG-Max-Cost: 0.0100"
# Medium Topics & Tags Search (`medium.tags.search`) **query**: python · **count**: 10 ## tags - [1] slug: python, display_title: Python, tag_url: https://medium.com/tag/python - [2] slug: python-programming, display_title: Python Programming, tag_url: https://medium.com/tag/python-programming - [3] slug: python3, display_title: Python3, tag_url: https://medium.com/tag/python3 - [4] slug: python-web-developer, display_title: Python Web Developer, tag_url: https://medium.com/tag/python-web-developer - [5] slug: python-libraries, display_title: Python Libraries, tag_url: https://medium.com/tag/python-libraries - [6] slug: python-flask, display_title: Python Flask, tag_url: https://medium.com/tag/python-flask - [7] slug: opencv-python, display_title: Opencv Python, tag_url: https://medium.com/tag/opencv-python - [8] slug: machine-learning-python, display_title: Machine Learning Python, tag_url: https://medium.com/tag/machine-learning-python - [9] slug: python-for-beginners, display_title: Python For Beginners, tag_url: https://medium.com/tag/python-for-beginners - [10] slug: python-development, display_title: Python Development, tag_url: https://medium.com/tag/python-development
Endpoint Parameters, Cost & Token Economy Reference
Endpoint ID:medium.tags.search · Method: GET| Parameter | Type | Req | Sample / Default | Description |
|---|---|---|---|---|
| query | string | required | python | Tag keyword prefix (e.g. python, llm, kubernetes) |
| limit | number | optional | 20 | Max tags returned (1-40) |
| 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.0020 / call | $0/mo · Balance never expires |
| Remote MCP Tool | medium_tags_search | OAuth 2.1 Hub & /mcp/social |
| x402 Base USDC | $0.0020 / call | Zero-signup USDC enabled |
| P50 Latency | 887 ms | $0 billed on empty or 4xx/5xx |
| Token Economy | 720t → 327t (-55%) | Partner credit: paid_usd / x402 |
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 Medium Topics & Tags Search (medium.tags.search) over REST and Remote MCP?
Send GET requests to https://api.agentapigate.ai/v1/medium/tags/search with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool medium_tags_search on https://mcp.agentapigate.ai/mcp.
What does medium.tags.search cost per call and are failed calls billed?
Each successful HTTP 200 response costs $0.002 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 medium.tags.search?
Passing ?format=md transforms the response into normalized Markdown (~327 tokens vs ~720 raw tokens, saving 55% 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: ["medium.tags.search"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.