Uniswap · JSON Structure

Uniswap Get Swaps Response Structure

JSON Structure for GetSwapsResponse from Uniswap Trading API

Type: Properties: 0
BlockchainCryptocurrencyDeFiDecentralized ExchangeLiquiditySwaps

Uniswap Get Swaps Response Structure is a JSON Structure definition published by Uniswap. It conforms to the https://json-schema.org/draft/2020-12/schema meta-schema.

Meta-schema: https://json-schema.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "GetSwapsResponse Structure",
  "description": "JSON Structure for GetSwapsResponse from Uniswap Trading API",
  "structure": {
    "type": "object",
    "properties": {
      "requestId": {
        "type": "string",
        "description": "A unique ID for the request."
      },
      "swaps": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "swapType": {
              "$ref": "Routing"
            },
            "status": {
              "$ref": "SwapStatus"
            },
            "txHash": {
              "$ref": "TransactionHash"
            },
            "swapId": {
              "type": "string"
            },
            "userOpHash": {
              "$ref": "TransactionHash"
            },
            "hashType": {
              "type": "string",
              "description": "Identifies whether the row was resolved from a transaction hash or a userOperation hash. Omitted on transaction rows; absence is equivalent to `TX`.",
              "enum": [
                "TX",
                "USER_OP"
              ]
            }
          }
        }
      }
    },
    "required": [
      "requestId",
      "status"
    ]
  }
}

Work with this as data

Every JSON Structure 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 json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure 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 Structure
curl "https://apis.io/api/v1/json-structures/uniswap-get-swaps-response-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?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.