Footprint Analytics DeFi API

DeFi protocol metrics including TVL, DEX liquidity, and yield

Operations 2

GET /api/v1/defi/protocols List DeFi protocols #
GET /api/v1/defi/protocols/{protocol_id}/tvl Get protocol TVL history #

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/footprint-defi-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

footprint-defi-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Footprint Analytics Data Chain De Fi API
  description: 'Footprint Analytics is a blockchain data analytics platform providing unified REST and SQL APIs for querying DeFi protocol metrics, NFT market data, token analytics, GameFi economics, and on-chain activity across 30+ chains including Ethereum, Bitcoin, Solana, BNB Chain, Polygon, Arbitrum, Optimism, and Sui. The platform indexes 30,000+ protocols, 100M+ tokens, 2M+ NFT collections, and 3,000+ blockchain games. Authentication is via API key passed as a query parameter or request header.

    '
  version: 1.0.0
  contact:
    name: Footprint Analytics Support
    url: https://www.footprint.network/
  license:
    name: Proprietary
    url: https://www.footprint.network/
servers:
- url: https://api.footprint.network
  description: Footprint Analytics production API
- url: https://fp-api.readme.io
  description: Footprint Analytics documentation API
security:
- ApiKeyHeader: []
- ApiKeyQuery: []
tags:
- name: DeFi
  description: DeFi protocol metrics including TVL, DEX liquidity, and yield
paths:
  /api/v1/defi/protocols:
    get:
      operationId: listDefiProtocols
      summary: List DeFi protocols
      description: 'Returns a paginated list of DeFi protocols tracked by Footprint Analytics, including TVL, volume, and yield metrics across 30+ chains.

        '
      tags:
      - DeFi
      parameters:
      - $ref: '#/components/parameters/Chain'
      - $ref: '#/components/parameters/Limit'
      - $ref: '#/components/parameters/Offset'
      - name: category
        in: query
        description: DeFi protocol category filter
        schema:
          type: string
          enum:
          - dex
          - lending
          - yield
          - bridge
          - liquid_staking
          - derivatives
      responses:
        '200':
          description: List of DeFi protocols
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DefiProtocolListResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
  /api/v1/defi/protocols/{protocol_id}/tvl:
    get:
      operationId: getProtocolTvl
      summary: Get protocol TVL history
      description: 'Returns historical Total Value Locked (TVL) data for a specific DeFi protocol. Supports daily granularity across a date range.

        '
      tags:
      - DeFi
      parameters:
      - name: protocol_id
        in: path
        required: true
        description: Unique identifier of the DeFi protocol
        schema:
          type: string
          example: uniswap-v3
      - $ref: '#/components/parameters/StartDate'
      - $ref: '#/components/parameters/EndDate'
      - $ref: '#/components/parameters/Granularity'
      responses:
        '200':
          description: Protocol TVL history
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TvlHistoryResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  schemas:
    ChainEnum:
      type: string
      description: Supported blockchain network identifier
      enum:
      - ethereum
      - bnb
      - polygon
      - arbitrum
      - optimism
      - avalanche
      - fantom
      - solana
      - bitcoin
      - sui
      - starknet
      - zksync
      - celo
      - cronos
      - ronin
      - moonbeam
      - moonriver
      - base
      - linea
      - scroll
      example: ethereum
    DefiProtocol:
      type: object
      properties:
        protocol_id:
          type: string
          description: Unique identifier for the protocol
        protocol_name:
          type: string
          description: Display name of the DeFi protocol
        category:
          type: string
          description: Protocol category (dex, lending, yield, bridge, etc.)
        chain:
          $ref: '#/components/schemas/ChainEnum'
        tvl_usd:
          type: number
          format: double
          description: Total Value Locked in USD
        volume_24h_usd:
          type: number
          format: double
          description: 24-hour trading volume in USD
        apy:
          type: number
          format: double
          description: Annual percentage yield (where applicable)
        updated_at:
          type: string
          format: date-time
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              description: Machine-readable error code
            message:
              type: string
              description: Human-readable error message
            details:
              type: object
              additionalProperties: true
    DefiProtocolListResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/DefiProtocol'
        total:
          type: integer
        limit:
          type: integer
        offset:
          type: integer
    TvlDataPoint:
      type: object
      properties:
        date:
          type: string
          format: date
          description: Date of the TVL snapshot
        tvl_usd:
          type: number
          format: double
          description: Total Value Locked in USD at that date
    TvlHistoryResponse:
      type: object
      properties:
        protocol_id:
          type: string
        data:
          type: array
          items:
            $ref: '#/components/schemas/TvlDataPoint'
  parameters:
    Granularity:
      name: granularity
      in: query
      description: Time series granularity
      schema:
        type: string
        enum:
        - hour
        - day
        - week
        - month
        default: day
    EndDate:
      name: end_date
      in: query
      description: End date for time-range queries (YYYY-MM-DD)
      schema:
        type: string
        format: date
        example: '2024-12-31'
    Offset:
      name: offset
      in: query
      description: Number of results to skip for pagination
      schema:
        type: integer
        minimum: 0
        default: 0
    Chain:
      name: chain
      in: query
      description: Blockchain network to query
      schema:
        $ref: '#/components/schemas/ChainEnum'
    StartDate:
      name: start_date
      in: query
      description: Start date for time-range queries (YYYY-MM-DD)
      schema:
        type: string
        format: date
        example: '2024-01-01'
    Limit:
      name: limit
      in: query
      description: Maximum number of results to return
      schema:
        type: integer
        minimum: 1
        maximum: 1000
        default: 20
  responses:
    Unauthorized:
      description: Missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    NotFound:
      description: Requested resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    ApiKeyHeader:
      type: apiKey
      in: header
      name: X-API-KEY
      description: Footprint Analytics API key passed as a request header
    ApiKeyQuery:
      type: apiKey
      in: query
      name: apiKey
      description: Footprint Analytics API key passed as a query parameter