Aptos API FAQ
💡 Available only with Blast access
What is Aptos?
Aptos is a Layer 1 blockchain built for scalability, safety, and upgradeability. It uses the Move programming language and the AptosBFT consensus protocol to enable high-throughput and low-latency transactions while maintaining strong security guarantees.
What is the Aptos API?
The Aptos API allows developers to interact with the Aptos blockchain via a set of RESTful endpoints. It enables actions such as querying accounts and transactions, submitting new transactions, interacting with smart contracts, and accessing on-chain resources.
How can I get access to the Aptos API?
This chain is available only with Blast access.
How can I get started using the Aptos API?
Take a look at our Aptos API Quickstart guide.
Does Aptos support smart contracts?
Yes. Aptos supports smart contracts written in Move, a secure and expressive programming language developed specifically for the blockchain. You can deploy, call, and interact with smart contracts via the API.
What API standard does Aptos use?
The Aptos API follows REST principles and communicates via standard HTTP requests and JSON responses. Endpoints are organized by functionality — accounts, blocks, transactions, events, etc.
What is an Aptos API key?
If you’re using a blockchain infrastructure provider like Alchemy, an API key allows you to send authenticated requests to the Aptos network. This lets you read data from the chain and submit transactions securely.
Which libraries can I use with the Aptos API?
You can use any HTTP client that supports standard REST calls. Popular choices include:
- JavaScript:
axios
,fetch
- Python:
requests
- Curl (for CLI or scripting)
- Community SDKs like
aptos-sdk
,aptos-client
for Python and TypeScript
What programming languages are compatible with the API?
The API works with any language that supports HTTP — such as JavaScript/TypeScript, Python, Go, Rust, and Java. You can integrate it into backend services, CLI tools, and dApps.
What is used for fees in Aptos?
Aptos uses its native token, APT, to pay transaction fees. The API provides endpoints to estimate gas usage and fee costs before submitting a transaction.
What methods does Alchemy support for the Aptos API?
You can find the complete list of supported endpoints on the Aptos API Endpoints page.
My question isn’t listed here — where can I get help?
Join the Alchemy Discord to ask questions, get support, and chat with the developer community and the Alchemy team.