Skip to main content
The same data the REST endpoints expose is also available via GraphQL. Use REST for simple, cacheable queries; use GraphQL when you want to fetch a few related resources in one round-trip.

Endpoint

Playground

Open the same URL in a browser to load the GraphQL Playground (interactive query builder, schema browser, query history). Authenticate via the playground’s HTTP-headers panel:

Sample queries

The exact schema is exposed via introspection — these are illustrative. The Playground’s “Docs” sidebar is the source of truth.

Recent swaps for a pool

Candles + recent swaps in one round-trip

Trader stats + recent activity

Schema introspection

Standard GraphQL introspection works. From the command line:

When to use GraphQL vs REST