> **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/communities>
- **Markdown (.mdx) URL:** <https://www.socialfetch.dev/platforms/dev-to/communities.mdx>

---

# Dev.to Communities API

Public Dev.to communities, each with its domain, description and images.

`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`.

## Request

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

## 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.
