On-chain RPC · JSON-RPC, Archive
Aptos RPC
Aptos RPC: ledger info, account resources, modules, transactions and Move view reads.
| property | value |
|---|---|
| HTTP JSON-RPC | POST https://openapihub.dev/rpc/aptos |
| WebSocket RPC | HTTP JSON-RPC |
| Canonical / Alias | aptos / aptos |
| Chain ID | 637 |
| Family / Transport | aptos / rest |
| Archive routing | Yes (historical reads route to archive nodes first) |
| JSON-RPC batch | Read-only arrays of 1..20 calls on HTTP POST (max 2 eth_getLogs; empty/>20 refused -32600; write methods refused as a whole -32015) |
| Free key limits | 80 requests per second per key, bursts up to 160, 60 requests in flight. |
First request
curl -sS -X POST "https://openapihub.dev/rpc/aptos" \
-H "X-Hub-Key: $API_HUB_KEY" -H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"/accounts/{address}/resources","params":{"address":"0x1","limit":2}}'
Allowlisted read methods (10)
/, /accounts/{address}, /accounts/{address}/modules, /accounts/{address}/resources, /blocks/by_height/{height}, /blocks/by_version/{version}, /events/{event_key}, /transactions/by_hash/{hash}, /transactions/by_version/{version}, /transactions/{hash}
FAQ
What is the Aptos RPC endpoint URL?
Send JSON-RPC 2.0 POST requests to https://openapihub.dev/rpc/aptos with your key in the X-Hub-Key header.
What are the rate limits for Aptos RPC?
Every free key includes 80 requests per second sustained, bursts up to 160, and 60 concurrent in-flight requests.
Does Aptos support archive reads or WebSocket RPC?
Aptos supports historical archive routing.
More networks: Ethereum · Base · Arbitrum One · Optimism · Polygon PoS · BNB Smart Chain (BSC) · Avalanche C-Chain · Solana · HyperEVM (Hyperliquid) · Linea · zkSync Era · TON · Bitcoin · Sui · Celestia (Cosmos SDK) · TRON · Scroll · NEAR · Gnosis Chain · All 153 chains