Cosmos RPC
What is Cosmos?
Cosmos is a decentralized network of interoperable blockchains, often called the “Internet of Blockchains.” Built with the Cosmos SDK, it lets developers create scalable, application-specific chains while the Inter-Blockchain Communication (IBC) protocol enables secure asset and data transfers across them. This design allows each blockchain to remain sovereign yet connected, fostering a more efficient and collaborative ecosystem.
Interacting With Cosmos APIs
Cosmos nodes expose gRPC and REST interfaces that allow developers to interact with the blockchain programmatically. This means you can query balances, transactions, and state; broadcast transactions; access staking, governance, and distribution data; and monitor validators, network status, and other chain activity.
You can connect by running your own Cosmos node with gRPC/REST enabled, or by using a hosted provider such as Quicknode, which offers reliable, low-latency access without the need to manage infrastructure.
However, because Cosmos chains are modular, some endpoints or behaviors may differ depending on the network. The Quicknode Cosmos documentation is continuously updated, but we recommend cross-referencing with the official Cosmos SDK documentation for the latest API details.
Make Cosmos API Calls
The quickest way to start building on Cosmos is to create a Quicknode endpoint and send your first request.
Quicknode provides managed Cosmos endpoints, offering:
- High reliability — globally distributed infrastructure designed to minimize downtime
- Archive data — full historical state for in-depth queries
- Enhanced performance — optimized latency and request handling for production-grade apps
QuickStart 페이지를 방문하여 엔드포인트를 생성하고 첫 번째 요청을 보내보세요.
지원되는 네트워크
Quicknode provides access to multiple Cosmos networks.
Quicknode's Cosmos endpoints now provide archive data access starting from block height 5200791, which corresponds to the beginning of the Cosmoshub-4 chain. Please note that data from previous chain versions (Cosmoshub-1, Cosmoshub-2, and Cosmoshub-3) is not available.
To query historical data, use the x-cosmos-block-height header with REST API requests or specify the height parameter with Tendermint API requests:
Cosmos REST API Example:
curl --location 'https://docs-demo.cosmos-mainnet.quiknode.pro/cosmos/bank/v1beta1/balances/cosmos1t6rlgf80jd8tanpnnvmmxfqdcm9cn7wctrs7hk' \
--header 'x-cosmos-block-height: 5200791'
Tendermint API Example:
curl --location 'https://docs-demo.cosmos-mainnet.quiknode.pro/block?height=5200791'
Complete reference for developers building on Cosmos with Quicknode:
빠른 시작
Get started with Cosmos quickly. Follow our step-by-step quickstart to set up your endpoint and make your first API request.
공급자 엔드포인트
Learn how to configure and manage your Cosmos endpoints for optimal performance and reliability.
API 개요
강력한 애플리케이션을 구축하는 데 필요한 지원되는 API, 네트워크, Quicknode 제품 및 향상된 API 기능을 살펴보세요.
마켓플레이스
Quicknode 마켓플레이스에서 강력한 애드온과 도구를 찾아 통합하여 웹3 애플리케이션을 강화해 보세요.
엔드포인트 보안
인증, 화이트리스트 적용 및 모범 보안 관행을 통해 엔드포인트를 보호하십시오.
오류 코드
Understand common error codes and troubleshooting steps for Cosmos API requests.