AgentAPIGate
Back to Catalog
GET /v1/medium/tags/searchPack: social·MCP Tool: medium_tags_search

Medium Topics & Tags Search

Discover canonical Medium topic tags and normalized tag slugs by keyword for content intelligence and RSS feed discovery.

API Key Price:$0.0020 / call
x402 Base USDC:$0.0020 / call
Partner Credit:paid_usd / x402 only
1. Parameters & Controls
Tag keyword prefix (e.g. python, llm, kubernetes)
Max tags returned (1-40)
Get $0.25 Free Key →
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"
1-Click Agent IDE Install
Add to Cursor (1-Click OAuth)
-55% tokens
# 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
ParameterTypeReqSample / DefaultDescription
querystringrequiredpythonTag keyword prefix (e.g. python, llm, kubernetes)
limitnumberoptional20Max tags returned (1-40)
formatenumoptionaljson | compact | mdResponse format; compact or md cuts LLM tokens.
dry_run0 | 1optional1Returns exact pre-flight price quote & validation at $0.00 cost.
Access Rail / MetricValuePolicy & SLA
API Key (PAYG)$0.0020 / call$0/mo · Balance never expires
Remote MCP Toolmedium_tags_searchOAuth 2.1 Hub & /mcp/social
x402 Base USDC$0.0020 / callZero-signup USDC enabled
P50 Latency887 ms$0 billed on empty or 4xx/5xx
Token Economy720t → 327t (-55%)Partner credit: paid_usd / x402

More Social & Video Real-Time APIs

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.