Skip to main content

api-access

Repository
API Access

Docs about EF devops team operated mainnet (or 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 the mainnet nodes contact Barnabas directly or the ethpandaops team. Authentication tokens have to be passed as a header. The current available URLs are as follows:

Execution Layer Clients

https://rpc.mainnet.ethpandaops.io

  • Direct the API call to any EL clients in either of the two regions (Europe or North America)

Consensus Layer Clients

https://beacon.mainnet.ethpandaops.io

  • Direct the API call to any CL clients via dugtrio in either of the two regions (Europe or North America)

Region specific API call

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.

Currently available endpoints for consumption:

Mainnet

Consensus layer calls

Execution layer calls

Hoodi/Sepolia

Consensus layer calls

Execution layer calls

Examples

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