Polkadot Blocks API

Block queries and extrinsic data

Operations 16

GET /v1/blocks Get blocks by range #
GET /v1/blocks/head Get latest block #
GET /v1/blocks/head/header Get head block header #
GET /v1/blocks/{blockId} Get block by ID #
GET /v1/blocks/{blockId}/extrinsics-raw Get raw extrinsics #
GET /v1/blocks/{blockId}/extrinsics/{extrinsicIndex} Get extrinsic by index #
GET /v1/blocks/{blockId}/header Get block header by ID #
GET /v1/blocks/{blockId}/para-inclusions Get parachain inclusions #
GET /blocks Get a range of blocks by their height #
GET /blocks/{blockId} Get a block by its height or hash #
GET /blocks/{blockId}/header Get a block's header by its height or hash #
GET /blocks/{blockId}/extrinsics/{extrinsicIndex} Get an extrinsic by its extrinsicIndex and block height or hash. #
GET /blocks/head Get the most recently finalized block #
GET /blocks/head/header Get information about the header of the most recent finalized block #
GET /blocks/{blockId}/extrinsics-raw Get a blocks header & its extrinsics as hex values #
GET /blocks/{blockId}/para-inclusions Get all parachain inclusion information for a relay chain block #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/polkadot-blocks-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

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

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

polkadot-blocks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Polkadot Blocks API
  version: '1.0'
  description: 'Operations tagged blocks across 2 of this provider''s published API definitions: polkadot-rest-api-openapi.json, substrate-api-sidecar-openapi.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: http://localhost:8080/v1
  description: Localhost
- url: https://polkadot-public-sidecar.parity-chains.parity.io/
  description: Polkadot Parity public sidecar
- url: https://kusama-public-sidecar.parity-chains.parity.io/
  description: Kusama Parity public sidecar
- url: https://polkadot-asset-hub-public-sidecar.parity-chains.parity.io/
  description: Polkadot Asset Hub Parity public sidecar
- url: https://kusama-asset-hub-public-sidecar.parity-chains.parity.io/
  description: Kusama Asset Hub Parity public sidecar
- url: http://localhost:8080
  description: Localhost
tags:


# --- truncated at 32 KB (60 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/polkadot/refs/heads/main/openapi/polkadot-blocks-api-openapi.yml