Medium API

Medium API for Author Profiles, Post Details, Tag Feeds, and Search

Scrappa's Medium API returns structured JSON from Medium, the publishing platform. Retrieve public author profiles with follower counts and latest posts, read tag feeds with relay pagination, fetch full post details with the free body text as paragraphs, and search public posts by keyword. Scrappa is an independent service and is not affiliated with or endorsed by Medium.

500 free credits
No card needed
From $0.20 / 1k
Pay as you go
Structured JSON
Ready for apps
API key access
Test in minutes
4
Endpoints
Medium
Source coverage
$0.20
Per 1k requests

Try it now

Make one request. Inspect structured JSON.

Use the first endpoint in this API family with a Scrappa API key. Every account includes 500 free monthly credits, so you can validate the response shape before buying credits.

Request preview
Request
curl -X GET "https://scrappa.co/api/medium/user?username=medium" \
  -H "Accept: application/json" \
  -H "X-API-KEY: YOUR_API_KEY"
JSON response
{
  "success": true,
  "data": {
    "user": {
      "id": "504c7870fdb6",
      "name": "Medium",
      "username": "medium",
      "bio": "Everyone's stories and ideas",
      "follower_count": 1526356,
      "following_count": 3
    },
    "posts": [
      {
        "id": "62edea66ffa4",
        "title": "Updating Our Rules — June 2023",
        "url": "https://medium.com/blog/updating-our-rules-june-2023-62edea66ffa4",
        "is_locked": false,
        "clap_count": 5111,
        "reading_time": 1.0,
        "published_at": 1687975282039,
        "responses_count": 69,
        "tags": ["medium", "rules"],
        "creator": { "id": "504c7870fdb6", "username": "medium" },
        "collection": { "id": "15f753907972", "name": "The Medium Blog", "slug": "blog" }
      }
    ],
    "has_more": true,
    "next_from": "L1531852667385"
  },
  "meta": { "endpoint_family": "user_feed", "billable": true }
}

What you can build

Structured data for real applications. Here are some ideas.

Author Profile Research

Look up any public Medium author for name, bio, follower count and a page of their latest posts in one request.

Tag and Topic Tracking

Read the latest public posts for any Medium tag with relay cursor pagination for change detection.

Full-Text Post Access

Fetch one post with title, subtitle, claps, reading time, publish date, responses count, tags and the free body text as paragraphs.

Search and Discovery

Search public Medium posts by keyword with 0-based page pagination to surface relevant articles fast.

Medium scraper API

Medium API for author profiles, post details, tag feeds, and search

The Medium API is built for content research, publishing analytics, and topic monitoring. The user endpoint returns a public author profile with follower count and a page of latest posts. The tag endpoint returns the latest posts for any tag with relay pagination. The post endpoint returns full metadata plus the free body text as paragraphs and plain text. The search endpoint returns public posts matching a keyword with 0-based page pagination.

Retrieve public author profiles with name, bio, follower count and latest posts.

Read tag feeds with title, claps, reading time, publish date, creator, collection and subtitle.

Fetch one post with full metadata plus the free body text as paragraphs and plain text.

Search public posts by keyword with 0-based pages; a valid empty result is a successful response.

Member-only posts return preview text only, never member content.

Choose the right Medium API endpoint

Use User Profile for author research

Pass a Medium username to the user endpoint to get the public profile with follower count and a page of latest posts with titles, claps, reading time, publish dates, tags, creators and collections.

Open Medium User API docs

Use Tag Feed for topic monitoring

Pass a tag slug to the tag endpoint to read the latest public posts for that topic, then follow the next_after relay cursor until has_more is false.

Open Medium Tag Feed API docs

Use Post Detail for full-text access

Pass a Medium post id to the post endpoint to get title, subtitle, claps, reading time, publish date, creator, collection, responses count and the free body text as paragraphs and plain text.

Open Medium Post Detail API docs

Use Search for discovery

Pass a keyword to the search endpoint to list public Medium posts matching the query with 0-based page pagination; valid empty results are billable success.

Open Medium Search API docs

Available endpoints

Everything you need in one API.

Scrappa vs ScrapingBee / ScraperAPI

See how Scrappa compares to the official API.

Medium data as JSON
Scrappa:
ScrapingBee / ScraperAPI: Build your own parser
Full-text post bodies
Scrappa: Free body as paragraphs
ScrapingBee / ScraperAPI: Parse it yourself
Tag feeds with pagination
Scrappa: Relay cursor built in
ScrapingBee / ScraperAPI: Parse it yourself
Keyword search
Scrappa:
ScrapingBee / ScraperAPI:
Price per 1k requests
Scrappa: From $0.20
ScrapingBee / ScraperAPI: Varies by credits per request
Unified API key
Scrappa: Yes (80+ APIs)
ScrapingBee / ScraperAPI: Scraping only
Free tier
Scrappa: 500 credits/month
ScrapingBee / ScraperAPI: Trial credits

Key features

Public Medium author profiles with name, bio, follower count and latest posts
Latest posts per post with title, url, lock state, clap count, reading time, publish date, responses count, tags, creator and collection
Tag feeds with relay cursor pagination and a valid empty feed as billable success
Post detail with visibility, subtitle, member-only flag and the free body text as paragraphs and plain text
Keyword search with 0-based page pagination and live paging metadata
Member-only posts return preview text only, never member content

Frequently asked questions

No. Scrappa is an independent service and is not affiliated with or endorsed by Medium. The Medium API returns structured JSON from public Medium data through a Scrappa API key.

Every Scrappa account includes 500 free credits each month. After that, each request costs one credit, which works out to $0.20 to $0.30 per 1,000 requests depending on the credit pack or plan. Failed requests are never charged.

The user endpoint takes a from cursor, the tag endpoint takes an after relay cursor and the search endpoint takes a 0-based page number. Each response carries the next cursor and a has_more flag. A valid empty result is a successful response.

No. Member-only posts are flagged with is_member_only and return preview text only, never member content.

Start using the Medium API

Sign up and get 500 free credits. No credit card required.