OpenAny
Get API keyAPI Key
APICrypto & DeFi

uniswap logo
Uniswap Get a quote API

Get Uniswap Get a quote data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Uniswap, pass parameters such as amount, slippageTolerance, swapper, and retrieve structured data including returned field, name, chain identifier, returned verifying contract field, and returned permit details field for market reference and account inspection, and integration reference.

Selected price
$0 / callPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
0Selected implementation · last 30 days
Success rate · 30d
—No requests in this period
USE THIS API

Uniswap Get a quote API

Prepare your request, then continue with your agent.

Selected price

$0 / call

Provider
Pricing
Connect your agent
On this page

Overview

Overview
Uniswap Get a quote API

Uniswap Get a quote API

Retrieve a quote with the Uniswap API. Provide type in body, amount in body, tokenInChainId in body, tokenOutChainId in body, tokenIn in body. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs body: body
Selected implementation uniswap · Uniswap Get a quote
Billing Follow the selected implementation pricing, billing unit, quantity and charge rules

What You Can Build

  • Market reference and account inspection: Keep market, asset and account identities distinct when interpreting records.
  • Integration reference: Use the selected request format and keep source identifiers with the returned result.

Documented Response Fields

Field Meaning
<key> Returned field
permitData.domain.name Name
permitData.domain.chainId Chain identifier
permitData.domain.verifyingContract Returned verifying contract field
permitData.types.PermitDetails Returned permit details field
permitData.types.PermitSingle Returned permit single field
permitData.values.details Returned details field
permitData.values.sigDeadline Returned sig deadline field

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the JSON body and supported fields shown in the request template.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl \
  'https://api.openany.si/v1/agent-apis/uniswap/v1/quote' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  -H 'x-api-experimental: false' \
  -H 'x-erc20eth-enabled: false' \
  -H 'x-permit2-disabled: false' \
  -H 'x-universal-router-version: 2.1.2' \
  --data-raw '{
  "amount": "1000000000",
  "slippageTolerance": 0.5,
  "swapper": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
  "tokenIn": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
  "tokenInChainId": 1,
  "tokenOut": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
  "tokenOutChainId": 1,
  "type": "EXACT_INPUT"
}'

Request and Response Examples

The response is a published documentation reference; its values may be historical. The request is an independent calling template. Use current returned identifiers and optional fields for your target resource.

Published Uniswap Get a quote API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
body*object

body

Complete public Uniswap request body. Internal fields are prohibited. Source-only annotations are kept in the raw OpenAPI snapshot.
Optional parameters (5)
The version of the Universal Router to use for the swap journey. *MUST* be consistent throughout the API calls.
Enable native ETH input support for UniswapX via ERC20-ETH (EIP-7914). When set to true and `tokenIn` is the native currency address (e.g. `0x0000000000000000000000000000000000000000`), the API may return UniswapX routes that spend native ETH for supported wallets.
Disables the Permit2 approval flow. When set to `true`, `permitData` is returned as `null` and the header is forwarded to the routing layer for correct gas simulation against the Proxy Universal Router contract. When `false` or omitted, the standard Permit2 approval flow is used. This header is intended for integrators whose infrastructure uses a direct approval-then-swap pattern without Permit2.
Optional attribution hint for AI-agent traffic; send it if an AI agent built or operates your integration. The value is a JSON object with up to three fields: `decision_origin` (required, exactly `autonomous` or `human_mediated`, case-sensitive), `integration_name` (optional string naming your integration, e.g. `my-trading-bot`), and `version` (optional string identifying your integration's version). Any other key is dropped, never rejected. The raw value must be at most 1024 bytes of printable US-ASCII (`0x20`-`0x7E`), so send non-ASCII text as JSON `\u` escapes; `integration_name` and `version` are each limited to 256 UTF-16 code units and may not contain control characters, U+2028, U+2029, or U+FFFD. Send the header once: repeated header lines are joined with `, ` and the joined string is what gets parsed, so two complete objects fail as invalid JSON while a single object split across two lines still parses. The header is analytics-only and never affects the request: omitting it, sending it, or sending a value that fails these rules never changes the response status, body, or swap behavior. A value that fails to parse is dropped and reported by the `x-agent-info-status` response header. Never put a user ID, wallet address, email, session token, or API key in these fields.
Requests Guidestar routing. Requires x-universal-router-swapsteps: true. Supported for EXACT_INPUT quotes on Ethereum (1), Base (8453), and Robinhood Chain (4663); any other request, including one without the swap steps header, returns a 400 InputValidationError. A Guidestar request does not fall back to standard routing: if Guidestar cannot produce a quote, the request returns a 404. Guidestar routing is in beta and its behavior may change. Omitting the header or setting it to false keeps standard routing.

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
uniswapCurrent
Uniswap Get a quote API · POST · View API reference
$0 / call0
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · uniswapUSD / call
Unit price
$0

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 5. Price update time: not supplied.

calls

Total $0

API

Method
POST
Endpoint
https://api.openany.si/v1/agent-apis/uniswap/v1/quote
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
amountJSON request bodybodystringYes

pattern: ^[0-9]+$

swapperJSON request bodybodystringYes

pattern: ^0x[0-9a-fA-F]{40}$

tokenInJSON request bodybodystringYes

pattern: ^(0x)?[0-9a-fA-F]{40}$

tokenInChainIdJSON request bodybodynumberYes

enum: 1, 10, 56, 130, 137, 143, 196, 324, 480, 1868, 4217, 4326, 4663, 5042, 8453, 10143, 42161, 42220, 43114, 57073, 59144, 81457, 7777777, 1301, 84532, 11155111

tokenOutJSON request bodybodystringYes

pattern: ^(0x)?[0-9a-fA-F]{40}$

tokenOutChainIdJSON request bodybodynumberYes

enum: 1, 10, 56, 130, 137, 143, 196, 324, 480, 1868, 4217, 4326, 4663, 5042, 8453, 10143, 42161, 42220, 43114, 57073, 59144, 81457, 7777777, 1301, 84532, 11155111

typeJSON request bodybodystringYes

enum: "EXACT_INPUT", "EXACT_OUTPUT"

x-universal-router-versionRequest headersheadersstringNo

The version of the Universal Router to use for the swap journey. *MUST* be consistent throughout the API calls.

enum: "2.0", "2.1.1", "2.1.2"

x-erc20eth-enabledRequest headersheadersbooleanNo

Enable native ETH input support for UniswapX via ERC20-ETH (EIP-7914). When set to true and `tokenIn` is the native currency address (e.g. `0x0000000000000000000000000000000000000000`), the API may return UniswapX routes that spend native ETH for supported wallets.

x-permit2-disabledRequest headersheadersbooleanNo

Disables the Permit2 approval flow. When set to `true`, `permitData` is returned as `null` and the header is forwarded to the routing layer for correct gas simulation against the Proxy Universal Router contract. When `false` or omitted, the standard Permit2 approval flow is used. This header is intended for integrators whose infrastructure uses a direct approval-then-swap pattern without Permit2.

x-agent-infoRequest headersheadersstringNo

Optional attribution hint for AI-agent traffic; send it if an AI agent built or operates your integration. The value is a JSON object with up to three fields: `decision_origin` (required, exactly `autonomous` or `human_mediated`, case-sensitive), `integration_name` (optional string naming your integration, e.g. `my-trading-bot`), and `version` (optional string identifying your integration's version). Any other key is dropped, never rejected. The raw value must be at most 1024 bytes of printable US-ASCII (`0x20`-`0x7E`), so send non-ASCII text as JSON `\u` escapes; `integration_name` and `version` are each limited to 256 UTF-16 code units and may not contain control characters, U+2028, U+2029, or U+FFFD. Send the header once: repeated header lines are joined with `, ` and the joined string is what gets parsed, so two complete objects fail as invalid JSON while a single object split across two lines still parses. The header is analytics-only and never affects the request: omitting it, sending it, or sending a value that fails these rules never changes the response status, body, or swap behavior. A value that fails to parse is dropped and reported by the `x-agent-info-status` response header. Never put a user ID, wallet address, email, session token, or API key in these fields.

maxLength: 1024

autoSlippageJSON request bodybodystringNo

enum: "DEFAULT"

enforceExactInJSON request bodybodybooleanNo
generatePermitAsTransactionJSON request bodybodybooleanNo
hooksOptionsJSON request bodybodystringNo

enum: "V4_HOOKS_INCLUSIVE", "V4_HOOKS_ONLY", "V4_NO_HOOKS"

includeRouteCandidatesJSON request bodybodybooleanNo
integratorFeesJSON request bodybodyarrayNo

maxItems: 4

Nested fields and variants

body.integratorFees[] · Array item · object

Nested fields and variants
body.integratorFees[].bips number · Required

Parent object: body.integratorFees[]

maximum: 500

body.integratorFees[].recipient string · Required

Parent object: body.integratorFees[]

pattern: ^0x[a-fA-F0-9]{40}$

permitAmountJSON request bodybodystringNo

enum: "FULL", "EXACT"

protocolsJSON request bodybodyarrayNo
Nested fields and variants

body.protocols[] · Array item · string

recipientJSON request bodybodystringNo

pattern: ^(0x)?[0-9a-fA-F]{40}$

routingPreferenceJSON request bodybodystringNo

enum: "BEST_PRICE", "FASTEST"

slippageToleranceJSON request bodybodynumberNo

minimum: 0 · maximum: 100 · pattern: ^[0-9]{0,3}\.?[0-9]{0,2}$

spreadOptimizationJSON request bodybodystringNo

enum: "EXECUTION", "PRICE"

swapSourceJSON request bodybodystringNo

enum: "UNIVERSAL_ROUTER", "WALLET"

urgencyJSON request bodybodystring | objectNo
Nested fields and variants

object

Nested fields and variants
body.urgency.level string · Required

Parent object: body.urgency

enum: "normal", "fast", "urgent"

body.urgency.overrides object · Optional

Parent object: body.urgency

Nested fields and variants
body.urgency.overrides.gasLimit string · Optional

Parent object: body.urgency.overrides

body.urgency.overrides.maxFeePerGas string · Optional

Parent object: body.urgency.overrides

body.urgency.overrides.maxPriorityFeePerGas string · Optional

Parent object: body.urgency.overrides

x-api-experimentalRequest headersheadersstringNo

Requests Guidestar routing. Requires x-universal-router-swapsteps: true. Supported for EXACT_INPUT quotes on Ethereum (1), Base (8453), and Robinhood Chain (4663); any other request, including one without the swap steps header, returns a 400 InputValidationError. A Guidestar request does not fall back to standard routing: if Guidestar cannot produce a quote, the request returns a 404. Guidestar routing is in beta and its behavior may change. Omitting the header or setting it to false keeps standard routing.

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • isTokenApprovalApplicableboolean
  • permitDataobject
    • domainobject
      • chainIdinteger
      • namestring
      • verifyingContractstring
    • typesobject
      • PermitDetailsobject[]
        • namestring
        • typestring
      • PermitSingleobject[]
        • namestring
        • typestring
    • valuesobject
      • detailsobject
        • amountstring
        • expirationstring
        • noncestring
        • tokenstring
      • sigDeadlinestring
      • spenderstring
  • permitTransactionnull
  • quoteobject
    • aggregatedOutputsobject[]
      • amountstring
      • bpsinteger
      • minAmountstring
      • recipientstring
      • tokenstring
    • blockNumberstring
    • chainIdinteger
    • gasEstimatesobject[]
      • gasFeestring
      • gasLimitstring
      • maxFeePerGasstring
      • maxPriorityFeePerGasstring
      • strategyobject
        • baseFeeHistoryWindowinteger
        • baseFeeMultipliernumber
        • limitInflationFactornumber
        • maxPriorityFeeGweinumber
        • minPriorityFeeGweiinteger
        • minPriorityFeeRatioOfBaseFeenumber
        • percentileThresholdFor1559Feeinteger
        • priceInflationFactorinteger
        • thresholdToInflateLastBlockBaseFeeinteger
      • typestring
    • gasFeestring
    • gasFeeQuotestring
    • gasFeeUSDstring
    • gasUseEstimatestring
    • inputobject
      • amountstring
      • maximumAmountstring
      • tokenstring
    • maxFeePerGasstring
    • maxPriorityFeePerGasstring
    • outputobject
      • amountstring
      • minimumAmountstring
      • recipientstring
      • tokenstring
    • priceDifferencenumber
    • priceImpactnumber
    • quoteIdstring
    • routeobject[][]
      • addressstring
      • amountInstring
      • amountOutstring
      • feestring
      • liquiditystring
      • sqrtRatioX96string
      • tickCurrentstring
      • tokenInobject
        • addressstring
        • chainIdinteger
        • decimalsstring
        • symbolstring
      • tokenOutobject
        • addressstring
        • chainIdinteger
        • decimalsstring
        • symbolstring
      • typestring
    • routeGraphobject
      • poolsobject[]
        • addressstring
        • feestring
        • protocolstring
        • shareOfInputBpsinteger
        • tokenInobject
          • addressstring
          • chainIdinteger
          • symbolstring
        • tokenOutobject
          • addressstring
          • chainIdinteger
          • decimalsstring
          • symbolstring
    • routeStringstring
    • slippagenumber
    • swapperstring
    • tradeTypestring
    • txFailureReasonsunknown[]
  • requestIdstring
  • routingstring

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

quote

Published documentation example. Verify the actual response after an approved call.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 6

    Review these request fields before running. Keep the published provider and request method unchanged.

    x-universal-router-version
    The version of the Universal Router to use for the swap journey. *MUST* be consistent throughout the API calls.
    x-erc20eth-enabled
    Enable native ETH input support for UniswapX via ERC20-ETH (EIP-7914). When set to true and `tokenIn` is the native currency address (e.g. `0x0000000000000000000000000000000000000000`), the API may return UniswapX routes that spend native ETH for supported wallets.
    x-permit2-disabled
    Disables the Permit2 approval flow. When set to `true`, `permitData` is returned as `null` and the header is forwarded to the routing layer for correct gas simulation against the Proxy Universal Router contract. When `false` or omitted, the standard Permit2 approval flow is used. This header is intended for integrators whose infrastructure uses a direct approval-then-swap pattern without Permit2.
    x-agent-info
    Optional attribution hint for AI-agent traffic; send it if an AI agent built or operates your integration. The value is a JSON object with up to three fields: `decision_origin` (required, exactly `autonomous` or `human_mediated`, case-sensitive), `integration_name` (optional string naming your integration, e.g. `my-trading-bot`), and `version` (optional string identifying your integration's version). Any other key is dropped, never rejected. The raw value must be at most 1024 bytes of printable US-ASCII (`0x20`-`0x7E`), so send non-ASCII text as JSON `\u` escapes; `integration_name` and `version` are each limited to 256 UTF-16 code units and may not contain control characters, U+2028, U+2029, or U+FFFD. Send the header once: repeated header lines are joined with `, ` and the joined string is what gets parsed, so two complete objects fail as invalid JSON while a single object split across two lines still parses. The header is analytics-only and never affects the request: omitting it, sending it, or sending a value that fails these rules never changes the response status, body, or swap behavior. A value that fails to parse is dropped and reported by the `x-agent-info-status` response header. Never put a user ID, wallet address, email, session token, or API key in these fields.
    body
    Complete public Uniswap request body. Internal fields are prohibited. Source-only annotations are kept in the raw OpenAPI snapshot.
    x-api-experimental
    Requests Guidestar routing. Requires x-universal-router-swapsteps: true. Supported for EXACT_INPUT quotes on Ethereum (1), Base (8453), and Robinhood Chain (4663); any other request, including one without the swap steps header, returns a 400 InputValidationError. A Guidestar request does not fall back to standard routing: if Guidestar cannot produce a quote, the request returns a 404. Guidestar routing is in beta and its behavior may change. Omitting the header or setting it to false keeps standard routing.
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/uniswap/v1/quote' \
      -X POST \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json' \
      -H 'x-api-experimental: false' \
      -H 'x-erc20eth-enabled: false' \
      -H 'x-permit2-disabled: false' \
      -H 'x-universal-router-version: 2.1.2' \
      --data-raw '{
      "amount": "1000000000",
      "slippageTolerance": 0.5,
      "swapper": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
      "tokenIn": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
      "tokenInChainId": 1,
      "tokenOut": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
      "tokenOutChainId": 1,
      "type": "EXACT_INPUT"
    }'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "isTokenApprovalApplicable": true,
      "permitData": {
        "domain": {
          "chainId": 1,
          "name": "Permit2",
          "verifyingContract": "0x000000000022D473030F116dDEE9F6B43aC78BA3"
        },
        "types": {
          "PermitDetails": [
            {
              "name": "token",
              "type": "address"
            },
            {
              "name": "amount",
              "type": "uint160"
            },
            {
              "name": "expiration",
              "type": "uint48"
            },
            {
              "name": "nonce",
              "type": "uint48"
            }
          ],
          "PermitSingle": [
            {
              "name": "details",
              "type": "PermitDetails"
            },
            {
              "name": "spender",
              "type": "address"
            },
            {
              "name": "sigDeadline",
              "type": "uint256"
            }
          ]
        },
        "values": {
          "details": {
            "amount": "1461501637330902918203684832716283019655932542975",
            "expiration": "1795920367",
            "nonce": "0",
            "token": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
          },
          "sigDeadline": "1793330167",
          "spender": "0x23617e59A5925b2A4Bf75d73ff6711cD0b29De85"
        }
      },
      "permitTransaction": null,
      "quote": {
        "aggregatedOutputs": [
          {
            "amount": "452028786877263669",
            "bps": 10000,
            "minAmount": "449768642942877350",
            "recipient": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
            "token": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
          }
        ],
        "blockNumber": "26302668",
        "chainId": 1,
        "gasEstimates": [
          {
            "gasFee": "583921232742120",
            "gasLimit": "219765",
            "maxFeePerGas": "2657025608",
            "maxPriorityFeePerGas": "10000",
            "strategy": {
              "baseFeeHistoryWindow": 100,
              "baseFeeMultiplier": 1.05,
              "limitInflationFactor": 1.15,
              "maxPriorityFeeGwei": 1.8,
              "minPriorityFeeGwei": 1,
              "minPriorityFeeRatioOfBaseFee": 0.2,
              "percentileThresholdFor1559Fee": 25,
              "priceInflationFactor": 1,
              "thresholdToInflateLastBlockBaseFee": 0
            },
            "type": "eip1559"
          }
        ],
        "gasFee": "390582764376000",
        "gasFeeQuote": "290685421509000",
        "gasFeeUSD": "0.644168702100876626",
        "gasUseEstimate": "147000",
        "input": {
          "amount": "1000000000",
          "maximumAmount": "1000000000",
          "token": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
        },
        "maxFeePerGas": "2657025608",
        "maxPriorityFeePerGas": "10000",
        "output": {
          "amount": "452028786877263669",
          "minimumAmount": "449768642942877350",
          "recipient": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
          "token": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
        },
        "priceDifference": 0.01,
        "priceImpact": 0.01,
        "quoteId": "01a18ab3-4701-8000-a876-aa54552d0100",
        "route": [
          [
            {
              "address": "0xE0554a476A092703abdB3Ef35c80e0D76d32939F",
              "amountIn": "1000000000",
              "amountOut": "452028786877263669",
              "fee": "100",
              "liquidity": "6919614899261897129",
              "sqrtRatioX96": "1684554294950981473169371341752104",
              "tickCurrent": "199303",
              "tokenIn": {
                "address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
                "chainId": 1,
                "decimals": "6",
                "symbol": "USDC"
              },
              "tokenOut": {
                "address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
                "chainId": 1,
                "decimals": "18",
                "symbol": "WETH"
              },
              "type": "v3-pool"
            }
          ]
        ],
        "routeGraph": {
          "pools": [
            {
              "address": "0xE0554a476A092703abdB3Ef35c80e0D76d32939F",
              "fee": "100",
              "protocol": "V3",
              "shareOfInputBps": 10000,
              "tokenIn": {
                "address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
                "chainId": 1,
                "symbol": "USDC"
              },
              "tokenOut": {
                "address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
                "chainId": 1,
                "decimals": "18",
                "symbol": "WETH"
              }
            }
          ]
        },
        "routeString": "[v3] 100.00% = [0.01%] 0xE0554a476A092703abdB3Ef35c80e0D76d32939F",
        "slippage": 0.5,
        "swapper": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
        "tradeType": "EXACT_INPUT",
        "txFailureReasons": []
      },
      "requestId": "fc5a8c7c61d8e6fb8d5217ce796daf4b",
      "routing": "CLASSIC"
    }

Common questions

Which inputs identify this request?

Provide type in body (string); amount in body (string); tokenInChainId in body (number); tokenOutChainId in body (number); tokenIn in body (string); tokenOut in body (string); swapper in body (string). Keep identifiers and URLs in the formats documented for this implementation.

Which values can I use for x-universal-router-version?

The selected schema accepts 2.0, 2.1.1, 2.1.2. Keep the documented string type and exact spelling for this input.

How should I structure the JSON body?

Send the body according to its root JSON schema. Do not add a second body wrapper around the documented properties, and preserve the declared types of nested values.

How should I map the returned fields?

Use the documented response paths with their returned types. Keep null, empty collections, false and zero distinct, and retain the identifiers needed to match results to the request.

Which API key should I use?

Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

Where can I check the current request price?

Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

Use Uniswap Get a quote API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.