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

---

# Stack Exchange Sites API

Every site in the network with the API name the other routes take, its audience and its related sites.

`GET /v1/stack-overflow/sites` lists the Stack Exchange network. Each row has `apiName`, `name`, `url`, `kind` (`main_site` or `meta_site`), `state`, `audience`, `aliases`, `relatedSites` with `relation`, `name`, `apiName` and `url`, `launchedAt`, `openBetaAt`, `closedBetaAt` and `markdownExtensions`.

`apiName` is the value to pass as `site` on every other route, for example `stackoverflow`, `askubuntu`, `math` or `ru.stackoverflow`. The route has no `site` parameter of its own. Page with `page.nextCursor` while `page.hasMore` is true; the whole list fits in a few pages.

## Request

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

## FAQ

### What do I do with apiName?

Pass it as site on any other Stack Overflow route. For example apiName math means site=math, and ru.stackoverflow is the Russian Stack Overflow.

### How many credits does a sites 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 relatedSites?

Sites tied to the row: its meta site, its parent, or a chat site. relation says which, and apiName is filled when the related site is one of the sites in this list.

### Does an alias work as site?

Aliases in the list are other addresses of the site. A host or URL is reduced to the API name, so the canonical url and the aliases both work as site.
