Developer API
Access BlockMaze Testnet data programmatically
REST API
Access all blockchain data via standard HTTP GET requests. Responses are JSON with an {error, message, data} envelope.
Open Access
All public endpoints are available without authentication during the testnet phase. No API key required.
Base URL
https://api.bmzscan.com — all endpoints are relative to this base.
Rate Limits
Public Access
200 requests per minute
Response Format
All responses: { error, message, data }
Endpoint Reference
GET
/api/evm/blocksList Layer 1 blocks (paginated)
Params: page, limit
GET
/api/evm/blocks/{hash}Get Layer 1 block by hash or number
Params: hash (path)
GET
/api/cosmos/blocksList native blocks (paginated)
Params: page, limit
GET
/api/cosmos/blocks/{hash}Get native block by hash
Params: hash (path)
Code Examples
Fetch latest blocks
curl "https://api.bmzscan.com/api/evm/blocks?page=1&limit=10"
Get transaction by hash
curl "https://api.bmzscan.com/api/evm/txs/0xabc123..."
Search by token name
curl "https://api.bmzscan.com/api/search?q=BMZ"
Network stats
curl "https://api.bmzscan.com/api/cosmos/stats"