How to Access Monad API

Step 1: To access Monad, use the following native access endpoint:

  • Network: Monad Testnet
  • Request Type: POST
https://svc.blockdaemon.com/monad/testnet/native

Step 2: Authenticate your request using your API key. You can include the API key using either of the following headers:

Authorization: Bearer YOUR_API_KEY
X-API-Key: YOUR_API_KEY

Step 3: In the request body, specify a supported Monad method. For example:

{
    "jsonrpc": "2.0",
    "method": "eth_blockNumber",
    "params": [],
    "id": 0
}

Example Request

Here’s a sample cURL request using the Monad Testnet and the eth_blockNumber method:

curl -X POST \
https://svc.blockdaemon.com/monad/testnet/native \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "eth_blockNumber",
  "params": []
}'

The following is a typical response you will get:

{
  "jsonrpc": "2.0",
  "result": "0x52b7f9", 
  "id": 1
}

👋 Need Help?

Contact us through email or our support page for any issues, bugs, or assistance you may need.