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

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

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

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\ \
-H 'Authorization: Bearer YOUR_API_KEY' \

The following is a typical response you will get:

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