{ "opencollection": "1.0.0", "info": { "name": "Polkadot REST Account API", "version": "0.1.3" }, "items": [ { "info": { "name": "Account", "type": "folder" }, "items": [ { "info": { "name": "List account asset-change history", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:8080/v1/api/scan/account/assets_changed" }, "docs": "Returns paginated change history for account asset balances. This endpoint currently supports assets and foreign-assets style tokens." }, { "info": { "name": "Get account balance history", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:8080/v1/api/scan/account/balance_history" }, "docs": "Returns historical balance snapshots for an account and token. Polkadot, Kusama, and Westend support block-level history, while other supported networks return daily snapshots." }, { "info": { "name": "List token balances for an account", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:8080/v1/api/scan/account/tokens" }, "docs": "Returns token holdings for one account, including the native token, built-in assets, and supported EVM tokens such as ERC-20 and ERC-721." }, { "info": { "name": "List account merkle records", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:8080/v1/api/scan/accounts/merkle" }, "docs": "Returns the account merkle list with optional tag and balance filters. This endpoint is available only on Polkadot and Asset Hub Polkadot." }, { "info": { "name": "Get account statistics", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:8080/v1/api/scan/accounts/statistics" }, "docs": "Returns aggregated account statistics, including either asset-distribution counts or account-role counts depending on the requested type." }, { "info": { "name": "Search accounts by identity display name", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:8080/v1/api/scan/search/identity" }, "docs": "Performs a fuzzy search on account identity display names and returns matching identities with any related sub-accounts." }, { "info": { "name": "List token holders", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:8080/v1/api/scan/token/holders" }, "docs": "Returns a paginated holder list for the selected token or unique ID, with optional balance filters and ordering." }, { "info": { "name": "List token balances for an account (v2)", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:8080/v1/api/v2/scan/account/tokens" }, "docs": "Returns paginated token holdings for one account address, including the native token, built-in assets, and EVM tokens such as ERC-20 and ERC-721 when available on the current network. Use token_type to narrow the token source or class, order_field and order to sort by token, balance, price, or supply, and page/row for pagination (max row 100). This is the primary endpoint for wallet token balances, account asset holdings, and token portfolio lookups." }, { "info": { "name": "List accounts", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:8080/v1/api/v2/scan/accounts" }, "docs": "Returns a paginated account list with optional balance filters, role filters, explicit address selection, and ordering." }, { "info": { "name": "[PRO] List accounts by net assets", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:8080/v1/api/v2/scan/accounts/net_assets" }, "docs": "**PRO API**: Requires a [Pro plan](http://pro.subscan.io/) Returns a paginated account-level net-asset leaderboard. Native-only networks read directly from chain_accounts; other networks use pre-aggregated priced fungible-token snapshots." }, { "info": { "name": "Get account information by address or account index", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:8080/v1/api/v2/scan/search" }, "docs": "Resolves one account from a Substrate address, EVM address, or SS58 account index and returns normalized account details. If the account is not cached, the service may query on-chain balance data to create or refresh the account before responding. Use this endpoint for account lookup, wallet profile lookup, or resolving an address before calling balance- or token-related APIs." }, { "info": { "name": "List transfers", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:8080/v1/api/v2/scan/transfers" }, "docs": "Returns paginated transfer records with account, token, amount, and block-range filters." } ] } ], "bundled": true }