{"openapi":"3.1.0","info":{"title":"Aptos View API","version":"1.0.0","description":"Execute read-only Move view functions on Aptos, live, via the official public Aptos fullnode REST API — no key. This is Aptos's equivalent of an eth_call: run any #[view] function against the current chain state and get its return value, without a transaction, gas or a signer. Call a function by its fully-qualified name (like 0x1::coin::balance) with type and value arguments, or use the convenience endpoints for any account's coin balance and a coin's total supply. Read any on-chain state a contract exposes — balances, configuration, prices, registry lookups, DeFi pool reserves — straight from the source. The on-chain read layer every Aptos wallet, dashboard, trading bot and indexer needs. Live from the chain; short cache only.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/aptosview-api","description":"oanor gateway"}],"tags":[{"name":"View"},{"name":"Meta"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/balance":{"get":{"operationId":"get_v1_balance","tags":["View"],"summary":"Coin balance of an address","description":"","parameters":[{"name":"address","in":"query","required":true,"description":"Aptos account address","schema":{"type":"string"},"example":"0x1"},{"name":"coin","in":"query","required":false,"description":"Coin type (defaults to APT)","schema":{"type":"string"},"example":"0x1::aptos_coin::AptosCoin"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"coin":"0x1::aptos_coin::AptosCoin","note":"Coin balance from 0x1::coin::balance. balance is the raw integer (octas for APT); balance_apt is provided for APT (8 decimals).","source":"Aptos fullnode REST /view","address":"0x1","balance":"11120868784","balance_apt":111.20868784},"meta":{"timestamp":"2026-06-14T08:04:05.641Z","request_id":"415a5ee1-e072-426c-8044-b85cfcf7597e"},"status":"ok","message":"Balance retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/supply":{"get":{"operationId":"get_v1_supply","tags":["View"],"summary":"Total supply of a coin","description":"","parameters":[{"name":"coin","in":"query","required":false,"description":"Coin type (defaults to APT)","schema":{"type":"string"},"example":"0x1::aptos_coin::AptosCoin"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"coin":"0x1::aptos_coin::AptosCoin","note":"Total supply from 0x1::coin::supply (an Option — null when the coin tracks no aggregated supply). Raw integer.","source":"Aptos fullnode REST /view","supply":"120417204337589432"},"meta":{"timestamp":"2026-06-14T08:04:05.765Z","request_id":"c6b112b8-10f6-4bdc-aa28-fcb3b2cc0a10"},"status":"ok","message":"Supply retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/view":{"get":{"operationId":"get_v1_view","tags":["View"],"summary":"Call any Move view function (read-only, like eth_call)","description":"","parameters":[{"name":"function","in":"query","required":true,"description":"Fully-qualified function (0x1::coin::balance)","schema":{"type":"string"},"example":"0x1::chain_id::get"},{"name":"type_arguments","in":"query","required":false,"description":"Comma-separated Move type arguments","schema":{"type":"string"}},{"name":"arguments","in":"query","required":false,"description":"Comma-separated value arguments (passed as strings)","schema":{"type":"string"}}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"note":"Return value(s) of the Move #[view] function, executed read-only against current chain state (no transaction). Numeric arguments are passed as strings, as the Aptos API expects.","result":[1],"source":"Aptos fullnode REST /view","function":"0x1::chain_id::get","arguments":[],"type_arguments":[]},"meta":{"timestamp":"2026-06-14T08:04:05.884Z","request_id":"4ad462d8-b8ab-4025-b46b-e36da52b7546"},"status":"ok","message":"View call executed successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/meta":{"get":{"operationId":"get_v1_meta","tags":["Meta"],"summary":"Service metadata & live sample","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"sample":{"chain_id":1},"source":"Aptos fullnode REST API (POST /view), keyless","service":"aptosview-api","endpoints":{"GET /v1/meta":"This document.","GET /v1/view":"Call any Move view function (function=0x1::coin::balance, type_arguments, arguments).","GET /v1/supply":"Total supply of a coin (coin — defaults to APT).","GET /v1/balance":"Coin balance of an address (address, coin — defaults to APT)."},"description":"Execute read-only Move view functions on Aptos, live via the public fullnode REST API — Aptos's equivalent of eth_call. Run any #[view] function with type and value arguments and get its return value, or use the convenience endpoints for a coin balance and total supply. The on-chain read layer for Aptos wallets, dashboards and bots. Live, short cache only.","upstream_status":"ok"},"meta":{"timestamp":"2026-06-14T08:04:05.975Z","request_id":"6825e667-1720-4ea6-b6af-af1df34feed5"},"status":"ok","message":"Meta","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":5900,"rps_limit":3,"hard_limit":true},{"slug":"starter","name":"Starter","price_cents_month":1080,"monthly_call_quota":117000,"rps_limit":8,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":3650,"monthly_call_quota":730000,"rps_limit":20,"hard_limit":true},{"slug":"business","name":"Business","price_cents_month":10400,"monthly_call_quota":4650000,"rps_limit":50,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/aptosview-api"}