Skip to content
🎉 Welcome to the new Aptos Docs! Click here to submit an issue.
1.2.0
OAS 3.0.0

Aptos Node API

Client Libraries
Shell
Ruby
Node.js
PHP
Python
More

Get account

Path Parameters
  • address
    required
    string hex
    Example0x88fbd33f54e1126269769780feb24480428179f552e2313fbe571b72e62a1ca1
Query Parameters
  • ledger_version
    string uint64
    Example32425224034
Responses
  • 200
    application/json
  • 400
    application/json
  • 403
    application/json
  • 404
    application/json
  • 410
    application/json
  • 500
    application/json
  • 503
    application/json
GET/accounts/{address}
Shell cURL
curl --request GET \
  --url https://api.testnet.aptoslabs.com/v1/accounts/0x88fbd33f54e1126269769780feb24480428179f552e2313fbe571b72e62a1ca1
{
  "sequence_number": "32425224034",
  "authentication_key": "0x88fbd33f54e1126269769780feb24480428179f552e2313fbe571b72e62a1ca1 "
}

Get account resources

Path Parameters
  • address
    required
    string hex
    Example0x88fbd33f54e1126269769780feb24480428179f552e2313fbe571b72e62a1ca1
Query Parameters
  • ledger_version
    string uint64
    Example32425224034
  • start
    string
    Example0000000000000000000000000000000000000000000000000000000000000000012f0000000000000000000000000000000000000000000000000000000000000000010d7374616b696e675f70726f7879
  • limit
    integer uint16
Responses
  • 200
    application/json
  • 400
    application/json
  • 403
    application/json
  • 404
    application/json
  • 410
    application/json
  • 500
    application/json
  • 503
    application/json
GET/accounts/{address}/resources
Shell cURL
curl --request GET \
  --url https://api.testnet.aptoslabs.com/v1/accounts/0x88fbd33f54e1126269769780feb24480428179f552e2313fbe571b72e62a1ca1 /resources
[
  {
    "type": "0x1::coin::CoinStore<0x1::aptos_coin::AptosCoin>",
    "data": {
      "authentication_key": "0x0000000000000000000000000000000000000000000000000000000000000001",
      "coin_register_events": {
        "counter": "0",
        "guid": {
          "id": {
            "addr": "0x1",
            "creation_num": "0"
          }
        }
      },
      "self_address": "0x1",
      "sequence_number": "0"
    }
  }
]

Models

ledger_version
Value
Response
.,,uod8B8bou,,. ..,uod8BBBBBBBBBBBBBBBBRPFT?l!i:. ||||||||||||||!?TFPRBBBBBBBBBBBBBBB8m=, |||| '""^^!!||||||||||TFPRBBBVT!:...! |||| '""^^!!|||||?!:.......! |||| ||||.........! |||| ||||.........! |||| ||||.........! |||| ||||.........! |||| ||||.........! |||| ||||.........! ||||, ||||.........` |||||!!-._ ||||.......;. ':!|||||||||!!-._ ||||.....bBBBBWdou,. bBBBBB86foi!|||||||!!-..:|||!..bBBBBBBBBBBBBBBY! ::!?TFPRBBBBBB86foi!||||||||!!bBBBBBBBBBBBBBBY..! :::::::::!?TFPRBBBBBB86ftiaabBBBBBBBBBBBBBBY....! :::;`"^!:;::::::!?TFPRBBBBBBBBBBBBBBBBBBBY......! ;::::::...''^::::::::::!?TFPRBBBBBBBBBBY........! .ob86foi;::::::::::::::::::::::::!?TFPRBY..........` .b888888888886foi;:::::::::::::::::::::::..........` .b888888888888888888886foi;::::::::::::::::...........b888888888888888888888888888886foi;:::::::::......`!Tf998888888888888888888888888888888886foi;:::....` '"^!|Tf9988888888888888888888888888888888!::..` '"^!|Tf998888888888888888888888889!! '` '"^!|Tf9988888888888888888!!` iBBbo. '"^!|Tf998888888889!` WBBBBbo. '"^!|Tf9989!` YBBBP^' '"^!` `
    Last updated on
    APIsFullnode REST API Guide