Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

NEAR Protocol Legacy / Account API

Deprecated.

NEAR Protocol Legacy / Account API is one of 60 APIs that NEAR Protocol publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Legacy / Account. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and rate-limit docs.

This API exposes 23 operations across 23 paths. It is described by OpenAPI 3.0.3, at version 3.0.3.

Requests are made against 2 base URLs: https://api.fastnear.com, https://test.api.fastnear.com.

23 operations 23 paths 0 schemas 23 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
3.0.3
Base URL
https://rpc.mainnet.near.org
Resource Areas
1

Paths & Operations 23

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

Legacy / Account 23

Deprecated.

GET
/v1/account/{account}
Get account info
1 param → 200
GET
/v1/account/{account}/contract
Get contract info
1 param → 200
GET
/v1/account/{account}/contract/deployments
Get contract deployment records (first & last)
1 param → 200
GET
/v1/account/{account}/contract/parse
Get parsed contract info
1 param → 200
GET
/v1/account/{account}/contract/{method}
Get latest action args for contract method
2 params → 200
GET
/v1/account/{account}/inventory
Get account ft/nft token inventory
1 param → 200
GET
/v1/account/{account}/tokens
Get possible ft/nft token contracts
1 param → 200
GET
/v1/account/{account}/keys
Get access keys by pagination
4 params → 200
GET
/v1/account/{account}/keys/count
Get estimated access keys count
1 param → 200
GET
/v1/account/{account}/txns
Get account txns by pagination (NOT RECOMMENDED)
13 params → 200
GET
/v1/account/{account}/txns/count
Get estimated account txns count
9 params → 200
GET
/v1/account/{account}/txns-only
Get account txns without receipts by pagination
8 params → 200
GET
/v1/account/{account}/txns-only/count
Get estimated account txns without receipts count
5 params → 200
GET
/v1/account/{account}/receipts
Get account receipts by pagination
10 params → 200
GET
/v1/account/{account}/receipts/count
Get estimated account receipts count
7 params → 200
GET
/v1/account/{account}/ft-txns
Get account token txns by pagination
10 params → 200
GET
/v1/account/{account}/ft-txns/count
Get estimated account token txns count
6 params → 200
GET
/v1/account/{account}/nft-txns
Get account nft txns by pagination
9 params → 200
GET
/v1/account/{account}/nft-txns/count
Get estimated account nft txns count
5 params → 200
GET
/v1/account/{account}/stake-txns
Get account stake txns by pagination
9 params → 200
GET
/v1/account/{account}/stake-txns/count
Get estimated account stake txns count
5 params → 200
GET
/v1/account/{account}/activities
Get account balance change activities by pagination
3 params → 200
GET
/v1/account/{account}/activities/count
Get estimated account balance change activities count
1 param → 200

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

near-legacy-account-api-openapi.yml Raw ↑

Other APIs NEAR Protocol publishes across the network.

NEAR Protocol accounts API
NEAR Protocol Block API
NEAR Protocol Block Effects API
NEAR Protocol Broadcast Tx Async API
NEAR Protocol Broadcast Tx Commit API
NEAR Protocol Changes API
NEAR Protocol Chunk API
NEAR Protocol Client Config API
NEAR Protocol EXPERIMENTAL Call Function API
NEAR Protocol EXPERIMENTAL Changes API
NEAR Protocol EXPERIMENTAL Changes In Block API
NEAR Protocol EXPERIMENTAL Congestion Level API