Get latest epoch information
Retrieves information about the latest (current) epoch. Includes epoch number, time boundaries, block/transaction counts, stake information, and rewards. Data is cached for 5 minutes.
Authorizations
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.
Query Parameters
CARDANO_MAINNET, CARDANO_PREPROD, CARDANO_PREVIEW, APEX_PRIME_MAINNET, APEX_VECTOR_MAINNET, APEX_VECTOR_TESTNET, MIDNIGHT_MAINNET, MIDNIGHT_PREPROD, MIDNIGHT_PREVIEW, BITCOIN_MAINNET, BITCOIN_TESTNET4 Response
Successfully retrieved latest epoch information
Epoch information including statistics and metrics
Epoch number
500
Epoch start time (Unix timestamp)
1697500800
Epoch end time (Unix timestamp)
1697932800
First block time in epoch (Unix timestamp)
1697500805
Last block time in epoch (Unix timestamp)
1697932795
Number of blocks in epoch
21600
Number of transactions in epoch
150000
Total output amount in lovelaces
"25000000000000"
Total fees in lovelaces
"180000000"
Active stake in lovelaces
"24000000000000000"