Medium's publishing platform โ posts, author profiles, publication data, tag feeds, and search โ is now available as structured data via the Anysite Medium Data API.
What's in the API
Ten endpoints covering the full Medium data surface, organized across posts, publications, users, and tags:
- /api/medium/posts โ full post data by post ID or URL: title, subtitle, complete article text, tags, images, clap count, response count, word count, reading time, paywall flag, author profile, and publication details.
- /api/medium/posts/responses โ threaded comments (responses) on a post, each with author, content, and clap count.
- /api/medium/posts/search โ keyword search across Medium posts, returning post cards with title, author, publication, clap count, reading time, and paywall status.
- /api/medium/publications โ publication profile by slug or URL: name, description, tagline, logo, follower count, tags, custom domain, and social handles.
- /api/medium/publications/posts โ posts within a given publication, ordered by recency.
- /api/medium/publications/search โ search publications by keyword, returning name, description, follower count, and topic tags.
- /api/medium/tags/posts โ latest posts for a given tag (e.g.
python,machine-learning,startup) โ post cards with title, author, publication, and clap count. - /api/medium/users โ user profile by username: name, bio, follower count, following count, post count, top writer tags, and social handles.
- /api/medium/users/posts โ a user's published posts with clap counts, reading times, and publication affiliation.
- /api/medium/users/search โ search Medium users by keyword, returning name, bio, follower count, and post count.
Use cases
The most common use case is content research: search Medium posts by keyword with /posts/search to identify what's being written in a topic area, then fetch the full article text with /posts to build content gap analyses, summarization pipelines, or editorial research tools โ without scraping or session management.
Publication intelligence is a natural complement. Use /publications/search to discover publications in a niche, then track their follower counts and post velocity via /publications/posts over time. This is useful for competitive benchmarking, identifying potential content partners, or mapping the publication landscape in your industry.
Author discovery is another strong fit. /users/search finds writers in a domain; /users/posts shows their output and reach. For teams looking to identify contributors, influencers, or experts based on published work and audience size, this removes the manual legwork of browsing Medium profiles.
For ongoing monitoring, /tags/posts lets you pull the latest content for any tag on a schedule โ useful for trend feeds, newsletter curation, or competitive awareness pipelines across dozens of topics simultaneously.
Getting started
All endpoints use the same REST interface as the rest of the Anysite API: a POST request with a JSON body and your API key. No Medium account, developer registration, or OAuth flow required.
curl https://api.anysite.io/api/medium/posts/search \
-H "access-token: YOUR_KEY" \
-d '{"query":"large language models","count":10}'
Every endpoint is also available via the Anysite MCP server โ call it directly from Claude Desktop, Claude Code, Cursor, or ChatGPT on the MCP Unlimited plan.
Full documentation, parameter reference, and code examples are on the Medium endpoint page. All plans include the Medium endpoints โ no per-endpoint fees.