Skip to main content
GET
Your swap counter

Authorizations

X-Api-Key
string
header
required

API key (programmatic access — recommended)

Send your API key in the X-Api-Key header. Keys start with nxs_ and are created in the dashboard (or via POST /api/keys with a session JWT).

Each key is scoped to one chain and one network (for example CARDANO_MAINNET), fixed at creation time. It cannot query a different network on the same chain, and it cannot query a different chain at all. A mismatched network parameter returns 400 Network Mismatch. Create one key per chain and network under the same account.

This is the credential most integrations should use.

Response

The counter for the authenticated key

Swap counts and ADA volume for the authenticated key over the last 24 hours, 7 days and 30 days.

asOf
string<date-time>
default:""

When the figures were computed. Every window ends here.

last24h
object

Swap counts and ADA volume over one window, bucketed by build time.

last7d
object

Swap counts and ADA volume over one window, bucketed by build time.

last30d
object

Swap counts and ADA volume over one window, bucketed by build time.