Uniswap Limit Order Quote Request Structure is a JSON Structure definition published by Uniswap. It conforms to the https://json-schema.org/draft/2020-12/schema meta-schema.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "LimitOrderQuoteRequest Structure",
"description": "JSON Structure for LimitOrderQuoteRequest from Uniswap Trading API",
"structure": {
"type": "object",
"properties": {
"swapper": {
"type": "string",
"description": "The wallet address which will receive the token."
},
"limitPrice": {
"type": "string"
},
"amount": {
"type": "string",
"description": "The quantity of tokens denominated in the token's base units. (For example, for an ERC20 token one token is 1x10^18 base units. For one USDC token one token is 1x10^6 base units.) This value must be greater than 0."
},
"orderDeadline": {
"type": "number"
},
"type": {
"type": "string",
"description": "The handling of the `amount` field. `EXACT_INPUT` means the requester will send the specified `amount` of input tokens and get a quote with a variable quantity of output tokens. `EXACT_OUTPUT` means the requester will receive the specified `amount` of output tokens and get a quote with a variable quantity of input tokens.",
"enum": [
"EXACT_INPUT",
"EXACT_OUTPUT"
]
},
"tokenIn": {
"type": "string",
"description": "The token which will be sent, specified by its token address. For a list of supported tokens, see the [FAQ](https://api-docs.uniswap.org/guides/faqs)."
},
"tokenOut": {
"type": "string",
"description": "The token which will be received, specified by its token address. For a list of supported tokens, see the [FAQ](https://api-docs.uniswap.org/guides/faqs)."
},
"tokenInChainId": {
"type": "number",
"description": "The unique ID of the blockchain. For a list of supported chains see the [FAQ](https://api-docs.uniswap.org/guides/faqs)."
},
"tokenOutChainId": {
"type": "number",
"description": "The unique ID of the blockchain. For a list of supported chains see the [FAQ](https://api-docs.uniswap.org/guides/faqs)."
}
},
"required": [
"swapper",
"type",
"amount",
"tokenIn",
"tokenOut",
"tokenInChainId",
"tokenOutChainId"
]
}
}
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.