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

Hiro Microblocks API

Read-only endpoints to obtain microblocks details

Hiro Microblocks API is one of 26 APIs that Hiro publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

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

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

Requests are made against 2 base URLs: https://api.hiro.so/, https://api.testnet.hiro.so/.

7 operations 7 paths 0 schemas 6 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0.3
Base URL
https://api.mainnet.hiro.so
Resource Areas
1

Paths & Operations 7

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

Microblocks 7

Read-only endpoints to obtain microblocks details

GET
/extended/v1/microblock/
Get recent microblocks
get_microblock_list 2 params → 2004XX
GET
/extended/v1/microblock/{hash}
Get microblock
get_microblock_by_hash 1 param → 2004XX
GET
/extended/v1/microblock/unanchored/txs
Get the list of current transactions that belong to unanchored microblocks
get_unanchored_txs → 2004XX
GET
/v2/microblocks/confirmed/{block_id}
Get stream of confirmed microblocks (Epoch 2.x)
getConfirmedMicroblocks 1 param → 200400404500
GET
/v2/microblocks/{microblock_id}
Get a stream of microblocks beginning with the given microblock (Epoch 2.x).
getMicroblockById 1 param → 200400404500
GET
/v2/microblocks/unconfirmed/{block_id}/{seq}
Get stream of unconfirmed microblocks (Epoch 2.x)
getUnconfirmedMicroblocks 2 params → 200400404500
POST
/v2/microblocks
Submit a microblock (Epoch 2.x)
postMicroblock body → 200400404500

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

hiro-microblocks-api-openapi.yml Raw ↑

Other APIs Hiro publishes across the network.

Hiro Chainhooks API
Hiro Platform API
Hiro Accounts API
Hiro Atlas API
Hiro Blocks API
Hiro Blocks Proposals API
Hiro Burn Blocks API
Hiro Faucets API
Hiro Fees API
Hiro Fungible Tokens API
Hiro Info API
Hiro Mempool API