Send Your First API Request
This tutorial will help you send your first API request using Blockdaemon. We’ll walk you through how to:
- Get your API credentials
- Use the access token to make your first request
Step 1: Get Your API Credentials
- Log in to the Blockdaemon Dashboard, or sign up if you don’t have an account.
- In the left sidebar, select the APIs you want to use:
Product | API Key |
---|---|
RPC, API Suite, and DeFi | You can get a free test key. To create live keys, upgrade your plan — learn more here . |
Dedicated Nodes | You’ll need to deploy a node first. Then, you'll get the Auth String & Auth Token to authenticate the request. |
Staking API | API keys are not created automatically when a staking configuration is set up. To create a key:
|
Step 2: Make Your First API Call
In this example, we'll call the Get Protocols Overview endpoint from Blockdaemon’s REST API:
curl --request GET \
--url https://svc.blockdaemon.com/universal/v1/ \
--header 'X-API-Key: YOUR_API_KEY' \
--header 'accept: application/json'
If successful, you’ll see a response like this:
{
"protocols": [
{
"handle": "algorand",
"network": "mainnet"
},
{
"handle": "avalanche",
"network": "mainnet-c"
},
{
"handle": "avalanche",
"network": "testnet-c"
},
{
"handle": "bitcoin",
"network": "mainnet"
},
{
"handle": "bitcoin",
"network": "testnet"
},
{
"handle": "bitcoincash",
"network": "mainnet"
},
{
"handle": "bitcoincash",
"network": "testnet"
},
{
"handle": "dogecoin",
"network": "mainnet"
},
{
"handle": "dogecoin",
"network": "testnet"
},
{
"handle": "ethereum",
"network": "holesky"
},
{
"handle": "ethereum",
"network": "hoodi"
},
{
"handle": "ethereum",
"network": "sepolia"
},
{
"handle": "ethereum",
"network": "mainnet"
},
{
"handle": "litecoin",
"network": "mainnet"
},
{
"handle": "litecoin",
"network": "testnet"
},
{
"handle": "near",
"network": "mainnet"
},
{
"handle": "optimism",
"network": "mainnet"
},
{
"handle": "polkadot",
"network": "mainnet"
},
{
"handle": "polkadot",
"network": "westend"
},
{
"handle": "polygon",
"network": "mainnet"
},
{
"handle": "polygon",
"network": "amoy"
},
{
"handle": "solana",
"network": "mainnet"
},
{
"handle": "solana",
"network": "testnet"
},
{
"handle": "stellar",
"network": "mainnet"
},
{
"handle": "stellar",
"network": "testnet"
},
{
"handle": "tezos",
"network": "mainnet"
},
{
"handle": "xrp",
"network": "mainnet"
}
]
}
Congratulations! 🎉 You just made your first authenticated API call to Blockdaemon.
What’s Next?
- Learn about different authentication methods in our Authentication Guide.
- Browse the API Reference to explore available endpoints — you can even try them live on the page!
Updated 25 days ago