Complete Aptos API guide for developers. Learn to use Aptos RPC, query transactions, and interact with Move modules.">
Developer documentation for Aptos blockchain API. Move resources and account transactions.
Aptos is a Layer 1 blockchain built with Move, focusing on safety and scalability. Features account-centric model and Block-STM parallel execution.
https://aptos-mainnet.nodereal.io/v1https://aptos-testnet.nodereal.io/v1https://aptos-devnet.nodereal.io/v1
import requests
url = "https://aptos-mainnet.nodereal.io/v1/accounts/0x..."
response = requests.get(url)
account = response.json()
# Get all coin balances
coins_url = f"{url}/coins"
coins = requests.get(coins_url).json()
print(coins)
import requests
url = "https://aptos-mainnet.nodereal.io/v1/accounts/0x.../transactions"
params = {"limit": 10}
response = requests.get(url, params=params)
txs = response.json()
for tx in txs:
print(tx["version"], tx["timestamp"])
import requests
url = "https://aptos-mainnet.nodereal.io/v1/accounts/0x.../resources"
response = requests.get(url)
resources = response.json()
# Find NFT collections
nfts = [r for r in resources if "token" in r.get("type", "").lower()]
print(nfts)