Skip to content
scrapeatlas.Dashboard

Coming soon

Get a Medium publication

Try in Playground

Get public Medium publication details, subscriber counts, social links, topics, editor notes and staff profiles.

GET/v1/medium/publicationx-api-key
x-api-keystringrequiredheader

Your ScrapeAtlas customer key. Create one on /account/ and set SCRAPEATLAS_API_KEY.

Query parameters
1
slugstringrequiredquery

Publication slug from its medium.com URL.

Exampleexample-publication
Response fields
56
requestIdstring

Request correlation UUID.

Source request attempts, decoded bytes and duration.

accounting.upstreamRequestsinteger

Number of upstream HTTP request attempts.

≥ 0

accounting.responseBytesinteger

Decoded source response bytes.

≥ 0

accounting.durationMsnumber

Elapsed request time in milliseconds.

≥ 0

successboolean

True when usable data is returned; inspect status and coverage.

statusenum

success or partial for usable data; failed or challenged for failure responses.

one of: success, partial

sourceUrlstring

Canonical public Medium URL for the request.

absolute HTTPS URL

fetchedAtstring

UTC retrieval timestamp.

Coverage of the returned source records.

coverage.sourcestring

Public Medium web data.

coverage.completeboolean

Whether the result has no reported omissions.

coverage.warningsstring[]

Warnings that explain partial results.

coverage.orderenumoptional

Returned source order: source_order or ranked.

one of: source_order, ranked

Public publication metadata.

publication.idstring

Medium publication ID as a source string.

publication.namestringnullable

Publication name, or null.

publication.slugstringnullable

Publication URL slug, or null.

publication.urlstringnullable

Public publication URL, or null.

publication.descriptionstringnullable

Publication description, or null.

publication.shortDescriptionstringnullable

Short publication description, or null.

publication.taglinestringnullable

Publication tagline, or null.

publication.creatorIdstringnullable

Publication creator user ID, or null.

publication.subscriberCountintegernullable

Published subscriber count, or null.

0 – 9007199254740991

publication.imageUrlstringnullable

Publication image URL, or null.

publication.logoUrlstringnullable

Publication logo URL, or null.

publication.faviconUrlstringnullable

Publication favicon URL, or null.

publication.twitterUsernamestringnullable

Public X handle, or null.

publication.facebookPageNamestringnullable

Public Facebook page name, or null.

publication.instagramUsernamestringnullable

Public Instagram handle, or null.

publication.publicEmailstringnullable

Email address published by the publication, or null.

publication.editorsNotestringnullable

Public editor note, or null.

Public publication staff in source order, or null.

publication.staff.userIdstring

Medium staff user ID as a source string.

publication.staff.isEditorbooleannullable

Source editor flag, or null.

publication.staff.excludedbooleannullable

Source exclusion flag, or null.

publication.staff.typestringnullable

Source staff record type, or null.

Public staff profile, or null.

publication.staff.profile.idstring

Medium user ID as a source string.

publication.staff.profile.usernamestring

Public Medium handle.

publication.staff.profile.namestringnullable

Display name, or null.

publication.staff.profile.biostringnullable

Profile biography, or null.

publication.staff.profile.urlstringnullable

Public profile URL, or null.

publication.staff.profile.imageIdstringnullable

Source avatar image identifier, or null.

publication.staff.profile.imageUrlstringnullable

Public avatar image URL, or null.

publication.staff.profile.backgroundImageIdstringnullable

Source background image identifier, or null.

publication.staff.profile.createdAtintegernullable

Profile creation time as Unix milliseconds, or null.

0 – 9007199254740991

publication.staff.profile.mediumMemberAtintegernullable

Medium membership start as Unix milliseconds, or null.

0 – 9007199254740991

publication.staff.profile.languageCodestringnullable

Source language code, or null.

publication.staff.profile.twitterScreenNamestringnullable

Public X handle, or null.

publication.staff.profile.facebookDisplayNamestringnullable

Public Facebook display name, or null.

publication.staff.profile.followerCountintegernullable

Published follower count, or null.

0 – 9007199254740991

publication.staff.profile.followingCountintegernullable

Published following count, or null.

0 – 9007199254740991

publication.staff.profile.postCountintegernullable

Published story count, or null.

0 – 9007199254740991

publication.staff.profile.isSuspendedbooleannullable

Source suspension flag, or null.

publication.tagsstring[]

Publication tag strings in source order.

up to 100 items

HTTP 200 returns the success variant. Check status: partial means usable data with warnings, and failed or challenged requests carry a failure object described in Errors & responses.

Error codes
15
HTTPfailure.codeMeaning
400invalid_requestMissing, duplicated, invalid or unsupported request parameters.
401unauthorizedMissing or invalid worker API key.
404not_foundThe requested writer, publication or story was not found.
422restricted_pageThe source requires additional access.
422unsupported_pageThe source did not provide the expected record.
502upstream_challengedThe source challenged the request.
502upstream_rate_limitedThe source rate limited the request.
502upstream_errorA source request failed.
502response_too_largeSource data exceeded the response byte limit.
502payload_too_complexSource data exceeded the traversal depth or node limit.
502unsafe_redirectThe source returned an unexpected redirect.
502request_limitThe request exhausted its source-attempt budget.
503busyAll worker request slots are in use.
504timeoutThe request exceeded its deadline.
200partialUsable data was returned with coverage warnings.