Crypto APIs icon

Crypto APIs

Interact with Crypto APIs — blockchain data, transactions, market data, and more

Actions77

Block Data → Get Block by Height

AI-generated

Summary

Fetches block details for a specified height on the selected blockchain and network.

Inputs

  • Blockchain Type — Selects EVM, UTXO, or XRP; defaults to EVM.
  • Blockchain (required) — Selects the chain. For EVM, options include Ethereum, Ethereum Classic, BSC, Polygon, Avalanche, Arbitrum, Base, Optimism, and Tron. For UTXO, options include Bitcoin, Bitcoin Cash, Litecoin, Dogecoin, Dash, and Zcash. Not shown for XRP.
  • Network (required) — Selects the network. EVM options vary by chain; UTXO and XRP offer Mainnet or Testnet.
  • Block Height (required) — The numeric height of the block to retrieve.

Output shape

A single block details record.

The API response is unwrapped from its single-item response envelope.

Links

Discussion