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
Name | Type | Description |
---|---|---|
height* | Number | Returns the hash of the block currently at |
Headers
Name | Type | Description |
---|---|---|
x-api-key* | String | API Key |
Last updated