NEAR Protocol Legacy / Supply API

Deprecated.

Operations 3

GET /v1/legacy/total-supply Get total near supply #
GET /v1/legacy/circulating-supply Get circulating near supply #
GET /v1/legacy/fees Get tokens burnt per day #

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/near-legacy-supply-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

near-legacy-supply-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: NearBlocks REST API for the NEAR Protocol block explorer. Provides endpoints to access blockchain data including accounts, transactions, blocks, tokens, NFTs, and staking.
  title: NearBlocks Explorer Legacy / Supply API
  version: 1.0.0
servers:
- description: Mainnet
  url: https://api.nearblocks.io
- description: Testnet
  url: https://api-testnet.nearblocks.io
tags:
- description: Deprecated.
  name: Legacy / Supply
paths:
  /v1/legacy/total-supply:
    get:
      summary: Get total near supply
      tags:
      - Legacy / Supply
      parameters:
      - in: query
        name: unit
        description: Unit of Near supply. Choosing NEAR will result in a text-only response
        schema:
          type: string
          enum:
          - yoctonear
          - near
          default: yoctonear
      - in: query
        name: format
        description: If 'coingecko', return value
        schema:
          type: string
          enum:
          - coingecko
          default: null
      responses:
        '200':
          description: Success response
      operationId: getV1LegacyTotalSupply
      x-operation-id-source: derived
  /v1/legacy/circulating-supply:
    get:
      summary: Get circulating near supply
      tags:
      - Legacy / Supply
      parameters:
      - in: query
        name: unit
        description: Unit of Near supply. Choosing NEAR will result in a text-only response
        schema:
          type: string
          enum:
          - yoctonear
          - near
          default: yoctonear
      - in: query
        name: format
        description: If 'coingecko', returns value
        schema:
          type: string
          enum:
          - coingecko
          default: null
      responses:
        '200':
          description: Success response
      operationId: getV1LegacyCirculatingSupply
      x-operation-id-source: derived
  /v1/legacy/fees:
    get:
      summary: Get tokens burnt per day
      tags:
      - Legacy / Supply
      parameters:
      - in: query
        name: period
        description: Data period
        schema:
          type: string
          enum:
          - day
          - week
          default: day
      responses:
        '200':
          description: Success response
      operationId: getV1LegacyFees
      x-operation-id-source: derived
components:
  securitySchemes:
    BearerAuth:
      scheme: bearer
      type: http