Solscan Block API

Block lookups

Operations 1

GET /block/last Get latest block data #

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/solscan-block-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

solscan-block-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Solscan Pro Block API
  version: '2.0'
  summary: Solscan Pro REST API for Solana account, token, transaction, block, and NFT data.
  description: 'The Solscan Pro API exposes decoded Solana on-chain data including account

    details, token holdings, transfers, DeFi activities, transaction details,

    block info, and NFT collections. The Public API is a free, lower-rate-limit

    surface; the Pro API is a paid service requiring an API token.


    Authentication uses a token sent in the ''token'' request header.

    '
  contact:
    name: Solscan API Documentation
    url: https://docs.solscan.io/
servers:
- url: https://pro-api.solscan.io/v2.0
  description: Solscan Pro API v2.0
security:
- apiKeyAuth: []
tags:
- name: Block
  description: Block lookups
paths:
  /block/last:
    get:
      tags:
      - Block
      summary: Get latest block data
      operationId: getBlockLast
      responses:
        '200':
          description: Latest block
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: token
      description: 'Solscan API token sent as ''token: {API_KEY}'' header.'