Links
Comment on page

Beacon HTTP API

The https://data.spiceai.io/eth/beacon API is compatible with the read-only GET requests from the Beacon Node API specification.

Authentication

All requests should specify the Spice API Key by adding a header with X-API-KEY or appending ?api_key=[apikey] to the URL suffix.
Header API Key Example
Query API Key Example
curl https://data.spiceai.io/eth/beacon/eth/v1/beacon/genesis \
--header 'X-API-Key: [api-key]'
curl https://data.spiceai.io/eth/beacon/eth/v1/beacon/genesis?api_key=[api_key]

Beacon APIs

get
https://data.spiceai.io/eth/beacon
/eth/v1/beacon/genesis
Retrieve details of the chain's genesis.
get
https://data.spiceai.io/eth/beacon
/eth/v1/beacon/states/{state_id}/root
Get state SSZ HashTreeRoot
get
https://data.spiceai.io/eth/beacon
/eth/v1/beacon/states/{state_id}/fork
Get Fork object for requested state
get
https://data.spiceai.io/eth/beacon
/eth/v1/beacon/states/{state_id}/finality_checkpoints
Get state finality checkpoints
get
https://data.spiceai.io/eth/beacon
/eth/v1/beacon/states/{state_id}/validators
Get validators from state
get
https://data.spiceai.io/eth/beacon
/eth/v1/beacon/states/{state_id}/validators/{validator_id}
Get validator from state by id
get
https://data.spiceai.io/eth/beacon
/eth/v1/beacon/states/{state_id}/validator_balances
Get validator balances from state
get
https://data.spiceai.io/eth/beacon
/eth/v1/beacon/states/{state_id}/committees
Get all committees for a state.
get
https://data.spiceai.io/eth/beacon
/eth/v1/beacon/states/{state_id}/sync_committees
Get sync committees for a state.
get
https://data.spiceai.io/eth/beacon
/eth/v1/beacon/headers
Get block headers
get
https://data.spiceai.io/eth/beacon
/eth/v1/beacon/headers/{block_id}
Get block header
get
https://data.spiceai.io/eth/beacon
/eth/v2/beacon/blocks/{block_id}
Get block
get
https://data.spiceai.io/eth/beacon
/eth/v1/beacon/blocks/{block_id}/root
Get block root
get
https://data.spiceai.io/eth/beacon
/eth/v1/beacon/blocks/{block_id}/attestations
Get block attestations
get
https://data.spiceai.io/eth/beacon
/eth/v1/beacon/pool/attestations
Get Attestations from operations pool
get
https://data.spiceai.io/eth/beacon
/eth/v1/beacon/pool/attester_slashings
Get AttesterSlashings from operations pool
get
https://data.spiceai.io/eth/beacon
/eth/v1/beacon/pool/proposer_slashings
Get ProposerSlashings from operations pool
get
https://data.spiceai.io/eth/beacon
/eth/v1/beacon/pool/voluntary_exits
Get SignedVoluntaryExit from operations pool
Last modified 1mo ago