Skip to content

Quickstart

Terminal window
curl "https://api.blackrelay.network/v1/health"

Windows:

Terminal window
Invoke-RestMethod "https://api.blackrelay.network/v1/health"

Expected shape:

{
"data": {
"status": "ok",
"time": "2026-06-28T00:00:00.000Z"
},
"meta": {
"registry": "blackrelay-api",
"apiVersion": "v1"
}
}

Request the API root to get the current route list advertised by the Worker:

Terminal window
curl "https://api.blackrelay.network/v1"

Windows:

Terminal window
Invoke-RestMethod "https://api.blackrelay.network/v1"

Search all indexed entities in the default environment and current cycle scope:

Terminal window
curl "https://api.blackrelay.network/v1/search?q=gate&limit=10"

Windows:

Terminal window
Invoke-RestMethod "https://api.blackrelay.network/v1/search?q=gate&limit=10"

Typed collection routes return entity records filtered by entity type:

Terminal window
curl "https://api.blackrelay.network/v1/systems?limit=20"

Windows:

Terminal window
Invoke-RestMethod "https://api.blackrelay.network/v1/systems?limit=20"

Current collections use derived current-state rows where available, with entity fallback for supported collections.

Terminal window
curl "https://api.blackrelay.network/v1/current/characters?cycles=current&limit=20"

Windows:

Terminal window
Invoke-RestMethod "https://api.blackrelay.network/v1/current/characters?cycles=current&limit=20"

Given an entity id or slug:

Terminal window
curl "https://api.blackrelay.network/v1/entities/<id-or-slug>/facts"
curl "https://api.blackrelay.network/v1/entities/<id-or-slug>/sources"
curl "https://api.blackrelay.network/v1/entities/<id-or-slug>/history"

Windows:

Terminal window
Invoke-RestMethod "https://api.blackrelay.network/v1/entities/<id-or-slug>/facts"
Invoke-RestMethod "https://api.blackrelay.network/v1/entities/<id-or-slug>/sources"
Invoke-RestMethod "https://api.blackrelay.network/v1/entities/<id-or-slug>/history"

List routes return nextCursor when more rows are available:

{
"data": [],
"meta": {
"registry": "blackrelay-api",
"apiVersion": "v1"
},
"nextCursor": "..."
}

Pass the cursor back unchanged:

Terminal window
curl "https://api.blackrelay.network/v1/entities?cursor=<nextCursor>"

Windows:

Terminal window
Invoke-RestMethod "https://api.blackrelay.network/v1/entities?cursor=<nextCursor>"

Omitted environment defaults to stillness.

Omitted cycle or cycles defaults to the current cycle plus uncycled compatibility rows.

Use cycles=current for the strict current-cycle shortcut, cycles=all for archive rows, or a comma-separated list such as cycles=5,6.