Medium Creator Profile Detail
Fetch public Medium writer or publication editor profile details by username including bio, follower/following counts, avatar, and join date.
curl -sG "https://api.agentapigate.ai/v1/medium/user/detail" \ --data-urlencode "username=towardsdatascience" \ --data-urlencode "format=md" \ -H "Authorization: Bearer aag_live_YOUR_KEY" \ -H "X-AAG-Max-Cost: 0.0100"
# Medium Creator Profile Detail (`medium.user.detail`) **found**: true · **username**: towardsdatascience ## user - **id**: 7e12c71dfa81 - **username**: towardsdatascience - **name**: TDS Editors - **bio**: Building a vibrant data science and machine learning community. Share your insights and projects with our global audience: bit.ly/write-for-tds - **follower_count**: 70282 - **following_count**: 3869 - **profile_image**: https://miro.medium.com/v2/resize:fill:176:176/1*W8dhinLQHGYmwipTuH0k3A.png - **profile_url**: https://medium.com/@towardsdatascience
Endpoint Parameters, Cost & Token Economy Reference
Endpoint ID:medium.user.detail · Method: GET| Parameter | Type | Req | Sample / Default | Description |
|---|---|---|---|---|
| username | string | required | towardsdatascience | Medium username without @ (e.g. towardsdatascience, netflixtechblog) |
| 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_user_detail | OAuth 2.1 Hub & /mcp/social |
| x402 Base USDC | $0.0020 / call | Zero-signup USDC enabled |
| P50 Latency | 1410 ms | $0 billed on empty or 4xx/5xx |
| Token Economy | 274t → 145t (-50%) | Partner credit: paid_usd / x402 |
More medium.user Sibling Endpoints
Frequently Asked Questions
How do I call Medium Creator Profile Detail (medium.user.detail) over REST and Remote MCP?
Send GET requests to https://api.agentapigate.ai/v1/medium/user/detail with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool medium_user_detail on https://mcp.agentapigate.ai/mcp.
What does medium.user.detail 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.user.detail?
Passing ?format=md transforms the response into normalized Markdown (~145 tokens vs ~274 raw tokens, saving 50% 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.user.detail"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.