> **For coding agents and LLMs:** This is one Social Fetch marketing page (markdown export). For API orientation start with [`/llms.txt`](https://www.socialfetch.dev/llms.txt); for auth and crawl rules use [`/agents.txt`](https://www.socialfetch.dev/agents.txt); for every operation use [`/llms-endpoints.txt`](https://www.socialfetch.dev/llms-endpoints.txt).

## This page

- **On-site (HTML):** <https://www.socialfetch.dev/platforms/dev-to/trends>
- **Markdown (.mdx) URL:** <https://www.socialfetch.dev/platforms/dev-to/trends.mdx>

---

# Dev.to Trends API

Topics rising on Dev.to, with the questions developers ask about them.

`GET /v1/dev-to/trends` returns `trends`, hottest first. Each trend has `id`, `name`, `slug`, `description`, `keyQuestions`, `score`, `articlesCount`, `coverImage`, `firstObservedAt` and `lastObservedAt`. `keyQuestions` is a list of strings, which makes the route useful for finding what developers are asking about a technology before you read the posts.

Use `page` and `limit` to walk the list, up to 1000 trends per request. `score` and `articlesCount` can be null when the value is unavailable. Use `/v1/dev-to/trend?slug=...` for one trend with its top posts.

## Request

- **Endpoint:** `GET /v1/dev-to/trends`
- **Credits:** 1 credit
Failed requests are free
- **Input:** by page
- **Full reference:** [docs](https://www.socialfetch.dev/docs/api/v1/dev-to/trends/get)
- **Platform page:** [/platforms/dev-to](https://www.socialfetch.dev/platforms/dev-to)

## FAQ

### How are trends ordered?

By score, highest first, as Dev.to ranks them. Use page.nextPage to continue without reordering.

### How many credits does a trends page cost?

Pricing is documented on the operation in the API registry (shown on this page). Confirm on every response with meta.creditsCharged: that field is the billing source of truth. Each paginated page is a separate billed request.

### What are keyQuestions?

The questions developers are asking about the trend, as plain strings. They are the trend page's own questions, not generated text.

### How do I get the posts in a trend?

Call GET /v1/dev-to/trend with the trend id or slug and include=articles. The trend response then carries a page of posts alongside the trend.
