Publishing
Medium API
Public Medium stories, profiles, publications and reading lists.
Retrieve Medium stories, public profiles, followers, following, publications, reading lists and search results.
API availability: Coming soon
http://localhost:3048Public API: https://api.scrapeatlas.com.Endpoints
/v1/medium/profileGet a Medium profile
Retrieve a public Medium writer profile with biography, images, follower and following counts, story count and published social handles.
Reference/v1/medium/profile/postsList a Medium writer’s stories
List a writer’s public Medium stories with titles, author and publication details, topics, dates, clap and response counts, and source content. Pass nextCursor as cursor to read the next source page.
Reference/v1/medium/publicationGet a Medium publication
Get public Medium publication details, subscriber counts, social links, topics, editor notes and staff profiles.
Reference/v1/medium/publication/postsList a Medium publication’s stories
List a Medium publication’s public stories with titles, author details, topics, publication dates, clap and response counts, and source content. Pass nextCursor as cursor to continue.
Reference/v1/medium/postGet a Medium story
Retrieve a public Medium story by URL with its title, subtitle, author, publication, topics, dates, clap and response counts, reading time, paragraphs, readable text and links.
Reference/v1/medium/post/responsesList a Medium story’s responses
List public responses to a Medium story with author profiles, response titles and text, dates, claps and parent story IDs. Pass nextCursor as cursor to read the next page.
Reference/v1/medium/tag/postsList Medium stories by topic
List public Medium stories for a topic tag with titles, author and publication details, topic metadata, dates, engagement counts and source content.
Reference/v1/medium/searchSearch Medium
Search public Medium stories, profiles, publications and reading lists by keyword. Choose a result type and use nextPage to request another results page.
Reference/v1/medium/profile/followersGet Medium followers
Get public profiles that follow a Medium account. Results include display names, handles, biographies, profile images and available counts.
Reference/v1/medium/profile/followingGet Medium following
Get public profiles followed by a Medium account. Results include display names, handles, biographies, profile images and available counts.
Reference/v1/medium/profile/listsGet Medium profile lists
Get public reading lists created by a Medium account, including list descriptions, story counts and creator profiles.
Reference/v1/medium/listGet Medium list
Get a public Medium reading list and its stories. Results include list metadata, creator profiles, story titles, authors, dates, topics and engagement counts.
ReferenceQuick start
Create an API key on your account page, then call the public API. Values below are placeholders.
curl "https://api.scrapeatlas.com/v1/medium/profile?handle=example-writer" \
-H "x-api-key: YOUR_API_KEY"Coverage & limits
- List requests accept limit from 1 to 100, default 20; search pages are numbered 0 to 100.
- Handles contain 1 to 64 characters, publication and tag slugs contain 1 to 100 characters, search phrases contain 1 to 200 characters, and story URLs contain at most 1,024 characters.
- Reading list IDs contain 12 lowercase hexadecimal characters.
- Opaque continuation tokens contain at most 8,192 bytes.
| HTTP | failure.code | Meaning |
|---|---|---|
| 400 | invalid_request | Missing, duplicated, invalid or unsupported request parameters. |
| 401 | unauthorized | Missing or invalid worker API key. |
| 404 | not_found | The requested writer, publication or story was not found. |
| 422 | restricted_page | The source requires additional access. |
| 422 | unsupported_page | The source did not provide the expected record. |
| 502 | upstream_challenged | The source challenged the request. |
| 502 | upstream_rate_limited | The source rate limited the request. |
| 502 | upstream_error | A source request failed. |
| 502 | response_too_large | Source data exceeded the response byte limit. |
| 502 | payload_too_complex | Source data exceeded the traversal depth or node limit. |
| 502 | unsafe_redirect | The source returned an unexpected redirect. |
| 502 | request_limit | The request exhausted its source-attempt budget. |
| 503 | busy | All worker request slots are in use. |
| 504 | timeout | The request exceeded its deadline. |
| 200 | partial | Usable data was returned with coverage warnings. |