Bitview · Schema
BlockInfoV1
Block information with extras, matching mempool.space /api/v1/blocks
Company
Properties
| Name | Type | Description |
|---|---|---|
| id | object | Block hash |
| height | object | |
| version | integer | |
| timestamp | object | Block timestamp (Unix time) |
| bits | integer | Compact target (bits) |
| nonce | integer | |
| difficulty | number | |
| merkle_root | object | |
| tx_count | integer | |
| size | integer | Block size in bytes |
| weight | object | Block weight in weight units |
| previousblockhash | object | Hash of the previous block (null for the genesis block) |
| mediantime | object | Median time of the last 11 blocks |
| stale | boolean | Whether this block has been replaced by a longer chain |
| extras | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/bitview-space/json-schema/bitview-space-block-info-v1-schema.json",
"title": "BlockInfoV1",
"description": "Block information with extras, matching mempool.space /api/v1/blocks",
"x-generated": "2026-11-16",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/bitview-space-openapi.json#/components/schemas/BlockInfoV1",
"type": "object",
"properties": {
"id": {
"description": "Block hash",
"allOf": [
{
"$ref": "#/$defs/BlockHash"
}
]
},
"height": {
"$ref": "#/$defs/Height"
},
"version": {
"type": "integer",
"format": "uint32",
"minimum": 0
},
"timestamp": {
"description": "Block timestamp (Unix time)",
"allOf": [
{
"$ref": "#/$defs/Timestamp"
}
]
},
"bits": {
"description": "Compact target (bits)",
"type": "integer",
"format": "uint32",
"minimum": 0
},
"nonce": {
"type": "integer",
"format": "uint32",
"minimum": 0
},
"difficulty": {
"type": "number",
"format": "double"
},
"merkle_root": {
"$ref": "#/$defs/MerkleNode"
},
"tx_count": {
"type": "integer",
"format": "uint32",
"minimum": 0
},
"size": {
"description": "Block size in bytes",
"type": "integer",
"format": "uint64",
"minimum": 0
},
"weight": {
"description": "Block weight in weight units",
"allOf": [
{
"$ref": "#/$defs/Weight"
}
]
},
"previousblockhash": {
"description": "Hash of the previous block (null for the genesis block)",
"anyOf": [
{
"$ref": "#/$defs/BlockHash"
},
{
"type": "null"
}
]
},
"mediantime": {
"description": "Median time of the last 11 blocks",
"allOf": [
{
"$ref": "#/$defs/Timestamp"
}
]
},
"stale": {
"description": "Whether this block has been replaced by a longer chain",
"type": "boolean",
"default": false
},
"extras": {
"$ref": "#/$defs/BlockExtras"
}
},
"required": [
"id",
"height",
"version",
"timestamp",
"bits",
"nonce",
"difficulty",
"merkle_root",
"tx_count",
"size",
"weight",
"mediantime",
"extras"
],
"$defs": {
"Address": {
"description": "Bitcoin address, or the hex public key of a P2PK output.",
"type": "string"
},
"BlockExtras": {
"description": "Extended block data matching mempool.space /api/v1/blocks extras",
"type": "object",
"properties": {
"totalFees": {
"description": "Total fees in satoshis",
"allOf": [
{
"$ref": "#/$defs/Sats"
}
]
},
"medianFee": {
"description": "Median effective (CPFP) fee rate in sat/vB, by vsize: the rate half the block's space\npaid at most (Bitcoin Core's `getblockstats` rule; mempool.space averages the middle\n0.25% of a 4M WU block instead)",
"allOf": [
{
"$ref": "#/$defs/FeeRate"
}
]
},
"feeRange": {
"description": "Effective (CPFP) fee rate range in sat/vB: [min, 10%, 25%, 50%, 75%, 90%, max], the\npercentiles of block space (vsize-weighted, as `medianFee`; mempool.space ranks\ntransactions by count), min and max the lower/higher of the 1st/99th percentile and the\nextreme rate in the block's last/first 2% of vsize",
"type": "array",
"items": {
"$ref": "#/$defs/FeeRate"
},
"minItems": 7,
"maxItems": 7
},
"reward": {
"description": "Total block reward (subsidy + fees) in satoshis",
"allOf": [
{
"$ref": "#/$defs/Sats"
}
]
},
"pool": {
"$ref": "#/$defs/BlockPool"
},
"avgFee": {
"description": "Mean fee per non-coinbase transaction in satoshis, rounded down (0 without any)",
"allOf": [
{
"$ref": "#/$defs/Sats"
}
]
},
"avgFeeRate": {
"description": "Average fee rate in sat/vB",
"allOf": [
{
"$ref": "#/$defs/FeeRate"
}
]
},
"coinbaseRaw": {
"description": "Raw coinbase transaction scriptsig as hex",
"allOf": [
{
"$ref": "#/$defs/Hex"
}
]
},
"coinbaseAddress": {
"description": "Primary coinbase output address",
"anyOf": [
{
"$ref": "#/$defs/Address"
},
{
"type": "null"
}
]
},
"coinbaseAddresses": {
"description": "All coinbase output addresses",
"type": "array",
"items": {
"$ref": "#/$defs/Address"
}
},
"coinbaseSignature": {
"description": "Coinbase output script in ASM format",
"type": "string"
},
"coinbaseSignatureAscii": {
"description": "Coinbase scriptsig with each byte read as the Unicode code point of the same value",
"type": "string"
},
"avgTxSize": {
"description": "Non-coinbase transaction bytes over the transaction count (coinbase included), rounded to\n2 decimals",
"type": "number",
"format": "double"
},
"totalInputs": {
"description": "Total number of inputs (excluding coinbase)",
"type": "integer",
"format": "uint64",
"minimum": 0
},
"totalOutputs": {
"type": "integer",
"format": "uint64",
"minimum": 0
},
"totalOutputAmt": {
"description": "Total output amount in satoshis, coinbase excluded",
"allOf": [
{
"$ref": "#/$defs/Sats"
}
]
},
"medianFeeAmt": {
"description": "Median fee amount in satoshis",
"allOf": [
{
"$ref": "#/$defs/Sats"
}
]
},
"feePercentiles": {
"description": "Fee amount percentiles in satoshis: [min, 10%, 25%, 50%, 75%, 90%, max]",
"type": "array",
"items": {
"$ref": "#/$defs/Sats"
},
"minItems": 7,
"maxItems": 7
},
"segwitTotalTxs": {
"type": "integer",
"format": "uint32",
"minimum": 0
},
"segwitTotalSize": {
"description": "Total size of segwit transactions in bytes",
"type": "integer",
"format": "uint64",
"minimum": 0
},
"segwitTotalWeight": {
"$ref": "#/$defs/Weight"
},
"header": {
"description": "Raw 80-byte block header as hex",
"allOf": [
{
"$ref": "#/$defs/Hex"
}
]
},
"utxoSetChange": {
"description": "UTXO set change as mempool.space and bitcoin-cli report it: total outputs minus total\ninputs, unspendable outputs (OP_RETURN) included, unlike `utxoSetSize`",
"type": "integer",
"format": "int64"
},
"utxoSetSize": {
"description": "Total spendable UTXO set size at this height (excludes OP_RETURN and other unspendable outputs)",
"type": "integer",
"format": "uint64",
"minimum": 0
},
"totalInputAmt": {
"description": "Total input amount in satoshis",
"allOf": [
{
"$ref": "#/$defs/Sats"
}
]
},
"virtualSize": {
"description": "Virtual size in vbytes: weight / 4, unrounded",
"type": "number",
"format": "double"
},
"coinbaseBip54": {
"description": "Whether the coinbase follows BIP54 (its lock time is the height minus one and its input's\nsequence isn't final), from timestamp 1,771,507,776 on; null before",
"type": [
"boolean",
"null"
]
},
"firstSeen": {
"description": "Timestamp when the block was first seen (always null, not yet supported)",
"anyOf": [
{
"$ref": "#/$defs/Timestamp"
},
{
"type": "null"
}
]
},
"orphans": {
"description": "Stale blocks at this height the server's node knows, each server's own",
"type": "array",
"items": {
"$ref": "#/$defs/BlockOrphan"
}
},
"matchRate": {
"description": "Share of the expected block template the block matched, from mempool.space's own audits\n(always null: it needs the mempool as it was)",
"type": [
"number",
"null"
],
"format": "double"
},
"expectedFees": {
"description": "Fees of the expected block template (always null: it needs the mempool as it was)",
"anyOf": [
{
"$ref": "#/$defs/Sats"
},
{
"type": "null"
}
]
},
"expectedWeight": {
"description": "Weight of the expected block template (always null: it needs the mempool as it was)",
"anyOf": [
{
"$ref": "#/$defs/Weight"
},
{
"type": "null"
}
]
},
"price": {
"description": "USD price at block height",
"allOf": [
{
"$ref": "#/$defs/Dollars"
}
]
}
},
"required": [
"totalFees",
"medianFee",
"feeRange",
"reward",
"pool",
"avgFee",
"avgFeeRate",
"coinbaseRaw",
"coinbaseAddresses",
"coinbaseSignature",
"coinbaseSignatureAscii",
"avgTxSize",
"totalInputs",
"totalOutputs",
"totalOutputAmt",
"medianFeeAmt",
"feePercentiles",
"segwitTotalTxs",
"segwitTotalSize",
"segwitTotalWeight",
"header",
"utxoSetChange",
"utxoSetSize",
"totalInputAmt",
"virtualSize",
"orphans",
"price"
]
},
"BlockHash": {
"description": "Double-SHA256 block-header hash, serialized in Bitcoin's conventional\nhexadecimal byte order.",
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"BlockOrphan": {
"description": "A stale block at a height of the best chain: a block of a fork the node knows (bitcoind's\n`getchaintips`), as mempool.space lists it.",
"type": "object",
"properties": {
"height": {
"$ref": "#/$defs/Height"
},
"hash": {
"$ref": "#/$defs/BlockHash"
},
"branchlen": {
"description": "Length of the fork's branch, in blocks",
"type": "integer",
"format": "uint32",
"minimum": 0
},
"status": {
"$ref": "#/$defs/BlockOrphanStatus"
},
"prevhash": {
"description": "Hash of the block the stale block builds on",
"allOf": [
{
"$ref": "#/$defs/BlockHash"
}
]
}
},
"required": [
"height",
"hash",
"branchlen",
"status",
"prevhash"
]
},
"BlockOrphanStatus": {
"description": "How far the node validated a fork (bitcoind's `getchaintips` statuses for the forks it holds\nas valid).",
"oneOf": [
{
"description": "All of the branch's blocks are available, but they were never fully validated",
"type": "string",
"const": "valid-headers"
},
{
"description": "The branch is fully validated but not part of the best chain",
"type": "string",
"const": "valid-fork"
}
]
},
"BlockPool": {
"type": "object",
"properties": {
"id": {
"description": "Zero-based pool ID, matching mempool.space's `unique_id`",
"type": "integer",
"format": "uint8",
"minimum": 0,
"maximum": 255
},
"name": {
"type": "string"
},
"slug": {
"description": "URL-friendly pool identifier",
"allOf": [
{
"$ref": "#/$defs/PoolSlug"
}
]
},
"blockNumber": {
"description": "This block's ordinal among blocks attributed to this pool",
"type": "integer",
"format": "uint64",
"minimum": 0
},
"minerNames": {
"description": "Miner name tags found in coinbase scriptsig",
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
}
},
"required": [
"id",
"name",
"slug",
"blockNumber"
]
},
"Dollars": {
"description": "An amount in US dollars.",
"type": "number",
"format": "double"
},
"FeeRate": {
"description": "Fee rate stored in milli-sat/vB and exposed as sat/vB.",
"type": "number",
"format": "double"
},
"Height": {
"description": "A block height: how many blocks came before it.",
"type": "integer",
"format": "uint32",
"minimum": 0
},
"Hex": {
"description": "Hex-encoded data as a JSON string.",
"type": "string",
"pattern": "^([0-9a-f]{2})*$"
},
"MerkleNode": {
"description": "A merkle tree node: a double-SHA256 hash, hex-encoded in Bitcoin's display byte order.",
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"PoolSlug": {
"description": "A mining pool's identifier, as written in URLs.",
"type": "string",
"enum": [
"unknown",
"blockfills",
"ultimuspool",
"terrapool",
"luxor",
"1thash",
"cloverpool",
"bitfarms",
"huobipool",
"wayicn",
"canoepool",
"btctop",
"bitcoincom",
"175btc",
"gbminers",
"axbt",
"asicminer",
"bitminter",
"bitcoinrussia",
"btcserv",
"simplecoinus",
"btcguild",
"eligius",
"ozcoin",
"eclipsemc",
"maxbtc",
"triplemining",
"coinlab",
"50btc",
"ghashio",
"stminingcorp",
"bitparking",
"mmpool",
"polmine",
"kncminer",
"bitalo",
"f2pool",
"hhtt",
"megabigpower",
"mtred",
"nmcbit",
"yourbtcnet",
"givemecoins",
"braiinspool",
"antpool",
"multicoinco",
"bcpoolio",
"cointerra",
"kanopool",
"solock",
"ckpool",
"nicehash",
"bitclub",
"bitcoinaffiliatenetwork",
"btcc",
"bwpool",
"exxbw",
"bitsolo",
"bitfury",
"21inc",
"digitalbtc",
"8baochi",
"mybtccoinpool",
"tbdice",
"hashpool",
"nexious",
"bravomining",
"hotpool",
"okexpool",
"bcmonster",
"1hash",
"bixin",
"tatmaspool",
"viabtc",
"connectbtc",
"batpool",
"waterhole",
"dcexploration",
"dcex",
"btpool",
"58coin",
"bitcoinindia",
"shawnp0wers",
"phashio",
"rigpool",
"haozhuzhu",
"7pool",
"miningkings",
"hashbx",
"dpool",
"rawpool",
"haominer",
"helix",
"bitcoinukraine",
"poolin",
"secretsuperstar",
"tigerpoolnet",
"sigmapoolcom",
"okpooltop",
"hummerpool",
"tangpool",
"bytepool",
"spiderpool",
"novablock",
"miningcity",
"binancepool",
"minerium",
"lubiancom",
"okkong",
"aaopool",
"emcdpool",
"foundryusa",
"sbicrypto",
"arkpool",
"purebtccom",
"marapool",
"kucoinpool",
"entrustcharitypool",
"okminer",
"titan",
"pegapool",
"btcnuggets",
"cloudhashing",
"digitalxmintsy",
"telco214",
"btcpoolparty",
"multipool",
"transactioncoinmining",
"btcdig",
"trickysbtcpool",
"btcmp",
"eobot",
"unomp",
"patels",
"gogreenlight",
"bitcoinindiapool",
"ekanembtc",
"canoe",
"tiger",
"1m1x",
"zulupool",
"secpool",
"ocean",
"whitepool",
"wiz",
"wk057",
"futurebitapollosolo",
"carbonnegative",
"portlandhodl",
"phoenix",
"neopool",
"maxipool",
"bitfufupool",
"gdpool",
"miningdutch",
"publicpool",
"miningsquared",
"innopolistech",
"btclab",
"parasite",
"redrockpool",
"est3lar",
"braiinssolo",
"solopoolcom",
"noderunners",
"dmnd",
"trustpool"
]
},
"Sats": {
"description": "An amount in satoshis (100,000,000 to a bitcoin).",
"type": "integer",
"format": "uint64",
"minimum": 0
},
"Timestamp": {
"description": "A Unix timestamp, in seconds.",
"type": "integer",
"format": "uint32",
"minimum": 0
},
"Weight": {
"description": "Weight in weight units (WU): non-witness bytes count four and witness bytes one. A block holds\nat most 4,000,000 WU; sums over many blocks use the full 64 bits.",
"type": "integer",
"format": "uint64",
"minimum": 0
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/bitview-space-block-info-v1"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.