Dev.to Communities API
Public Dev.to communities, each with its domain, description and images.
GET /v1/dev-to/communities1 credit Failed requests are free
About this endpoint
GET /v1/dev-to/communities returns communities, the full list of public communities in one response. Each community has id, name, domain, description, isRoot, logoUrl and coverImageUrl. domain is the community's own domain, such as dev.to, which is the value to quote when you need to tell communities apart.
The route takes no query parameters and charges one request. isRoot is true for the main community and null when the flag is unavailable. Use it when you need to know which community a post belongs to, since post and feed rows carry a communityId.
Dev.to Communities API FAQ
Does this route take any parameters?
No. It returns the whole public community list in one response and charges one flat request.
How many credits does the communities list 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.
How do I map a post to a community?
Post and feed rows carry communityId. Match it to the id in this list. The id can be null on a post outside a community.
What does isRoot mean?
True for the root community, false for a subcommunity, and null when the flag is unavailable. Do not treat null as false.