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

Solana Blocks API

Methods for querying blocks, slots, and ledger information

Solana Blocks API is one of 12 APIs that Solana publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

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

This API exposes 10 operations across 10 paths, and defines 10 schemas. It is described by OpenAPI 3.2.0, at version 2.0.

Requests are made against 3 base URLs: https://api.mainnet.solana.com, https://api.devnet.solana.com, https://api.testnet.solana.com.

10 operations 10 paths 10 schemas 10 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2.0
Base URL
https://api.mainnet.solana.com
License
Terms of Service
Resource Areas
1

Paths & Operations 10

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

Blocks 10

Methods for querying blocks, slots, and ledger information

POST
/getBlock
getBlock
getBlock body → 200
POST
/getBlockCommitment
getBlockCommitment
getBlockCommitment body → 200
POST
/getBlockHeight
getBlockHeight
getBlockHeight body → 200
POST
/getBlockProduction
getBlockProduction
getBlockProduction body → 200
POST
/getBlocks
getBlocks
getBlocks body → 200
POST
/getBlocksWithLimit
getBlocksWithLimit
getBlocksWithLimit body → 200
POST
/getBlockTime
getBlockTime
getBlockTime body → 200
POST
/getFirstAvailableBlock
getFirstAvailableBlock
getFirstAvailableBlock body → 200
POST
/getRecentPerformanceSamples
getRecentPerformanceSamples
getRecentPerformanceSamples body → 200
POST
/minimumLedgerSlot
minimumLedgerSlot
minimumLedgerSlot body → 200

Schemas 10

The contract defines 10 schemas that model the data the API accepts and returns. The most detailed are UnixTimestampResponse (4 properties), CountResponse (4 properties), PerformanceSamplesResponse (4 properties), BlockProductionResponse (4 properties). Each schema is shown below with its type and property counts.

JsonRpcError
object
3 properties
UnixTimestampResponse
object
4 properties
RpcContext
object
1 property
JsonRpcRequest
object
4 properties 3 required
BlockResponse
object
4 properties
SlotsListResponse
object
4 properties
BlockCommitmentResponse
object
4 properties
BlockProductionResponse
object
4 properties
PerformanceSamplesResponse
object
4 properties
CountResponse
object
4 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

solana-blocks-api-openapi.yml Raw ↑

Other APIs Solana publishes across the network.

Solana RPC Tokens API
Solana RPC Transactions API
Solana RPC Blocks API
Solana RPC Cluster API
Solana RPC Economics API
Solana RPC WebSocket Subscriptions API
Solana Accounts API
Solana Cluster API
Solana Economics API
Solana Tokens API
Solana Transactions API
Where this information came from

This is an independent, third-party profile of Solana 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.