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 Blocks API

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

Avalanche Primary Network Blocks 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 Blocks. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, and rate-limit docs.

This API exposes 3 operations across 3 paths, and defines 16 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.

3 operations 3 paths 16 schemas 3 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 Blocks 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 3

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

Primary Network Blocks 3

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

GET
/v1/networks/{network}/blockchains/{blockchainId}/blocks/{blockId}
Get block
getBlockById 3 params → 200400401403404429500502
GET
/v1/networks/{network}/blockchains/{blockchainId}/nodes/{nodeId}/blocks
List blocks proposed by node
listPrimaryNetworkBlocksByNodeId 7 params → 200400401403404429500502
GET
/v1/networks/{network}/blockchains/{blockchainId}/blocks
List latest blocks
listLatestPrimaryNetworkBlocks 6 params → 200400401403404429500502

Schemas 16

The contract defines 16 schemas that model the data the API accepts and returns. The most detailed are PrimaryNetworkBlock (12 properties), GetPrimaryNetworkBlockResponse (12 properties), ProposerDetails (5 properties), Forbidden (3 properties). Each schema is shown below with its type and property counts.

Unauthorized
object
3 properties 3 required
ServiceUnavailable
object
3 properties 3 required
BadGateway
object
3 properties 3 required
BlockchainId
string
BadRequest
object
3 properties 3 required
PrimaryNetworkChainName
string
NotFound
object
3 properties 3 required
PrimaryNetworkBlock
object
12 properties 8 required
PrimaryNetworkChainInfo
object
2 properties 2 required
ProposerDetails
object
5 properties
Forbidden
object
3 properties 3 required
Network
string
GetPrimaryNetworkBlockResponse
object
12 properties 8 required
InternalServerError
object
3 properties 3 required
ListPrimaryNetworkBlocksResponse
object
3 properties 2 required
TooManyRequests
object
3 properties 3 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

avalanche-primary-network-blocks-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 Blocks 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.