Skip to main content
The client libraries (TypeScript, Python, Rust) wrap this API: typed queries, pagination, retries, and Arrow decoded into JSON rows.

Base URLs

Each chain has a base URL. Every endpoint below is relative to it.

Endpoints

Authentication

Send your API key in the Authorization header:
x-api-key and X-BL-Api-Key headers are accepted too. Keys are created in the dashboard; see API keys.

Requests

  • Request bodies are JSON (content-type: application/json), up to 8 MiB (about 5.5 MiB for POST /v1/sets).
  • Unknown keys anywhere in a body are rejected with 400, never ignored.
  • Hex values are 0x-prefixed and case-insensitive.
  • HTTP/1.1 and HTTP/2 are supported. Responses are not compressed.
  • The API sends no CORS headers: call it from servers, not browsers.

Responses

  • POST /query: application/vnd.apache.arrow.stream. See Reading Arrow.
  • Everything else: application/json.
  • Errors: a non-200 status and {"error": {"code": "…", "message": "…"}}. See Errors.

Headers on every response