API Access
This documentation covers the ethPandaOps Team operated mainnet and testnet nodes API access.
API Access for Mainnet Nodes
Authentication to access the node's API is required. If you don't yet have an API key and you would like to make a query to the mainnet nodes, contact the ethPandaOps Team. Authentication tokens have to be passed as a header. The current available URLs are as follows:
Execution Layer Clients
Direct the API call to any EL clients (besu, erigon, geth or nethermind) https://rpc.mainnet.ethpandaops.io
Consensus Layer Clients
Direct the API call to any CL clients (lighthouse, lodestar, nimbus, prysm or teku) https://beacon.mainnet.ethpandaops.io
Region Specific Calls
We currently operate in 2 regions, Europe (Berlin) and North America (Boulder).
If you would like to target speicifc regions, you can do this by using the na1
or eu1
prefix.
Example:
NOTE If you do not specify the region, it will be targetting the
eu1
servers.
Available Endpoints
Mainnet
Consensus layer calls
- https://teku.mainnet.ethpandaops.io (Teku-Geth, Teku-Nethermind)
- https://prysm.mainnet.ethpandaops.io (Prysm-Geth, Prysm-Nethermind)
- https://nimbus.mainnet.ethpandaops.io (Nimbus-Geth, Nimbus-Besu)
- https://lighthouse.mainnet.ethpandaops.io (Lighthouse-Erigon, Lighthouse-Geth, Lighthouse-Nethermind)
- https://lodestar.mainnet.ethpandaops.io (Lodestar-Geth, Lodestar-Besu)
Execution layer calls
- https://archive.mainnet.ethpandaops.io (Erigon-Lighthouse)
- https://geth.mainnet.ethpandaops.io (Geth-Teku, Geth-Prysm, Geth-Nimbus, Geth-Lighthouse, Geth-Lodestar)
- https://besu.mainnet.ethpandaops.io (Besu-Nimbus, Besu-Lodetar)
- https://nethermind.mainnet.ethpandaops.io (Nethermind-Lighthouse, Nethermind-Prysm, Nethermind-Teku)
- https://erigon.mainnet.ethpandaops.io (Erigon-Lighthouse)
Note: We also support testnet RPCs and can provide URLs on request.
Examples
- Directs the API call to any geth-CL node (note CL will be round robin selected) - execution layer API endpoint, aimed at geth endpoint: https://geth.mainnet.ethpandaops.io
- Directs an API call to lighthouse-EL node (note EL will be round robin selected) - beacon API specific call aimed at lighthouse endpoint: https://lighthouse.mainnet.ethpandaops.io
- Directs an API call to geth-lighthouse node - execution layer API endpoint, aimed at geth endpoint: https://geth-lighthouse.mainnet.ethpandaops.io
- Directs an API call to lighthouse-geth node - beacon API specific call aimed at lighthouse endpoint: https://lighthouse-geth.mainnet.ethpandaops.io
EL Call
curl \
--data '{"method":"web3_clientVersion","params":[],"id":1,"jsonrpc":"2.0"}' \
-H "CF-Access-Client-Id: $client_id" \
-H "CF-Access-Client-Secret: $client_secret" \
-H "Content-Type: application/json" \
-X POST https://geth-lighthouse.$network.ethpandaops.io
CL Call
curl \
-H "CF-Access-Client-Id: $client_id" \
-H "CF-Access-Client-Secret: $client_secret" \
https://lighthouse.mainnet.ethpandaops.io/eth/v1/node/version