ClearTrace · Schema

TransactionsResponse

CompanyBlockchainDeFiDecentralized ExchangeAnalyticsOn-Chain DataMEVBenchmarks

Properties

Name Type Description
transactions array A sample of recent on-chain DEX transactions, refreshed on each data sync.
total integer Total number of matching transactions.
limit integer The maximum number of transactions returned.
offset integer The offset used for pagination.
View JSON Schema on GitHub

JSON Schema

cleartracedata-com-transactions-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cleartracedata-com/json-schema/cleartracedata-com-transactions-response-schema.json",
  "title": "TransactionsResponse",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cleartracedata-com-openapi.yml#/components/schemas/TransactionsResponse",
  "properties": {
    "transactions": {
      "items": {
        "$ref": "#/$defs/Transaction"
      },
      "type": "array",
      "title": "Transactions",
      "description": "A sample of recent on-chain DEX transactions, refreshed on each data sync."
    },
    "total": {
      "type": "integer",
      "title": "Total",
      "description": "Total number of matching transactions."
    },
    "limit": {
      "type": "integer",
      "title": "Limit",
      "description": "The maximum number of transactions returned."
    },
    "offset": {
      "type": "integer",
      "title": "Offset",
      "description": "The offset used for pagination."
    }
  },
  "type": "object",
  "required": [
    "transactions",
    "total",
    "limit",
    "offset"
  ],
  "$defs": {
    "Transaction": {
      "properties": {
        "tx_hash": {
          "type": "string",
          "title": "Tx Hash",
          "description": "The on-chain transaction hash."
        },
        "timestamp": {
          "type": "integer",
          "title": "Timestamp",
          "description": "The Unix timestamp of the block containing the transaction."
        },
        "chain": {
          "type": "string",
          "title": "Chain",
          "description": "The blockchain the transaction executed on."
        },
        "dex_project": {
          "type": "string",
          "title": "Dex Project",
          "description": "The DEX project whose pools the trade executed against."
        },
        "aggregator": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Aggregator",
          "description": "The aggregator that routed the trade, if any (null for direct trades)."
        },
        "token_sold": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Token Sold",
          "description": "Symbol of the token sold (largest leg)."
        },
        "token_bought": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Token Bought",
          "description": "Symbol of the token bought (largest leg)."
        },
        "routing_legs": {
          "type": "integer",
          "title": "Routing Legs",
          "description": "Number of DEX pool legs executed within the transaction."
        },
        "volume_usd": {
          "type": "number",
          "title": "Volume Usd",
          "description": "Total trade volume across all legs in USD."
        },
        "gas_used": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Gas Used",
          "description": "Gas units consumed (from the Alchemy transaction receipt)."
        },
        "gas_fee_eth": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Gas Fee Eth",
          "description": "Total gas fee paid in ETH (gas_used x effective gas price)."
        },
        "gas_fee_usd": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Gas Fee Usd",
          "description": "Total gas fee in USD at current ETH price."
        },
        "succeeded": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Succeeded",
          "description": "Whether the transaction succeeded on-chain (from the receipt status)."
        }
      },
      "type": "object",
      "required": [
        "tx_hash",
        "timestamp",
        "chain",
        "dex_project",
        "routing_legs",
        "volume_usd"
      ],
      "title": "Transaction"
    }
  }
}

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/cleartracedata-com-transactions-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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