Mempool API

Mempool.Space API endpoints are available to use with an API Key or from allow-listed domains.

Mainnet: https://api.ordinalsbot.com/mempool

Testnet: https://testnet-api.ordinalsbot.com/mempool

You can refer to official mempool.space API documentation for all available endpoints.

Get Block Height

POST https://api.ordinalsbot.com/mempool/api/block-height/:height

Path Parameters

NameTypeDescription

height*

Number

Returns the hash of the block currently at :height

Headers

NameTypeDescription

x-api-key*

String

API Key

000000000000000000067bea442af50a91377ac796e63b8d284354feff4042b3

Last updated