Skip to main content

Fullnode REST API

The fullnode REST API is built into the Aptos fullnode and provides low-level access for state reads, transaction submission, and transaction simulation (Aptos API documentation, Aptos REST API reference). It is the default interface for wallets, backend services, and operational health checks.

OperationREST patternSample
Ledger healthGET /v1chains/aptos/samples/rest/ledger-info.sh
Account readGET /v1/accounts/{address}get-account.sh
ResourcesGET /v1/accounts/{address}/resourcesaccount-resources.sh
Transaction lookupGET /v1/transactions/by_hash/{hash}get-transaction.sh
SimulationPOST /v1/transactions/simulatesimulate.sh
SubmissionPOST /v1/transactionssubmit.sh
APTOS_NODE_URL=https://fullnode.production.aptoslabs.com/v1 \
./chains/aptos/samples/rest/ledger-info.sh
warning

Simulation and submission endpoints accept attacker-controlled payloads. Enforce body-size limits and per-identity rate limits before traffic reaches the node.