Learn how to access Tezos API.
Step 1: To access Tezos, use the following native access endpoint:
- Network: Tezos Mainnet
- Request Type: GET / POST
https://svc.blockdaemon.com/tezos/mainnet/native
Step 2: You should authorize your request. Learn more: Authentication Guide
Step 3: Specify a Tezos method at the end of the query:
https://svc.blockdaemon.com/tezos/mainnet/native/YOUR_METHOD
Step 4: For POST requests, specify the data required by the method in the request body.
Example Request
Here is a cURL example for using /network/stat to get the network statistics for Tezos Mainnet:
curl -X GET \
https://svc.blockdaemon.com/tezos/mainnet/native/network/stat \
-H 'Authorization: Bearer YOUR_API_KEY'
The following is a typical response you will get:
{
"total_sent": "362092994390",
"total_recv": "472560797348",
"current_inflow": 342122,
"current_outflow": 211765
}
👋 Need Help?
Contact us through email or our support page for any issues, bugs, or assistance you may need.