Transpose · Schema

SQL Query Request

Request body for the Transpose SQL Analytics API endpoint.

BlockchainNFTCryptocurrencyWeb3EthereumToken TransfersSmart ContractsHistorical DataDeFiDEX

Properties

Name Type Description
sql string SQL query string against Transpose's indexed blockchain data. Tables are namespaced by chain (e.g., ethereum.nft_sales, polygon.tokens, arbitrum.transactions).
View JSON Schema on GitHub

JSON Schema

sql-query.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://api.transpose.io/schemas/sql-query",
  "title": "SQL Query Request",
  "description": "Request body for the Transpose SQL Analytics API endpoint.",
  "type": "object",
  "properties": {
    "sql": {
      "type": "string",
      "description": "SQL query string against Transpose's indexed blockchain data. Tables are namespaced by chain (e.g., ethereum.nft_sales, polygon.tokens, arbitrum.transactions).",
      "minLength": 1,
      "examples": [
        "SELECT * FROM ethereum.nft_sales ORDER BY timestamp DESC LIMIT 10;",
        "SELECT contract_address, COUNT(*) AS transfer_count FROM ethereum.token_transfers WHERE timestamp >= '2024-01-01' GROUP BY contract_address ORDER BY transfer_count DESC LIMIT 20;"
      ]
    }
  },
  "required": ["sql"],
  "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/sql-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 email required.

A second provider on the same verified email joins the account you already have.