Accounts — Move REST API
Overview#
Query Move accounts, including basic info, resources, and modules. Movement uses Aptos-compatible endpoints at /v1.
Endpoint#
GET /v1/accounts/{address}
Movement-Specific Notes#
- Use
0x-prefixed addresses. - Move balances are tracked as on-chain resources; query the relevant coin resource for balances.
Request#
Parameters#
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| address | string | path | Yes | Hex account address |
Response#
Success Response (200)#
{
"sequence_number": "string",
"authentication_key": "string",
"address": "0x..."
}
Code Examples#
- cURL
- Python
- TypeScript
curl -X GET https://api-movement-mainnet.n.dwellir.com/YOUR_API_KEY/v1/accounts/0x1 \
-H "Accept: application/json"
from aptos_sdk.client import RestClient
client = RestClient('https://api-movement-mainnet.n.dwellir.com/YOUR_API_KEY/v1')
info = client.account('0x1')
print(info)
import { Aptos, AptosConfig, Network } from '@aptos-labs/ts-sdk';
const config = new AptosConfig({ network: Network.CUSTOM, fullnode: 'https://api-movement-mainnet.n.dwellir.com/YOUR_API_KEY/v1' });
const aptos = new Aptos(config);
const account = await aptos.getAccountInfo({ accountAddress: '0x1' });
console.log(account);