Headers
Get your API keyAPI key (`sfk_...`)
Numeric trend id.
≥ 1 · ≤ 9007199254740991
Trend slug to look up, e.g. `ghost-in-the-machine-ai-legacy-code`.
pattern: ^[a-z0-9][a-z0-9-]{0,199}$
`articles` adds a page of the trend's posts (`page` and `limit` apply to them).
one of: articles
Page number (1-1000). Default: 1. A full page may be followed by an empty page when the list ends exactly at a page boundary.
≥ 1 · ≤ 1000
Rows per page (1-1000). Default: 30. A page is the same price at any size.
≥ 1 · ≤ 1000
Endpoint-specific response payload.
Whether the item was found.
one of: found, not_found
The trend when found; otherwise null.
Numeric trend id.
Trend name.
Trend slug.
What the trend is about.
Questions developers are asking about the trend.
Trend score; higher is hotter.
Posts that belong to the trend.
Cover image URL.
When the trend was first seen.
When the trend was last refreshed.
The trend's top-scoring posts.
Numeric post id.
Post title.
Post slug.
Post score within the trend.
When the post was published.
A page of the trend's posts when `include=articles` was sent; otherwise null.
Numeric post id.
Post URL on Dev.to.
Post slug.
Post title.
Short description (the first lines of the post).
Tag names, in the order shown.
ISO 639-1 language code, e.g. `en`. Null on older posts.
When the post was published (ISO-8601).
The later time the post was published again, or null when it matches `publishedAt`.
When the draft was first created (ISO-8601). Can be earlier than `publishedAt`.
When the post was last edited, or null.
When the post was cross-posted from another site, or null.
When the last comment was posted.
Estimated reading time in minutes.
Reactions on the post, all kinds combined.
Comments on the post.
Cover image URL, or null.
Image used when the post is shared.
Canonical URL. Points to the author's own site for cross-posts.
Id of the series the post belongs to, or null.
Id of the Dev.to community the post belongs to, or null.
The author's AI disclosure: `not_disclosed`, `no_ai`, `some_ai` or `fully_autonomous`.
The one tag Dev.to highlights on the post's card.
Tag name.
Tag background colour (hex).
Tag text colour (hex).
The user who wrote a post or comment.
Numeric user id.
Username, e.g. `ben`.
Display name.
Profile picture URL.
Website the user lists on their profile.
Twitter or X username the user lists.
GitHub username the user lists.
The organization the post was published under, or null.
Organization name.
Organization username.
Organization logo URL.
Pagination for `articles`; null when it is not included.
Current page number (1-based).
≥ 0
Whether another page is available. A full page may be followed by an empty page when the list ends exactly at a page boundary.
Next page number when more pages exist; null on the last page.
≥ 0
Metadata describing the request and billing outcome.
Unique request identifier for tracing this API call.
min 1 chars
Credits charged for this request.
≥ 0
Public API version that served the response.
one of: v1
Code example
curl "https://api.socialfetch.dev/v1/dev-to/trend?slug=ghost-in-the-machine-ai-legacy-code" \
-H "x-api-key: YOUR_API_KEY"Responses
Dev.to trend.