News Media
Medium logo

Medium API

medium.com

Medium - articles by topic tag, publication feeds, and keyword search.

Actions
5
Category
News Media
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": "https://news.google.com/rss/articles/CBMiqwFBVV95cUxNMDdDd2xjZm90MkRrZkpwRlVQdmFDUFI4R1djYVJSZWxybnpTXzZnS3Utb0IyNV94d1V4bWRyLXJYVkZ2Vm1CUndQNXB1Wmp2dnZGemtLR0lZVGdkaWRvc0Zaa0J4RnpBQWxQSGJBNmI2SXZYUTFKV1ltZTFvMGxGTE53VV95UkVmb1hCNklsY0xIdndLRWJ0eUwzSVJBNGRCbFRtWjRibTJWWDg?oc=5"
    }
  }'

5 actions on medium.com

Read

  • Article Content

    md_articleread2 credits / call

    Returns the full content and metadata of a Medium article including title, author, and date.

    url
    string · required
  • Article Search

    md_searchread1 credit / call

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

    query
    string · required
    when
    string
    limit
    integer
  • Publication Feed

    md_publicationread1 credit / call

    Returns articles from a Medium publication.

    publication
    string · required
    limit
    integer
  • Topic Articles

    md_tagread1 credit / call

    Returns Medium articles by topic tag.

    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 News Media APIs

All News Media sites