Medium

List Medium author posts

List an author's ten newest Medium posts, with the full article HTML when the article body is available.

GET/v1/medium/authors/{username}/posts
1credit
x-api-keystringheader

API key (`sfk_...`)

Parameters
1
usernamestringrequiredpath

Medium handle, with or without the leading `@`, e.g. `ev`.

min 1 chars · max 64 chars · pattern: ^[a-zA-Z0-9][a-zA-Z0-9._-]*$

Response fields
40

Endpoint-specific response payload.

datalookupStatus
string

Whether the entity exists. HTTP 200 for both outcomes.

one of: found, not_found

The author's feed header; null when the author does not exist.

dataauthorusername
string

Handle without the `@`.

dataauthorname
stringnullable

Display name, from the feed title.

dataauthortitle
stringnullable

Feed title.

dataauthordescription
stringnullable

Feed description.

dataauthorid
stringnullable

User id, when the feed carries one.

dataauthoravatarUrl
stringnullable

Avatar URL from the feed image.

dataauthorurl
stringnullable

Public link to the author on Medium.

dataauthorhost
stringnullable

Host of the public link.

dataauthorisCustomDomain
booleannullable

True when the public link is not on medium.com.

The newest 10 posts, across every publication the author writes for. Items carry full HTML when the article body is available.

dataposts[]postId
string

Post id (the hex id after `/p/`).

dataposts[]title
stringnullable

Title as Medium has it.

dataposts[]url
stringnullable

Public link to the post.

dataposts[]authorName
stringnullable

Author display name.

dataposts[]authorUsername
stringnullableoptional

Author handle when the post's public link names one (`medium.com/@handle/...` or `{handle}.medium.com/...`); null when it does not, including on a `medium.com/{publication}/...` link or a publication's own domain.

dataposts[]publicationSlug
stringnullableoptional

Publication slug when the post's public link names one (`medium.com/{slug}/...`); null when it does not, including on an author's post or a publication's own domain.

Tag slugs on the post.

dataposts[]tags[]
stringoptional
dataposts[]publishedAt
stringnullable

First publication time, ISO 8601 UTC.

dataposts[]updatedAt
stringnullable

When the post was last updated, ISO 8601 UTC.

dataposts[]host
stringnullable

Host of the public link.

dataposts[]isCustomDomain
booleannullable

True when the link is on a publication's own domain.

dataposts[]contentAvailable
boolean

True when the article body is available. A member-only or preview-only item is false.

dataposts[]contentHtml
stringnullable

Article HTML when the post body is available.

dataposts[]contentText
stringnullable

Plain text derived from `contentHtml`.

dataposts[]snippet
stringnullable

Short preview for an item without an article body.

dataposts[]imageUrl
stringnullable

First image of the post, when it has one.

dataposts[]wordCount
integernullable

Words in `contentText`, derived from the article text (Chinese, Japanese and Thai are segmented). Null when the body is not available.

dataposts[]readingMinutes
numbernullable

Words divided by 238, to one decimal.

datacomplete
boolean

False when an item could not be fully parsed; the response then holds the complete items.

Depth of a list. It has no cursor.

datapagedepth
integer

The depth of this list: 10.

≥ 0

datapagehasMore
nullable

Always null: this list has no paging parameter, so whether anything older exists is not known.

Metadata describing the request and billing outcome.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

Public API version that served the response.

one of: v1

Code example

curl "https://api.socialfetch.dev/v1/medium/authors/ev/posts" \
  -H "x-api-key: YOUR_API_KEY"

Responses

The author's newest posts.