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

Avalanche Primary Network Transactions API

Find information about transactions on Avalanche's Primary Network Chains - the P-Chain, the X-Chain, and the C-Chain.

Avalanche Primary Network Transactions API is one of 25 APIs that Avalanche publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Primary Network Transactions. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, and rate-limit docs.

This API exposes 4 operations across 4 paths, and defines 49 schemas. It is described by OpenAPI 3.2.0, at version 1.0.0.

Requests are made against a single base URL, https://data-api.avax.network.

4 operations 4 paths 49 schemas 4 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0.0
Base URL
https://glacier-api.avax.network/v1
Authentication
API Key
Resource Areas
1

Authentication & Security 1

Avalanche Primary Network Transactions API declares 1 security scheme for authenticating requests. An API key is passed in the header as x-glacier-api-key (apiKey). By default, every request must be authenticated, though some operations may also be called without credentials.

  • apiKey — Api keys provide higher access to rate limits. To obtain an api key, sign up for an account at https://build.avax.network/console/utilities/data-api-keys.

Paths & Operations 4

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

Primary Network Transactions 4

Find information about transactions on Avalanche's Primary Network Chains - the P-Chain, the X-Chain, and the C-Chain.

GET
/v1/networks/{network}/blockchains/{blockchainId}/transactions/{txHash}
Get transaction
getTxByHash 3 params → 200400401403404429500502
GET
/v1/networks/{network}/blockchains/{blockchainId}/transactions
List latest transactions
listLatestPrimaryNetworkTransactions 10 params → 200400401403404429500502
GET
/v1/networks/{network}/blockchains/{blockchainId}/transactions:listStaking
List staking transactions
listActivePrimaryNetworkStakingTransactions 9 params → 200400401403404429500502
GET
/v1/networks/{network}/blockchains/{blockchainId}/assets/{assetId}/transactions
List asset transactions
listAssetTransactions 8 params → 200400401403404429500502

Schemas 49

The contract defines 49 schemas that model the data the API accepts and returns. The most detailed are PChainTransaction (28 properties), PChainUtxo (23 properties), EvmGenesisConfigDto (22 properties), Utxo (17 properties). Each schema is shown below with its type and property counts.

BadGateway
object
3 properties 3 required
PrimaryNetworkChainName
string
TransactionVertexDetail
object
3 properties 3 required
XChainLinearTransaction
object
14 properties 11 required
EvmGenesisAllocDto
object
3 properties
BlsCredentials
object
2 properties 2 required
UtxoCredential
object
2 properties
EVMInput
object
3 properties 3 required
XChainId
string
PrimaryNetworkAssetType
string
Type of asset like SECP256K1 or NFT.
Unauthorized
object
3 properties 3 required
ServiceUnavailable
object
3 properties 3 required
EvmGenesisFeeConfigDto
object
8 properties
PChainId
string
ListXChainTransactionsResponse
object
3 properties 2 required
PrimaryNetworkAssetCap
string
Cap represents if an asset is a variable or fixed cap asset.
NotFound
object
3 properties 3 required
CChainExportTransaction
object
12 properties 12 required
EvmGenesisWarpConfigDto
object
3 properties
TooManyRequests
object
3 properties 3 required
SortOrder
string
BlockchainInfo
object
3 properties 2 required
BadRequest
object
3 properties 3 required
XChainAssetDetails
object
7 properties 7 required
Utxo
object
17 properties 11 required
EVMOutput
object
2 properties 2 required
SubnetOwnershipInfo
object
3 properties 3 required
XChainTransactionType
string
Type of transaction.
L1ValidatorDetailsTransaction
object
8 properties 6 required
EvmGenesisAllowListConfigDto
object
4 properties
Forbidden
object
3 properties 3 required
L1ValidatorManagerDetails
object
2 properties 2 required
Network
string
EvmGenesisDto
object
17 properties
PrimaryNetworkTxType
string
ListCChainAtomicTransactionsResponse
object
3 properties 2 required
PChainTransaction
object
28 properties 11 required
AssetAmount
object
6 properties 6 required
CChainImportTransaction
object
12 properties 12 required
BlockchainId
string
UtxoType
string
Indicates whether the UTXO is staked or transferable
RewardType
string
PrimaryNetworkChainInfo
object
2 properties 2 required
ListPChainTransactionsResponse
object
3 properties 2 required
XChainNonLinearTransaction
object
13 properties 10 required
EvmGenesisConfigDto
object
22 properties
PChainUtxo
object
23 properties 12 required
InternalServerError
object
3 properties 3 required
PChainTransactionType
string

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

avalanche-primary-network-transactions-api-openapi.yml Raw ↑

Other APIs Avalanche publishes across the network.

Avalanche Metrics API
Avalanche RPC API
Avalanche Webhooks API
Avalanche AVAX Supply API
Avalanche Data API Usage Metrics API
Avalanche EVM Balances API
Avalanche EVM Blocks API
Avalanche EVM Chains API
Avalanche EVM Contracts API
Avalanche EVM Transactions API
Avalanche Health Check API
Avalanche Interchain Messaging API
Where this information came from

This is an independent, third-party profile of Avalanche Primary Network Transactions 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.