Alchemy Logo

Aptos API FAQ

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.

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.

Take a look at our Aptos API Quickstart guide.

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.

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.

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.

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

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.

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.

If you have any questions or feedback, please contact us at [email protected] or open a ticket in the dashboard.

Was this page helpful?