List Discord server index
List Discord server ids and slugs from the public directory.
Headers
Get your API keyAPI key (`sfk_...`)
Page number, 1 to 200. Each page returns up to 500 ids and slugs; omit for the first page and pass `page.nextCursor` to continue.
≥ 1 · ≤ 200
Cursor from `page.nextCursor` of the previous response. It only works with the same filters.
min 1 chars · max 1024 chars
Endpoint-specific response payload.
`found` when the index exists; `not_found` when Discord has no index.
one of: found, not_found, restricted
When the directory snapshot was generated, ISO 8601 UTC.
Server ids on this page.
The URL slug of each server, aligned with `ids`; the slug carries the name.
How many server ids the directory snapshot held.
Pagination state for the current page. A list that reorders between requests can repeat rows on numbered pages; follow `page.nextCursor` to continue from the previous page's position.
The page this response is.
Whether another page is available.
Cursor for the next page; null on the last page.
True when the walk stopped at the page cap while the directory still had ids.
Metadata describing the request and billing outcome.
Unique request identifier for tracing this API call.
min 1 chars
Credits charged for this request.
≥ 0
Public API version that served the response.
one of: v1
Code example
curl "https://api.socialfetch.dev/v1/discord/servers/index?page=1" \
-H "x-api-key: YOUR_API_KEY"Responses
A page of server ids.