Footprint Analytics Query Request

Schema for executing a SQL query against the Footprint Analytics blockchain dataset via the Data API.

BlockchainDeFiNFTGameFiToken AnalyticsOn-Chain DataWeb3Crypto

Properties

Name Type Description
query string SQL query string using Trino/Presto-compatible syntax. Queries run against tables covering NFT, DeFi, GameFi, token, wallet, and raw chain data across 30+ blockchains.
parameters object Named parameters to bind into the query. Prevents SQL injection and enables parameterized queries.
View JSON Schema on GitHub

JSON Schema

query.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12",
  "$id": "https://raw.githubusercontent.com/api-evangelist/footprint/main/json-schema/query.json",
  "title": "Footprint Analytics Query Request",
  "description": "Schema for executing a SQL query against the Footprint Analytics blockchain dataset via the Data API.",
  "type": "object",
  "required": ["query"],
  "properties": {
    "query": {
      "type": "string",
      "description": "SQL query string using Trino/Presto-compatible syntax. Queries run against tables covering NFT, DeFi, GameFi, token, wallet, and raw chain data across 30+ blockchains.",
      "minLength": 1,
      "examples": [
        "SELECT collection_name, floor_price FROM nft_collection_daily_stats WHERE chain = 'ethereum' LIMIT 20",
        "SELECT protocol_name, tvl_usd FROM defi_protocol_daily_stats ORDER BY tvl_usd DESC LIMIT 10"
      ]
    },
    "parameters": {
      "type": "object",
      "description": "Named parameters to bind into the query. Prevents SQL injection and enables parameterized queries.",
      "additionalProperties": {
        "oneOf": [
          { "type": "string" },
          { "type": "number" },
          { "type": "boolean" }
        ]
      }
    }
  },
  "additionalProperties": false
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/query"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.