Stack Overflow

List Stack Exchange sites

List the sites of the Stack Exchange network and the name each takes in the `site` parameter.

GET/v1/stack-overflow/sites
1credit
x-api-keystringheader

API key (`sfk_...`)

Parameters
2
limitintegerquery

Up to this many rows per page, 1 to 100. Default: 30. A page can hold fewer than `limit` rows where rows share a creation second or a block of 100 rows ends. Follow `page.nextCursor` until `hasMore` is false.

≥ 1 · ≤ 100

cursorstringquery

Cursor from `page.nextCursor` of the previous response. It only works with the same filters.

min 1 chars · max 1024 chars

Response fields
28

Endpoint-specific response payload.

The sites on this page.

datasites[]apiName
string

The name to pass as `site` on every other endpoint.

datasites[]name
string

Site name.

datasites[]url
string

The site's address.

datasites[]kind
stringnullable

`main_site` or `meta_site` (the site's own discussion site).

one of: main_site, meta_site, null

datasites[]state
stringnullable

`normal`, `open_beta`, `closed_beta` or `linked_meta`.

datasites[]audience
stringnullable

Who the site is for.

Other addresses of the site.

datasites[]aliases[]
stringoptional

Sites tied to this one.

datasites[]relatedSites[]relation
stringnullable

How it relates: `meta`, `parent`, `chat` or `other`.

datasites[]relatedSites[]name
stringnullable

Name of the related site.

datasites[]relatedSites[]apiName
stringnullable

Its API name, when it is one of the sites in this list.

datasites[]relatedSites[]url
stringnullable

Its address.

datasites[]launchedAt
stringnullable

When the site launched, ISO 8601 UTC.

datasites[]openBetaAt
stringnullable

When the open beta started, ISO 8601 UTC.

datasites[]closedBetaAt
stringnullable

When the closed beta started, ISO 8601 UTC.

Extra Markdown the site renders, e.g. `Prettify` or `MathJax`.

datasites[]markdownExtensions[]
stringoptional

Pagination state for the current page.

datapagehasMore
boolean

Whether another page is available.

datapagenextCursor
stringnullable

Cursor for the next page; null on the last page.

datalimitReached
boolean

True when the list stopped at the site's 25-page ceiling (2,500 rows, or 625 when the page carries text), or when a user's answer or comment list is too large for page-offset paging and has served its first 100 rows (25 when it carries text). Sort by `creation` to page deeper. False for every list that ends because it ran out.

Metadata describing the request and billing outcome.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

Public API version that served the response.

one of: v1

Code example

curl "https://api.socialfetch.dev/v1/stack-overflow/sites" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Site listing.