AgentAPIGate
Back to Catalog
GET /v1/medium/publications/searchPack: social·MCP Tool: medium_publications_search

Medium Publications Search

Search Medium publications by topic or name, returning publication slugs, custom domains, descriptions, and direct feed URLs.

API Key Price:$0.0020 / call
x402 Base USDC:$0.0020 / call
Partner Credit:paid_usd / x402 only
1. Parameters & Controls
Publication topic or name (e.g. data science, cybersecurity)
Max publications returned (1-30)
Get $0.25 Free Key →
curl -sG "https://api.agentapigate.ai/v1/medium/publications/search" \
  --data-urlencode "query=data science" \
  --data-urlencode "limit=15" \
  --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)
-61% tokens
# Medium Publications Search (`medium.publications.search`)
**query**: data science · **count**: 10

## publications
- [1] id: cf522ff06849, name: The Quantastic Journal, slug: the-quantastic-journal, domain: thequantasticjournal.com, description: Follow the Quantastic Journal, where science, technology…
- [2] id: 6aa870473745, name: Deep Data Science, slug: deep-data-science, description: Diving deep into the world of artificial intelligence…, url: https://medium.com/deep-data-science
- [3] id: 469db201381d, name: The Academic, slug: the-academic, description: The Academic is a top tier, peer-reviewed publication on…, url: https://medium.com/the-academic
- [4] id: 3fe99b2acc4, name: AI Advances, slug: ai-advances, domain: aiadvances.org, description: Ideas in depth.
- [5] id: 1c754ba7b924, name: Artefact Engineering and Data Science, slug: artefact-engineering-and-data-science, description: Artefact is a tech company dedicated to solving data…, url: https://medium.com/artefact-engineering-and-data-science
- [6] id: b442586358cb, name: Data Science Rabbit Hole, slug: data-science-rabbit-hole, description: Let’s dive deep into data science to grok the fundamentals!, url: https://medium.com/data-science-rabbit-hole
- [7] id: 8993e01dcfd3, name: Data Science Collective, slug: data-science-collective, description: Advice, insights, and ideas from the Medium data science…, url: https://medium.com/data-science-collective
- [8] id: 1a1f399d885c, name: Quince Engineering, slug: quince-tech, domain: tech.quince.com, description: Delivering high quality products through a world-class…
- [9] id: a6e43238cdaf, name: Data Science + AI at Microsoft, slug: data-science-at-microsoft, description: Lessons learned in the practice of data science and AI at…, url: https://medium.com/data-science-at-microsoft
- [10] id: f2ba5b8f6eb3, name: Data Engineer Things, slug: data-engineer-things, domain: blog.dataengineerthings.org, description: Things learned in our data engineering journey and ideas on…

Endpoint Parameters, Cost & Token Economy Reference

Endpoint ID: medium.publications.search · Method: GET
ParameterTypeReqSample / DefaultDescription
querystringrequireddata sciencePublication topic or name (e.g. data science, cybersecurity)
limitnumberoptional15Max publications returned (1-30)
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_publications_searchOAuth 2.1 Hub & /mcp/social
x402 Base USDC$0.0020 / callZero-signup USDC enabled
P50 Latency1618 ms$0 billed on empty or 4xx/5xx
Token Economy1352t → 531t (-61%)Partner credit: paid_usd / x402

More Social & Video Real-Time APIs

Frequently Asked Questions

How do I call Medium Publications Search (medium.publications.search) over REST and Remote MCP?

Send GET requests to https://api.agentapigate.ai/v1/medium/publications/search with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool medium_publications_search on https://mcp.agentapigate.ai/mcp.

What does medium.publications.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.publications.search?

Passing ?format=md transforms the response into normalized Markdown (~531 tokens vs ~1352 raw tokens, saving 61% 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.publications.search"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.