Uniswap Quote Response Structure
JSON Structure for QuoteResponse from Uniswap Trading API
Uniswap Quote 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
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "QuoteResponse Structure",
"description": "JSON Structure for QuoteResponse from Uniswap Trading API",
"structure": {
"type": "object",
"properties": {
"requestId": {
"type": "string",
"description": "A unique ID for the request."
},
"quote": {
"type": "object"
},
"routing": {
"type": "string",
"description": "The routing for the proposed transaction.",
"enum": [
"CLASSIC",
"DUTCH_LIMIT",
"DUTCH_V2",
"DUTCH_V3",
"BRIDGE",
"LIMIT_ORDER",
"PRIORITY",
"WRAP",
"UNWRAP",
"CHAINED"
]
},
"permitTransaction": {
"type": "object",
"properties": {
"to": {
"$ref": "receiverWalletAddress"
},
"from": {
"$ref": "senderWalletAddress"
},
"data": {
"type": "string",
"description": "The calldata for the transaction."
},
"value": {
"type": "string",
"description": "The quantity of ETH tokens approved for spending by the transaction, denominated in wei. Note that by default Uniswap Labs sets this to the maximum approvable spend."
},
"gasLimit": {
"$ref": "gasLimit"
},
"chainId": {
"$ref": "ChainId"
},
"maxFeePerGas": {
"$ref": "maxFeePerGas"
},
"maxPriorityFeePerGas": {
"$ref": "maxPriorityFeePerGas"
},
"gasPrice": {
"$ref": "gasPrice"
}
},
"required": [
"to",
"from",
"data",
"value",
"chainId"
]
},
"permitData": {
"type": "object",
"description": "the permit2 message object for the customer to sign to permit spending by the permit2 contract.",
"properties": {
"domain": {
"type": "object"
},
"values": {
"type": "object"
},
"types": {
"type": "object"
}
}
},
"permitGasFee": {
"type": "string",
"description": "The total estimated gas cost of this transaction (eg. `gasLimit` multiplied by `maxFeePerGas`) in the base unit of the chain."
},
"sponsorshipInfo": {
"type": "object",
"description": "Gas sponsorship information for the quoted swap. When `sponsored` is `true`, gas fees for executing this swap will be covered by the `sponsor`. When `sponsored` is `false`, `rejectionReason` describes why sponsorship was not granted.",
"properties": {
"sponsored": {
"type": "boolean",
"description": "Whether gas for this swap is sponsored."
},
"rejectionReason": {
"type": "string",
"description": "Reason gas sponsorship was not granted. Present only when `sponsored` is `false`."
},
"sponsor": {
"$ref": "SponsorSummary"
}
}
}
},
"required": [
"routing",
"quote",
"permitData",
"requestId"
]
}
}
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.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-structures/uniswap-quote-response-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 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.