{
  "x402Version": 2,
  "id": 72630,
  "slug": "saylorinnovations-api-explorer-bitcoin-block",
  "resource": "https://saylorinnovations.com/api/explorer/bitcoin/block",
  "description": "Bitcoin block lookup by height, hash or latest: time, size, weight, difficulty, transaction count and transaction ids, from Bitcoin Core RPC.",
  "type": "http",
  "serviceName": "Saylor Innovations Data Desk",
  "mimeType": "application/json",
  "resourceType": "API",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "So11111111111111111111111111111111111111112",
      "amount": "95830",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "type": "object",
    "properties": {
      "chain": {
        "type": "string",
        "description": "Blockchain the data is for"
      },
      "height": {
        "type": "number",
        "description": "Height"
      },
      "hash": {
        "type": "string",
        "description": "Hash of the item"
      },
      "time": {
        "type": "string",
        "description": "Time"
      },
      "confirmations": {
        "type": "number"
      },
      "transaction_count": {
        "type": "number",
        "description": "Number of transaction"
      },
      "size_bytes": {
        "type": "number",
        "description": "Size, in bytes"
      },
      "weight": {
        "type": "number"
      },
      "difficulty": {
        "type": "number"
      },
      "previous_block_hash": {
        "type": [
          "string",
          "null"
        ],
        "description": "Previous block hash"
      },
      "next_block_hash": {
        "type": [
          "string",
          "null"
        ],
        "description": "Next block hash"
      },
      "transactions": {
        "type": "array"
      },
      "transactions_truncated": {
        "type": "boolean",
        "description": "Transactions truncated"
      },
      "note": {
        "type": "string",
        "description": "Caveat or context for reading the result"
      },
      "source": {
        "type": "string",
        "description": "Data source the values come from"
      }
    },
    "required": [
      "chain",
      "height",
      "hash",
      "time",
      "confirmations",
      "transaction_count",
      "size_bytes",
      "weight",
      "difficulty",
      "transactions",
      "transactions_truncated",
      "note",
      "source"
    ]
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "type": "http",
          "method": "GET",
          "queryParams": {
            "block": "100000",
            "limit": "5"
          }
        },
        "output": {
          "type": "json",
          "example": {
            "chain": "bitcoin",
            "height": 100000,
            "hash": "000000000003ba27aa200b1cecaad478d2b00432346c3f1f3986da1afd33e506",
            "time": "2010-12-29T11:57:43.000Z",
            "confirmations": 872352,
            "transaction_count": 4,
            "size_bytes": 957,
            "weight": 3828,
            "difficulty": 14484.1623612254,
            "previous_block_hash": "000000000002d01c1fccc21636b607dfd930d31d01c3a62104612a1719011250",
            "next_block_hash": "00000000000080b66c911bd5ba14a74260057311eaeb1982802f7010f1a9f090",
            "transactions": [
              "8c14f0db3df150123e6f3dbbf30f8b955a8249b62ac1d1ff16284aefa3d06d87",
              "fff2525b8931402dd09222c50775608f75787bd2b87e56995a7bdd30f79702c4",
              "6359f0868171b1d194cbee1af2f16ea598ae8fad666d9b012c8ed2b79a236ec4",
              "e9a66845e05d5abc0ad04ec80f774a7e585c6e8db975962d069a522137b80c1d"
            ],
            "transactions_truncated": false,
            "note": "Read from a Bitcoin Core node. transactions lists transaction ids only (up to limit); look one up with /api/explorer/bitcoin/tx. Weight is in weight units (4,000,000 maximum per block).",
            "source": "Bitcoin Core JSON-RPC"
          }
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "input": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "http"
              },
              "method": {
                "type": "string",
                "enum": [
                  "GET"
                ]
              },
              "queryParams": {
                "type": "object",
                "properties": {
                  "block": {
                    "type": "string",
                    "description": "optional: block height, block hash, or latest (default)"
                  },
                  "limit": {
                    "type": "string",
                    "description": "optional 0 to 100 transaction ids to list, default 25"
                  }
                }
              }
            },
            "required": [
              "type",
              "method"
            ],
            "additionalProperties": false
          },
          "output": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "json"
              },
              "example": {
                "type": "object",
                "properties": {
                  "chain": {
                    "type": "string",
                    "description": "Blockchain the data is for"
                  },
                  "height": {
                    "type": "number",
                    "description": "Height"
                  },
                  "hash": {
                    "type": "string",
                    "description": "Hash of the item"
                  },
                  "time": {
                    "type": "string",
                    "description": "Time"
                  },
                  "confirmations": {
                    "type": "number"
                  },
                  "transaction_count": {
                    "type": "number",
                    "description": "Number of transaction"
                  },
                  "size_bytes": {
                    "type": "number",
                    "description": "Size, in bytes"
                  },
                  "weight": {
                    "type": "number"
                  },
                  "difficulty": {
                    "type": "number"
                  },
                  "previous_block_hash": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Previous block hash"
                  },
                  "next_block_hash": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Next block hash"
                  },
                  "transactions": {
                    "type": "array"
                  },
                  "transactions_truncated": {
                    "type": "boolean",
                    "description": "Transactions truncated"
                  },
                  "note": {
                    "type": "string",
                    "description": "Caveat or context for reading the result"
                  },
                  "source": {
                    "type": "string",
                    "description": "Data source the values come from"
                  }
                },
                "required": [
                  "chain",
                  "height",
                  "hash",
                  "time",
                  "confirmations",
                  "transaction_count",
                  "size_bytes",
                  "weight",
                  "difficulty",
                  "transactions",
                  "transactions_truncated",
                  "note",
                  "source"
                ]
              }
            },
            "required": [
              "type"
            ]
          }
        },
        "required": [
          "input"
        ]
      }
    }
  },
  "tags": [
    "bitcoin block lookup",
    "btc block height",
    "bitcoin block transactions",
    "latest bitcoin block",
    "bitcoin block explorer"
  ],
  "sourceHost": "saylorinnovations.com",
  "lastUpdated": "2026-10-26T22:14:01.973Z",
  "quality": {},
  "metadata": {
    "serviceName": "Saylor Innovations Data Desk",
    "method": "GET",
    "mimeType": "application/json",
    "inputSchema": {
      "type": "object",
      "properties": {
        "block": {
          "type": "string",
          "description": "optional: block height, block hash, or latest (default)"
        },
        "limit": {
          "type": "string",
          "description": "optional 0 to 100 transaction ids to list, default 25"
        }
      },
      "required": []
    },
    "exampleResponse": {
      "chain": "bitcoin",
      "height": 100000,
      "hash": "000000000003ba27aa200b1cecaad478d2b00432346c3f1f3986da1afd33e506",
      "time": "2010-12-29T11:57:43.000Z",
      "confirmations": 872352,
      "transaction_count": 4,
      "size_bytes": 957,
      "weight": 3828,
      "difficulty": 14484.1623612254,
      "previous_block_hash": "000000000002d01c1fccc21636b607dfd930d31d01c3a62104612a1719011250",
      "next_block_hash": "00000000000080b66c911bd5ba14a74260057311eaeb1982802f7010f1a9f090",
      "transactions": [
        "8c14f0db3df150123e6f3dbbf30f8b955a8249b62ac1d1ff16284aefa3d06d87",
        "fff2525b8931402dd09222c50775608f75787bd2b87e56995a7bdd30f79702c4",
        "6359f0868171b1d194cbee1af2f16ea598ae8fad666d9b012c8ed2b79a236ec4",
        "e9a66845e05d5abc0ad04ec80f774a7e585c6e8db975962d069a522137b80c1d"
      ],
      "transactions_truncated": false,
      "note": "Read from a Bitcoin Core node. transactions lists transaction ids only (up to limit); look one up with /api/explorer/bitcoin/tx. Weight is in weight units (4,000,000 maximum per block).",
      "source": "Bitcoin Core JSON-RPC"
    },
    "parameterLocation": "query",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "block": "100000",
              "limit": "5"
            }
          },
          "output": {
            "type": "json",
            "example": {
              "chain": "bitcoin",
              "height": 100000,
              "hash": "000000000003ba27aa200b1cecaad478d2b00432346c3f1f3986da1afd33e506",
              "time": "2010-12-29T11:57:43.000Z",
              "confirmations": 872352,
              "transaction_count": 4,
              "size_bytes": 957,
              "weight": 3828,
              "difficulty": 14484.1623612254,
              "previous_block_hash": "000000000002d01c1fccc21636b607dfd930d31d01c3a62104612a1719011250",
              "next_block_hash": "00000000000080b66c911bd5ba14a74260057311eaeb1982802f7010f1a9f090",
              "transactions": [
                "8c14f0db3df150123e6f3dbbf30f8b955a8249b62ac1d1ff16284aefa3d06d87",
                "fff2525b8931402dd09222c50775608f75787bd2b87e56995a7bdd30f79702c4",
                "6359f0868171b1d194cbee1af2f16ea598ae8fad666d9b012c8ed2b79a236ec4",
                "e9a66845e05d5abc0ad04ec80f774a7e585c6e8db975962d069a522137b80c1d"
              ],
              "transactions_truncated": false,
              "note": "Read from a Bitcoin Core node. transactions lists transaction ids only (up to limit); look one up with /api/explorer/bitcoin/tx. Weight is in weight units (4,000,000 maximum per block).",
              "source": "Bitcoin Core JSON-RPC"
            }
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "type": "object",
          "properties": {
            "input": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "const": "http"
                },
                "method": {
                  "type": "string",
                  "enum": [
                    "GET"
                  ]
                },
                "queryParams": {
                  "type": "object",
                  "properties": {
                    "block": {
                      "type": "string",
                      "description": "optional: block height, block hash, or latest (default)"
                    },
                    "limit": {
                      "type": "string",
                      "description": "optional 0 to 100 transaction ids to list, default 25"
                    }
                  }
                }
              },
              "required": [
                "type",
                "method"
              ],
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "const": "json"
                },
                "example": {
                  "type": "object",
                  "properties": {
                    "chain": {
                      "type": "string",
                      "description": "Blockchain the data is for"
                    },
                    "height": {
                      "type": "number",
                      "description": "Height"
                    },
                    "hash": {
                      "type": "string",
                      "description": "Hash of the item"
                    },
                    "time": {
                      "type": "string",
                      "description": "Time"
                    },
                    "confirmations": {
                      "type": "number"
                    },
                    "transaction_count": {
                      "type": "number",
                      "description": "Number of transaction"
                    },
                    "size_bytes": {
                      "type": "number",
                      "description": "Size, in bytes"
                    },
                    "weight": {
                      "type": "number"
                    },
                    "difficulty": {
                      "type": "number"
                    },
                    "previous_block_hash": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Previous block hash"
                    },
                    "next_block_hash": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Next block hash"
                    },
                    "transactions": {
                      "type": "array"
                    },
                    "transactions_truncated": {
                      "type": "boolean",
                      "description": "Transactions truncated"
                    },
                    "note": {
                      "type": "string",
                      "description": "Caveat or context for reading the result"
                    },
                    "source": {
                      "type": "string",
                      "description": "Data source the values come from"
                    }
                  },
                  "required": [
                    "chain",
                    "height",
                    "hash",
                    "time",
                    "confirmations",
                    "transaction_count",
                    "size_bytes",
                    "weight",
                    "difficulty",
                    "transactions",
                    "transactions_truncated",
                    "note",
                    "source"
                  ]
                }
              },
              "required": [
                "type"
              ]
            }
          },
          "required": [
            "input"
          ]
        }
      }
    },
    "examples": [
      {
        "label": "Unpaid discovery call",
        "method": "GET",
        "url": "https://saylorinnovations.com/api/explorer/bitcoin/block?block=100000&limit=5",
        "expectedStatus": 402
      }
    ],
    "cacheTtlSeconds": 0,
    "capabilities": [],
    "noAccountRequired": true,
    "noApiKeyRequired": true,
    "sideEffects": "Paid calls settle the advertised payment; see the provider contract for execution behavior.",
    "payment": {
      "protocol": "x402",
      "settlement": "direct-to-provider"
    },
    "provider": {
      "name": "Saylor Innovations",
      "host": "saylorinnovations.com",
      "manifestUrl": "https://saylorinnovations.com/.well-known/x402.json"
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": true,
  "featured": false,
  "provider": {
    "host": "saylorinnovations.com",
    "manifest_name": "Saylor Innovations Knowledge Base",
    "source": "submitted",
    "source_manifest_url": "https://saylorinnovations.com/.well-known/x402.json",
    "submitted_at": "2026-10-26T05:52:02.113Z"
  },
  "exampleResponse": {
    "chain": "string",
    "height": 0,
    "hash": "string",
    "time": "string",
    "confirmations": 0,
    "transaction_count": 0,
    "size_bytes": 0,
    "weight": 0,
    "difficulty": 0,
    "previous_block_hash": "string",
    "next_block_hash": "string",
    "transactions": [
      "value"
    ],
    "transactions_truncated": true,
    "note": "string",
    "source": "string"
  }
}