Dev.to

List Dev.to feed

List the public Dev.to home feed, with the top comments under each post.

GET/v1/dev-to/feed
1credit
x-api-keystringheader

API key (`sfk_...`)

Parameters
2
windowstringquery

Which feed: `home` (the front page, default), `latest`, or the most popular of the past `week`, `month`, `year` or `infinity` (all time).

one of: home, latest, week, month, year, infinity

pageintegerquery

Page number (1-2000). Default: 1. Live feeds move as posts are published, so a later page can repeat rows from an earlier one; dedupe by `id`.

≥ 1 · ≤ 2000

Response fields
57

Endpoint-specific response payload.

datawindow
string

The feed returned.

Post cards, in feed order.

datacards[]id
integer

Numeric post id.

datacards[]url
string

Post URL on Dev.to.

datacards[]slug
string

Post slug.

datacards[]title
string

Post title.

Tag names.

datacards[]tags[]
stringoptional
datacards[]publishedAt
stringnullable

When the post was published.

datacards[]editedAt
stringnullable

When the post was last edited, or null.

datacards[]readingTimeMinutes
integernullable

Estimated reading time in minutes.

datacards[]reactionsCount
integer

Reactions on the post.

datacards[]commentsCount
integer

Comments on the post.

datacards[]coverImage
stringnullable

Cover image URL, or null.

datacards[]videoUrl
stringnullable

Video URL, when the post carries a video.

datacards[]communityId
integernullable

Id of the Dev.to community the post belongs to.

datacards[]aiDisclosure
stringnullable

The author's AI disclosure for the post.

datacards[]isPinned
boolean

Whether the post is pinned in this feed.

datacards[]experienceLevel
numbernullable

Reading level readers voted, 1 (beginner) to 10 (advanced), or null.

datacards[]experienceLevelVotes
integernullable

Number of readers behind `experienceLevel`.

datacards[]contextNote
stringnullable

The editors' one-line note on the post, as HTML, or null.

The one tag Dev.to highlights on the post's card.

datacards[]flareTagname
string

Tag name.

datacards[]flareTagbackgroundColor
stringnullable

Tag background colour (hex).

datacards[]flareTagtextColor
stringnullable

Tag text colour (hex).

Who wrote the post.

datacards[]authorid
integernullable

Numeric user id.

datacards[]authorusername
string

Username.

datacards[]authorname
stringnullable

Display name.

datacards[]authoravatarUrl
stringnullable

Profile picture URL.

datacards[]authorisSubscriber
boolean

Whether the author has the subscriber badge.

datacards[]authorisCommunityCurator
boolean

Whether the author is a community curator.

The organization the post was published under, or null.

datacards[]organizationname
stringnullable

Organization name.

datacards[]organizationusername
string

Organization username.

datacards[]organizationavatarUrl
stringnullable

Organization logo URL.

datacards[]organizationid
integernullable

Organization id.

The comments the feed shows under the post.

datacards[]topComments[]commentId
integer

Numeric comment id.

datacards[]topComments[]id
stringnullable

Comment id code, as in comment URLs.

datacards[]topComments[]url
stringnullable

Comment URL.

datacards[]topComments[]createdAt
stringnullable

When the comment was posted.

datacards[]topComments[]bodyHtml
string

Comment body as HTML.

Who wrote the comment.

datacards[]topComments[]authorid
integernullable

Numeric user id.

datacards[]topComments[]authorusername
string

Username.

datacards[]topComments[]authorname
stringnullable

Display name.

datacards[]topComments[]authoravatarUrl
stringnullable

Profile picture URL.

Pagination state for the current page. A full page may be followed by an empty page when the list ends exactly at a page boundary.

datapagepage
integer

Current page number (1-based).

≥ 0

datapagehasMore
boolean

Whether another page is available. A full page may be followed by an empty page when the list ends exactly at a page boundary.

datapagenextPage
integernullable

Next page number when more pages exist; null on the last page.

≥ 0

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/dev-to/feed?window=week" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Dev.to feed page.