api/status - Bitcoin

This endpoint returns the indexer's sync state and the connected backend node's metadata. It is the first call to make against a new endpoint: it confirms the access token works, identifies the chain, and reports how far the index has caught up to the node.

The same payload is served at /api/, /api/v2, and /api/v2/. All four paths are equivalent; /api/status is the canonical one.

Parameters

This endpoint takes no parameters.

Request

bashcurl --location --request GET 'https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/api/status'

example.js

javascriptconst response = await fetch(
    'https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/api/status'
);
console.log(await response.json());

example.py

pythonimport requests

response = requests.get('https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/api/status')

print(response.json())

Response

json{
    "blockbook": {
        "coin": "Bitcoin",
        "network": "BTC",
        "host": "btc-blockbook-ax51-host145-mainnet-0",
        "version": "unknown",
        "gitCommit": "unknown",
        "buildTime": "unknown",
        "syncMode": true,
        "initialSync": false,
        "inSync": true,
        "bestHeight": 967487,
        "lastBlockTime": "2026-09-18T02:39:02.680814461Z",
        "inSyncMempool": true,
        "lastMempoolTime": "2026-09-18T02:46:27.090875355Z",
        "mempoolSize": 67990,
        "decimals": 8,
        "dbSize": 619514712165,
        "hasFiatRates": true,
        "currentFiatRatesTime": "2026-09-18T02:46:02.841087873Z",
        "about": "Blockbook - blockchain indexer for Trezor Suite https://trezor.io/trezor-suite. Do not use for any other purpose."
    },
    "backend": {
        "chain": "main",
        "blocks": 967487,
        "headers": 967487,
        "bestBlockHash": "000000000000000000017cfd38e8af73159da4d9ab4c3f82ae183659f7b09793",
        "difficulty": "127450789715843.1",
        "sizeOnDisk": 877048058747,
        "version": "310100",
        "subversion": "/Satoshi:31.1.0/",
        "protocolVersion": "70016"
    }
}

version, gitCommit, and buildTime report unknown on GetBlock's shared Blockbook deployment. Use backend.version and backend.subversion to identify the node, and do not gate logic on the indexer build fields.

Response Parameters

FieldTypeDescription
blockbook.coinstringCoin the indexer serves
blockbook.networkstringNetwork ticker
blockbook.versionstringBlockbook indexer version
blockbook.inSyncbooleanTrue when the index has caught up to the backend's best block
blockbook.initialSyncbooleanTrue while the index is still building for the first time
blockbook.bestHeightintegerHeight of the best block the indexer has processed
blockbook.lastBlockTimestringTimestamp of the most recently indexed block
blockbook.inSyncMempoolbooleanTrue when the mempool index is current
blockbook.mempoolSizeintegerNumber of transactions in the indexed mempool
blockbook.decimalsintegerDecimal places in the coin's base unit
blockbook.hasFiatRatesbooleanTrue when fiat rate data is available on this instance
backend.chainstringBackend chain name, main for mainnet
backend.blocksintegerBest block height known to the backend node
backend.headersintegerBest header height known to the backend node
backend.bestBlockHashstringHash of the backend node's best block
backend.versionstringBackend node version
backend.subversionstringBackend node user agent

Use Cases

  • Endpoint Verification: Confirm the access token and base URL work before integrating
  • Chain Assertion: Check coin and backend.chain to confirm the endpoint serves the expected network
  • Sync Gating: Require inSync before trusting a balance or UTXO response
  • Health Monitoring: Alert when bestHeight falls behind backend.blocks
  • Diagnostics: Report indexer and node versions in support requests

blockbook.bestHeight is how far the index has processed; backend.blocks is how far the node has synced. A gap between the two means address, UTXO, and balance responses are stale even though the node itself is current. Gate settlement logic on inSync rather than on the endpoint merely responding.

Error Handling

HTTP StatusMessageDescription
403ForbiddenMissing or invalid ACCESS-TOKEN
500Internal errorThe indexer failed to report its status