NEAR Protocol Legacy / FTs API

Deprecated.

Operations 9

GET /v1/fts Get top tokens by pagination #
GET /v1/fts/count Get top tokens count #
GET /v1/fts/txns Get token txns by pagination #
GET /v1/fts/txns/count Get estimated token txns count #
GET /v1/fts/{contract} Get token info #
GET /v1/fts/{contract}/txns Get token txns by pagination #
GET /v1/fts/{contract}/txns/count Get estimated token txns count #
GET /v1/fts/{contract}/holders Get token holders by pagination #
GET /v1/fts/{contract}/holders/count Get estimated token holders count #

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-fts-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-fts-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 / FTs 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 / FTs
paths:
  /v1/fts:
    get:
      summary: Get top tokens by pagination
      tags:
      - Legacy / FTs
      parameters:
      - in: query
        name: search
        description: Search keyword
        schema:
          type: string
      - in: query
        name: page
        description: Page number
        schema:
          type: number
          minimum: 1
          maximum: 100
          default: 1
      - in: query
        name: per_page
        description: Number of items per page
        schema:
          type: number
          minimum: 1
          maximum: 50
          default: 50
      - in: query
        name: sort
        description: Sort field
        schema:
          type: string
          enum:
          - price
          - change
          - volume
          - market_cap
          - onchain_market_cap
          default: onchain_market_cap
      - in: query
        name: order
        description: Sort order
        schema:
          type: string
          enum:
          - desc
          - asc
          default: desc
      responses:
        '200':
          description: Success response
      operationId: getV1Fts
      x-operation-id-source: derived
  /v1/fts/count:
    get:
      summary: Get top tokens count
      tags:
      - Legacy / FTs
      parameters:
      - in: query
        name: search
        description: Search keyword
        schema:
          type: string
      responses:
        '200':
          description: Success response
      operationId: getV1FtsCount
      x-operation-id-source: derived
  /v1/fts/txns:
    get:
      summary: Get token txns by pagination
      tags:
      - Legacy / FTs
      parameters:
      - in: query
        name: cursor
        description: Next page cursor. Takes precedence over 'page' if provided.
        schema:
          type: string
          minLength: 36
          maxLength: 36
      - in: query
        name: page
        description: Page number
        schema:
          type: number
          minimum: 1
          maximum: 200
          default: 1
      - in: query
        name: per_page
        description: Number of items per page. Each increment of 25 will count towards rate limit.
        schema:
          type: number
          minimum: 1
          maximum: 250
          default: 25
      responses:
        '200':
          description: Success response
      operationId: getV1FtsTxns
      x-operation-id-source: derived
  /v1/fts/txns/count:
    get:
      summary: Get estimated token txns count
      tags:
      - Legacy / FTs
      responses:
        '200':
          description: Success response
      operationId: getV1FtsTxnsCount
      x-operation-id-source: derived
  /v1/fts/{contract}:
    get:
      summary: Get token info
      tags:
      - Legacy / FTs
      parameters:
      - in: path
        name: contract
        required: true
        description: Contract ID
        schema:
          type: string
        examples:
          contract:
            value: example-contract-id
      responses:
        '200':
          description: Success response
      operationId: getV1FtsByContract
      x-operation-id-source: derived
  /v1/fts/{contract}/txns:
    get:
      summary: Get token txns by pagination
      tags:
      - Legacy / FTs
      parameters:
      - in: path
        name: contract
        required: true
        description: Contract ID
        schema:
          type: string
        examples:
          contract:
            value: example-contract-id
      - in: query
        name: account
        description: Affected account ID
        schema:
          type: string
      - in: query
        name: event
        description: Event type
        schema:
          type: string
          enum:
          - MINT
          - BURN
          - TRANSFER
      - in: query
        name: cursor
        description: Next page cursor. Takes precedence over 'page' if provided.
        schema:
          type: string
          minLength: 36
          maxLength: 36
      - in: query
        name: page
        description: Page number
        schema:
          type: number
          minimum: 1
          maximum: 200
          default: 1
      - in: query
        name: per_page
        description: Number of items per page. Each increment of 25 will count towards rate limit.
        schema:
          type: number
          minimum: 1
          maximum: 250
          default: 25
      - in: query
        name: order
        description: Sort order
        schema:
          type: string
          enum:
          - desc
          - asc
          default: desc
      responses:
        '200':
          description: Success response
      operationId: getV1FtsByContractTxns
      x-operation-id-source: derived
  /v1/fts/{contract}/txns/count:
    get:
      summary: Get estimated token txns count
      tags:
      - Legacy / FTs
      parameters:
      - in: path
        name: contract
        required: true
        description: Contract ID
        schema:
          type: string
        examples:
          contract:
            value: example-contract-id
      - in: query
        name: account
        description: Affected account ID
        schema:
          type: string
      - in: query
        name: event
        description: Event type
        schema:
          type: string
          enum:
          - MINT
          - BURN
          - TRANSFER
      responses:
        '200':
          description: Success response
      operationId: getV1FtsByContractTxnsCount
      x-operation-id-source: derived
  /v1/fts/{contract}/holders:
    get:
      summary: Get token holders by pagination
      tags:
      - Legacy / FTs
      parameters:
      - in: path
        name: contract
        required: true
        description: Contract ID
        schema:
          type: string
        examples:
          contract:
            value: example-contract-id
      - in: query
        name: page
        description: Page number
        schema:
          type: number
          minimum: 1
          maximum: 200
          default: 1
      - in: query
        name: per_page
        description: Number of items per page. Each increment of 25 will count towards rate limit.
        schema:
          type: number
          minimum: 1
          maximum: 250
          default: 25
      - in: query
        name: order
        description: Sort order
        schema:
          type: string
          enum:
          - desc
          - asc
          default: desc
      responses:
        '200':
          description: Success response
      operationId: getV1FtsByContractHolders
      x-operation-id-source: derived
  /v1/fts/{contract}/holders/count:
    get:
      summary: Get estimated token holders count
      tags:
      - Legacy / FTs
      parameters:
      - in: path
        name: contract
        required: true
        description: Contract ID
        schema:
          type: string
        examples:
          contract:
            value: example-contract-id
      responses:
        '200':
          description: Success response
      operationId: getV1FtsByContractHoldersCount
      x-operation-id-source: derived
components:
  securitySchemes:
    BearerAuth:
      scheme: bearer
      type: http