Aptos APIs
The Aptos Blockchain network can be accessed by several APIs, depending on your use-case.
Aptos Fullnode
This API - embedded into Fullnodes - provides a simple, low latency, yet low-level way of reading state and submitting transactions to the Aptos Blockchain. It also supports transaction simulation.
Aptos Fullnode REST API (Mainnet) β
Mainnet API playground for Aptos Fullnode REST APIAptos Fullnode REST API (Testnet) β
Testnet API playground for Aptos Fullnode REST APIAptos Fullnode REST API (Devnet) β
Devnet API playground for Aptos Fullnode REST APIIndexer
Indexer GraphQL API β
This GraphQL API offers a high-level, opinionated GraphQL interface to read state from the Aptos Blockchain. Itβs ideal for interacting with NFTs, Aptos Objects, or custom Move contracts. Learn more about the Indexer-powered GraphQL API here.
Transaction Stream API β
This GRPC API streams historical and real-time transaction data to an indexing processor. Itβs used by Aptos Core Indexing and can also support custom app-specific indexing processors for real-time blockchain data processing. Learn more here.
Faucet (Only Testnet/Devnet)
Faucet API β
This API provides the ability to receive test tokens on devnet. Its primary purpose is the development and testing of applications and Move contracts before deploying them to mainnet. On testnet you can mint at the mint page.
The code of each of the above-mentioned APIs is open-sourced on GitHub. As such anyone can operate these APIs and many independent operators and builders worldwide choose to do so.
Aptos Labs operated API Deployments
Aptos Labs operates a deployment of these APIs on behalf of Aptos Foundation for each Aptos Network and makes them available for public consumption.
At the moment there are 2 sets of Aptos Labs API deployments: