How To Access Cosmos API

Learn how to access Cosmos API.

Step 1: To access the available Cosmos methods, use the native access endpoint with tendermint-rpc at the end:

  • Network: Cosmos Mainnet
  • Request Type: GET
https://svc.blockdaemon.com/cosmos/mainnet/native/tendermint-rpc

Step 2. You should authorize your request. Learn more: Authentication Guide

Step 3. Specify a Cosmos method at the end of the query:

https://svc.blockdaemon.com/cosmos/mainnet/native/tendermint-rpc/YOUR_METHOD

Example Request

Here is a cURL example for using node_info to get the properties of the connected node in Cosmos Mainnet:

curl -X GET\
https://svc.blockdaemon.com/cosmos/mainnet/native/tendermint-rpc/node_info \
-H 'Authorization: Bearer YOUR_API_KEY' \

The following is a typical response you will get:

{
    "jsonrpc": "2.0",
    "id": "2023",
    "result": {}
}