How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Aptos Accounts API

Access to accounts, resources, and modules

Aptos Accounts API is one of 10 APIs that Aptos publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Account. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and authentication docs.

This API exposes 6 operations across 6 paths, and defines 24 schemas. It is described by OpenAPI 3.2.0, at version 1.2.0.

Requests are made against a single base URL, /v1.

6 operations 6 paths 24 schemas 6 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.2.0
Base URL
https://api.mainnet.aptoslabs.com/v1
Contact
License
Resource Areas
1

Paths & Operations 6

Across 6 paths, the API surfaces 6 operations — 6 GET. Each is listed below with its method, path, parameters, and response codes.

Accounts 6

Access to accounts, resources, and modules

GET
/accounts/{address}
Get account
get_account 2 params → 200400403404410500503
GET
/accounts/{address}/resources
Get account resources
get_account_resources 4 params → 200400403404410500503
GET
/accounts/{address}/balance/{asset_type}
Get account balance
get_account_balance 3 params → 200400403404410500503
GET
/accounts/{address}/modules
Get account modules
get_account_modules 4 params → 200400403404410500503
GET
/accounts/{address}/resource/{resource_type}
Get account resource
get_account_resource 3 params → 200400403404410500503
GET
/accounts/{address}/module/{module_name}
Get account module
get_account_module 3 params → 200400403404410500503

Schemas 24

The contract defines 24 schemas that model the data the API accepts and returns. The most detailed are MoveStruct (8 properties), MoveFunction (7 properties), MoveModule (5 properties), AptosError (3 properties). Each schema is shown below with its type and property counts.

Address
string
A hex encoded 32 byte Aptos account address. This is represented in a string as a 64 character hex string, sometimes shortened by stripping leading 0s, and add…
MoveStructValue
object
This is a JSON representation of some data within an account resource. More specifically, it is a map of strings to arbitrary JSON values / objects, where the…
MoveAbility
string
MoveStructField
object
Move struct field
2 properties 2 required
U64
string
A string containing a 64-bit unsigned integer. We represent u64 values as a string to ensure compatibility with languages such as JavaScript that do not parse…
MoveResource
object
A parsed Move resource
2 properties 2 required
MoveModule
object
A Move module
5 properties 5 required
MoveStruct
object
A move struct
8 properties 8 required
AccountData
object
Account data A simplified version of the onchain Account resource
2 properties 2 required
AssetType
string
A hex encoded 32 byte Aptos account address or a struct tag. This is represented in a string as a 64 character hex string, sometimes shortened by stripping lea…
MoveStructGenericTypeParam
object
Move generic type param
1 property 1 required
HexEncodedBytes
string
All bytes (Vec ) data is represented as hex-encoded string prefixed with 0x and fulfilled with two hex digits per byte. Unlike the Address type, HexEncodedByte…
MoveStructVariant
object
A single variant of a Move enum.
2 properties 2 required
MoveFunction
object
Move function
7 properties 7 required
MoveModuleId
string
Move module id is a string representation of Move module. Format: {address}::{module name} address should be hex-encoded 32 byte account address that is prefix…
MoveModuleBytecode
object
Move module bytecode along with it's ABI
2 properties 1 required
MoveStructTag
string
String representation of a MoveStructTag (on-chain Move struct type). This exists so you can specify MoveStructTags as path / query parameters, e.g. for geteve…
MoveType
string
String representation of an on-chain Move type tag that is exposed in transaction payload. Values: - bool - u8 - u16 - u32 - u64 - u128 - u256 - i8 - i16 - i32…
MoveFunctionGenericTypeParam
object
Move function generic type param
1 property 1 required
AptosErrorCode
string
These codes provide more granular error information beyond just the HTTP status code of the response.
MoveFunctionVisibility
string
Move function visibility
IdentifierWrapper
string
AptosError
object
This is the generic struct we use for all API errors, it contains a string message and an Aptos API specific error code.
3 properties 2 required
StateKeyWrapper
string
Representation of a StateKey as a hex string. This is used for cursor based pagination.

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

aptos-accounts-api-openapi.yml Raw ↑

Other APIs Aptos publishes across the network.

Aptos Indexer GraphQL API
Aptos Transaction Stream API
Aptos Faucet API
Aptos Blocks API
Aptos Events API
Aptos General API
Aptos Tables API
Aptos Transactions API
Aptos View API
Where this information came from

This is an independent, third-party profile of Aptos Accounts API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.