Blockchain.com · Schema

LatestBlock

Lightweight summary of the most recent block.

CryptocurrencyBitcoinBlockchain DataExchangeMarket DataTradingPaymentsPublic APIs

Properties

Name Type Description
hash string Block hash.
time integer Block timestamp (Unix seconds).
block_index integer Internal block index.
height integer Block height.
txIndexes array Internal transaction indexes for transactions in this block.
View JSON Schema on GitHub

JSON Schema

data-api-latest-block-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/blockchain/refs/heads/main/json-schema/data-api-latest-block-schema.json",
  "title": "LatestBlock",
  "description": "Lightweight summary of the most recent block.",
  "type": "object",
  "properties": {
    "hash": {
      "type": "string",
      "description": "Block hash.",
      "example": "00000000000000000004f4e7a18a09b1f8e96d6fb01d9b6fce4d12cb3f8a7e21"
    },
    "time": {
      "type": "integer",
      "format": "int64",
      "description": "Block timestamp (Unix seconds).",
      "example": 1748609400000
    },
    "block_index": {
      "type": "integer",
      "format": "int64",
      "description": "Internal block index.",
      "example": 1
    },
    "height": {
      "type": "integer",
      "description": "Block height.",
      "example": 851234
    },
    "txIndexes": {
      "type": "array",
      "description": "Internal transaction indexes for transactions in this block.",
      "items": {
        "type": "integer",
        "format": "int64",
        "example": 1
      }
    }
  }
}

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.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/data-api-latest-block"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.