Content
Medium logo

Medium API

medium.com

Medium — browse articles by topic tag, read publication feeds, and search articles by keyword.

Actions
5
Category
Content
Login
Not required
Output
JSON

Call the Medium API

Submit a task, then poll the job until it settles. This example runs md_article.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "md_article",
    "params": {
      "url": "<url>"
    }
  }'

5 actions on medium.com

Read

  • Full Article

    md_articleread1 credit / call

    Returns the full content and metadata of a Medium article by URL — title, author, published date, categories, and description.

    url
    string · required
  • Publication Feed

    md_publicationread1 credit / call

    Returns articles from a Medium publication — Towards Data Science, Better Programming, freeCodeCamp, etc.

    publication
    string · required
    limit
    integer
  • Search Articles

    md_searchread1 credit / call

    Returns Medium articles matching a keyword search with optional time filtering.

    query
    string · required
    when
    string
    limit
    integer
  • Topic Articles

    md_tagread1 credit / call

    Returns Medium articles by topic tag — AI, programming, startups, data science, and more.

    tag
    string · required
    limit
    integer
  • User Articles

    md_userread1 credit / call

    Returns recent articles from a specific Medium user or blog.

    username
    string · required
    limit
    integer

Medium API questions

Is there an API for Medium?
Medium does not offer a public data API for this, but Anakin Wire provides 5 maintained endpoints for medium.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape Medium data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when medium.com changes its markup, Anakin updates the action.
Do I need a Medium account?
No. Every Medium action listed here runs anonymously — no account and no credentials required.
What does the Medium API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Content APIs

All Content sites