ToolAssay

Read the height of the current best Bitcoin chain

Read the height of the current best Bitcoin chain. Send a private Idempotency-Key with a valid JSON-RPC body to obtain a bound quote before signing.

Not tested: has real-world effectsour last check, 2026-10-01
0 of 0checks answered this week
n/amedian answer time
$0.0025listed price per call
n/aprice it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://api.block402.xyz/rpc/bitcoin/getblockcount

CategoryEverything else
Provider hostapi.block402.xyz
Networkseip155:84532
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

We never call tools that send, buy, move money or file anything, not even without paying.

Example input (from the provider)

{
  "body": {
    "id": 1,
    "jsonrpc": "2.0",
    "method": "getblockcount",
    "params": []
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "id": {
              "anyOf": [
                {
                  "maxLength": 64,
                  "minLength": 1,
                  "type": "string"
                },
                {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                }
              ]
            },
            "jsonrpc": {
              "const": "2.0",
              "type": "string"
            },
            "method": {
              "const": "getblockcount",
              "type": "string"
            },
            "params": {
              "maxItems": 0,
              "minItems": 0,
              "type": "array"
            }
          },
          "required": [
            "jsonrpc",
            "id",
            "method",
            "params"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST",
            "PUT",
            "PATCH"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "additionalProperties": false,
          "properties": {
            "id": {
              "anyOf": [
                {
                  "maxLength": 64,
                  "minLength": 1,
                  "type": "string"
                },
                {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                }
              ]
            },
            "jsonrpc": {
              "const": "2.0"
            },
            "result": {
              "minimum": 0,
              "type": "integer"
            }
          },
          "required": [
            "jsonrpc",
            "id",
            "result"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON