Uniswap · Schema

QuoteResponse

QuoteResponse schema from Uniswap Trading API

BlockchainCryptocurrencyDeFiDecentralized ExchangeLiquiditySwaps

Properties

Name Type Description
requestId object
quote object
routing object
permitTransaction object
permitData object
permitGasFee object
sponsorshipInfo object
View JSON Schema on GitHub

JSON Schema

uniswap-quote-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/uniswap/refs/heads/main/json-schema/uniswap-quote-response-schema.json",
  "title": "QuoteResponse",
  "description": "QuoteResponse schema from Uniswap Trading API",
  "type": "object",
  "properties": {
    "requestId": {
      "$ref": "#/components/schemas/RequestId"
    },
    "quote": {
      "$ref": "#/components/schemas/Quote"
    },
    "routing": {
      "$ref": "#/components/schemas/Routing"
    },
    "permitTransaction": {
      "$ref": "#/components/schemas/TransactionRequest"
    },
    "permitData": {
      "$ref": "#/components/schemas/NullablePermit"
    },
    "permitGasFee": {
      "$ref": "#/components/schemas/gasFee"
    },
    "sponsorshipInfo": {
      "$ref": "#/components/schemas/SponsorshipInfo"
    }
  },
  "required": [
    "routing",
    "quote",
    "permitData",
    "requestId"
  ]
}