Dev.to hub

Dev.to Tags API

Tags on Dev.to, most used first, for choosing what to read or collect next.

GET /v1/dev-to/tags

1 credit Failed requests are free

About this endpoint

GET /v1/dev-to/tags returns tags, a page of tags with id, name, summary, backgroundColor and textColor. The list starts with the most used tags. Use page and limit to walk it, up to 1000 tags per request.

This route gives the tag list shape. For one tag's logo, guidelines, about text and page count, use /v1/dev-to/tag?name=javascript. For posts under a tag, use /v1/dev-to/articles?tag=javascript.

Dev.to Tags API FAQ

How are tags ordered?

Most used first. The order is Dev.to's, not alphabetical, so use page.nextPage to keep it stable.

How many credits does a tags 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.

How do I get posts for a tag?

Send tag to GET /v1/dev-to/articles, for example tag=javascript. You can add top=N to limit the posts to the last N days.

What does summary contain?

A short description of the tag, or null when the tag has none. For the full about text and guidelines, use the single tag route.