GraphQL Endpoint
All GraphQL queries are sent to a single endpoint:Authentication
Authenticate by passing your API Key in theX-API-KEY header. This is the same API Key used for the REST Data API — no separate credentials needed.
Get your API Key from ChainStream Dashboard → Applications → Create New App. The key starts with
cs_live_....Required Headers
Request Format
A GraphQL request body is a JSON object with two fields:POST Example
- cURL
- cURL (query file)
- JavaScript (fetch)
- Python (requests)
GET Example
Supported Networks
Wrap Cube queries in the appropriate Chain Group to select the network:Response Format
All responses are JSON with the following structure:The
extensions.credits field is included when credits are consumed. See Billing & Credits for details on how credits are calculated.Error Response
When a query is malformed or fails, the response includes anerrors array:
Next Steps
Run Your First Query
Follow the step-by-step tutorial to run a real query from the IDE or cURL.
Explore the Schema
Dive into the 25 Cubes, field types, filtering operators, and aggregation functions.

