APICrypto & DeFi

Uniswap Create swap EIP 5792 calldata

Create swap EIP 5792 calldata with the Uniswap API. The request takes a quote. Use it in a transaction-routing workflow. Use the response in a DeFi workflow for the selected protocol, and compare the request and response with the provider example.

Selected price
$0 / callPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
—Loading...
Success rate · 30d
—Loading...
USE THIS API

Uniswap Create swap EIP 5792 calldata

Prepare your request, then continue with your agent.

Selected price

$0 / call

Provider
Pricing
Connect your agent
On this page

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.
The version of the Universal Router to use for the swap journey. *MUST* be consistent throughout the API calls.
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.

Sample response

No response example is configured. A real response is available only after running the API, or when a published sample is added.

Response result

Response structure

No response structure is available yet. Run a request to inspect its response.

Sellers

SellerPricingRequests · 30dPerformanceAccess
uniswapCurrent
Uniswap Create swap EIP 5792 calldata · POST · View API reference
$0 / call—
—successP50—
Loading...
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: 4. Price update time: not supplied.

calls

Total $0

API

Method
POST
Endpoint
https://api.openany.si/v1/agent-apis/uniswap/v1/swap_5792
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY

Generated request template. Review placeholder values and input constraints before use.

curl \
  'https://api.openany.si/v1/agent-apis/uniswap/v1/swap_5792' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "quote": "<REPLACE_quote>"
}'

Input parameters

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

ParameterLocationTypeRequiredDescription
x-universal-router-versionRequest headersheadersstringNoThe 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", "2.2.0"

x-agent-infoRequest headersheadersstringNoOptional 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

deadlineJSON request bodybodynumberNo
permitDataJSON request bodybodyobject | nullNo
Nested fields and variants
body.permitData.domain object · Optional

Parent object: body.permitData

body.permitData.types object · Optional

Parent object: body.permitData

body.permitData.values object · Optional

Parent object: body.permitData

quoteJSON request bodybodyobjectYes
Nested fields and variants

object

Nested fields and variants
body.quote.aggregatedOutputs array · Optional

Parent object: body.quote

Nested fields and variants

body.quote.aggregatedOutputs[] · Array item · object

Nested fields and variants
body.quote.aggregatedOutputs[].amount string · Optional

Parent object: body.quote.aggregatedOutputs[]

pattern: ^[0-9]+$

body.quote.aggregatedOutputs[].bps number · Optional

Parent object: body.quote.aggregatedOutputs[]

body.quote.aggregatedOutputs[].fee string · Optional

Parent object: body.quote.aggregatedOutputs[]

enum: "INTEGRATOR"

body.quote.aggregatedOutputs[].minAmount string · Optional

Parent object: body.quote.aggregatedOutputs[]

body.quote.aggregatedOutputs[].recipient string · Optional

Parent object: body.quote.aggregatedOutputs[]

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

body.quote.aggregatedOutputs[].token string · Optional

Parent object: body.quote.aggregatedOutputs[]

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

body.quote.blockNumber string · Optional

Parent object: body.quote

body.quote.chainId number · Required

Parent object: body.quote

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

body.quote.gasFee string · Optional

Parent object: body.quote

body.quote.gasFeeQuote string · Optional

Parent object: body.quote

body.quote.gasFeeUSD string · Optional

Parent object: body.quote

body.quote.gasPrice string · Optional

Parent object: body.quote

body.quote.gasUseEstimate string · Optional

Parent object: body.quote

body.quote.input object · Required

Parent object: body.quote

Nested fields and variants
body.quote.input.amount string · Required

Parent object: body.quote.input

pattern: ^[0-9]+$

body.quote.input.maximumAmount string · Optional

Parent object: body.quote.input

pattern: ^[0-9]+$

body.quote.input.token string · Required

Parent object: body.quote.input

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

body.quote.maxFeePerGas string · Optional

Parent object: body.quote

body.quote.maxPriorityFeePerGas string · Optional

Parent object: body.quote

body.quote.output object · Required

Parent object: body.quote

Nested fields and variants
body.quote.output.amount string · Required

Parent object: body.quote.output

pattern: ^[0-9]+$

body.quote.output.minimumAmount string · Optional

Parent object: body.quote.output

pattern: ^[0-9]+$

body.quote.output.recipient string · Optional

Parent object: body.quote.output

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

body.quote.output.token string · Required

Parent object: body.quote.output

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

body.quote.priceDifference number · Optional

Parent object: body.quote

body.quote.priceImpact number · Optional

Parent object: body.quote

body.quote.quoteId string · Optional

Parent object: body.quote

body.quote.route array · Optional

Parent object: body.quote

Nested fields and variants

body.quote.route[] · Array item · array

Nested fields and variants

body.quote.route[][] · Array item · object

Nested fields and variants

object

Nested fields and variants
body.quote.route[][].address string · Optional

Parent object: body.quote.route[][]

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

body.quote.route[][].amountIn string · Optional

Parent object: body.quote.route[][]

pattern: ^[0-9]+$

body.quote.route[][].amountOut string · Optional

Parent object: body.quote.route[][]

pattern: ^[0-9]+$

body.quote.route[][].reserve0 object · Optional

Parent object: body.quote.route[][]

Nested fields and variants
body.quote.route[][].reserve0.quotient string · Optional

Parent object: body.quote.route[][].reserve0

body.quote.route[][].reserve0.token object · Optional

Parent object: body.quote.route[][].reserve0

Nested fields and variants
body.quote.route[][].reserve0.token.address string · Optional

Parent object: body.quote.route[][].reserve0.token

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

body.quote.route[][].reserve0.token.buyFeeBps string · Optional

Parent object: body.quote.route[][].reserve0.token

body.quote.route[][].reserve0.token.chainId number · Optional

Parent object: body.quote.route[][].reserve0.token

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

body.quote.route[][].reserve0.token.decimals string · Optional

Parent object: body.quote.route[][].reserve0.token

body.quote.route[][].reserve0.token.sellFeeBps string · Optional

Parent object: body.quote.route[][].reserve0.token

body.quote.route[][].reserve0.token.symbol string · Optional

Parent object: body.quote.route[][].reserve0.token

body.quote.route[][].reserve1 object · Optional

Parent object: body.quote.route[][]

Nested fields and variants
body.quote.route[][].reserve1.quotient string · Optional

Parent object: body.quote.route[][].reserve1

body.quote.route[][].reserve1.token object · Optional

Parent object: body.quote.route[][].reserve1

Nested fields and variants
body.quote.route[][].reserve1.token.address string · Optional

Parent object: body.quote.route[][].reserve1.token

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

body.quote.route[][].reserve1.token.buyFeeBps string · Optional

Parent object: body.quote.route[][].reserve1.token

body.quote.route[][].reserve1.token.chainId number · Optional

Parent object: body.quote.route[][].reserve1.token

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

body.quote.route[][].reserve1.token.decimals string · Optional

Parent object: body.quote.route[][].reserve1.token

body.quote.route[][].reserve1.token.sellFeeBps string · Optional

Parent object: body.quote.route[][].reserve1.token

body.quote.route[][].reserve1.token.symbol string · Optional

Parent object: body.quote.route[][].reserve1.token

body.quote.route[][].tokenIn object · Optional

Parent object: body.quote.route[][]

Nested fields and variants
body.quote.route[][].tokenIn.address string · Optional

Parent object: body.quote.route[][].tokenIn

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

body.quote.route[][].tokenIn.buyFeeBps string · Optional

Parent object: body.quote.route[][].tokenIn

body.quote.route[][].tokenIn.chainId number · Optional

Parent object: body.quote.route[][].tokenIn

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

body.quote.route[][].tokenIn.decimals string · Optional

Parent object: body.quote.route[][].tokenIn

body.quote.route[][].tokenIn.sellFeeBps string · Optional

Parent object: body.quote.route[][].tokenIn

body.quote.route[][].tokenIn.symbol string · Optional

Parent object: body.quote.route[][].tokenIn

body.quote.route[][].tokenOut object · Optional

Parent object: body.quote.route[][]

Nested fields and variants
body.quote.route[][].tokenOut.address string · Optional

Parent object: body.quote.route[][].tokenOut

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

body.quote.route[][].tokenOut.buyFeeBps string · Optional

Parent object: body.quote.route[][].tokenOut

body.quote.route[][].tokenOut.chainId number · Optional

Parent object: body.quote.route[][].tokenOut

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

body.quote.route[][].tokenOut.decimals string · Optional

Parent object: body.quote.route[][].tokenOut

body.quote.route[][].tokenOut.sellFeeBps string · Optional

Parent object: body.quote.route[][].tokenOut

body.quote.route[][].tokenOut.symbol string · Optional

Parent object: body.quote.route[][].tokenOut

body.quote.route[][].type string · Optional

Parent object: body.quote.route[][]

object

Nested fields and variants
body.quote.route[][].address string · Optional

Parent object: body.quote.route[][]

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

body.quote.route[][].amountIn string · Optional

Parent object: body.quote.route[][]

pattern: ^[0-9]+$

body.quote.route[][].amountOut string · Optional

Parent object: body.quote.route[][]

pattern: ^[0-9]+$

body.quote.route[][].fee string · Optional

Parent object: body.quote.route[][]

body.quote.route[][].liquidity string · Optional

Parent object: body.quote.route[][]

body.quote.route[][].sqrtRatioX96 string · Optional

Parent object: body.quote.route[][]

body.quote.route[][].tickCurrent string · Optional

Parent object: body.quote.route[][]

body.quote.route[][].tokenIn object · Optional

Parent object: body.quote.route[][]

Nested fields and variants
body.quote.route[][].tokenIn.address string · Optional

Parent object: body.quote.route[][].tokenIn

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

body.quote.route[][].tokenIn.buyFeeBps string · Optional

Parent object: body.quote.route[][].tokenIn

body.quote.route[][].tokenIn.chainId number · Optional

Parent object: body.quote.route[][].tokenIn

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

body.quote.route[][].tokenIn.decimals string · Optional

Parent object: body.quote.route[][].tokenIn

body.quote.route[][].tokenIn.sellFeeBps string · Optional

Parent object: body.quote.route[][].tokenIn

body.quote.route[][].tokenIn.symbol string · Optional

Parent object: body.quote.route[][].tokenIn

body.quote.route[][].tokenOut object · Optional

Parent object: body.quote.route[][]

Nested fields and variants
body.quote.route[][].tokenOut.address string · Optional

Parent object: body.quote.route[][].tokenOut

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

body.quote.route[][].tokenOut.buyFeeBps string · Optional

Parent object: body.quote.route[][].tokenOut

body.quote.route[][].tokenOut.chainId number · Optional

Parent object: body.quote.route[][].tokenOut

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

body.quote.route[][].tokenOut.decimals string · Optional

Parent object: body.quote.route[][].tokenOut

body.quote.route[][].tokenOut.sellFeeBps string · Optional

Parent object: body.quote.route[][].tokenOut

body.quote.route[][].tokenOut.symbol string · Optional

Parent object: body.quote.route[][].tokenOut

body.quote.route[][].type string · Optional

Parent object: body.quote.route[][]

object

Nested fields and variants
body.quote.route[][].address string · Required

Parent object: body.quote.route[][]

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

body.quote.route[][].amountIn string · Optional

Parent object: body.quote.route[][]

pattern: ^[0-9]+$

body.quote.route[][].amountOut string · Optional

Parent object: body.quote.route[][]

pattern: ^[0-9]+$

body.quote.route[][].fee string · Required

Parent object: body.quote.route[][]

body.quote.route[][].hooks string · Required

Parent object: body.quote.route[][]

body.quote.route[][].liquidity string · Required

Parent object: body.quote.route[][]

body.quote.route[][].sqrtRatioX96 string · Required

Parent object: body.quote.route[][]

body.quote.route[][].tickCurrent string · Required

Parent object: body.quote.route[][]

body.quote.route[][].tickSpacing number · Required

Parent object: body.quote.route[][]

body.quote.route[][].tokenIn object · Required

Parent object: body.quote.route[][]

Nested fields and variants
body.quote.route[][].tokenIn.address string · Optional

Parent object: body.quote.route[][].tokenIn

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

body.quote.route[][].tokenIn.buyFeeBps string · Optional

Parent object: body.quote.route[][].tokenIn

body.quote.route[][].tokenIn.chainId number · Optional

Parent object: body.quote.route[][].tokenIn

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

body.quote.route[][].tokenIn.decimals string · Optional

Parent object: body.quote.route[][].tokenIn

body.quote.route[][].tokenIn.sellFeeBps string · Optional

Parent object: body.quote.route[][].tokenIn

body.quote.route[][].tokenIn.symbol string · Optional

Parent object: body.quote.route[][].tokenIn

body.quote.route[][].tokenOut object · Required

Parent object: body.quote.route[][]

Nested fields and variants
body.quote.route[][].tokenOut.address string · Optional

Parent object: body.quote.route[][].tokenOut

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

body.quote.route[][].tokenOut.buyFeeBps string · Optional

Parent object: body.quote.route[][].tokenOut

body.quote.route[][].tokenOut.chainId number · Optional

Parent object: body.quote.route[][].tokenOut

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

body.quote.route[][].tokenOut.decimals string · Optional

Parent object: body.quote.route[][].tokenOut

body.quote.route[][].tokenOut.sellFeeBps string · Optional

Parent object: body.quote.route[][].tokenOut

body.quote.route[][].tokenOut.symbol string · Optional

Parent object: body.quote.route[][].tokenOut

body.quote.route[][].type string · Required

Parent object: body.quote.route[][]

body.quote.routeCandidates array · Optional

Parent object: body.quote

Nested fields and variants

body.quote.routeCandidates[] · Array item · object

Nested fields and variants
body.quote.routeCandidates[].quoteAmount string · Required

Parent object: body.quote.routeCandidates[]

body.quote.routeCandidates[].quoteGasAdjusted string · Optional

Parent object: body.quote.routeCandidates[]

body.quote.routeCandidates[].routeString string · Required

Parent object: body.quote.routeCandidates[]

body.quote.routeString string · Optional

Parent object: body.quote

body.quote.slippage number · Optional

Parent object: body.quote

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

body.quote.swapSteps array · Optional

Parent object: body.quote

body.quote.swapper string · Required

Parent object: body.quote

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

body.quote.tradeType string · Required

Parent object: body.quote

enum: "EXACT_INPUT", "EXACT_OUTPUT"

body.quote.txFailureReasons array · Optional

Parent object: body.quote

Nested fields and variants

body.quote.txFailureReasons[] · Array item · string

object

Nested fields and variants
body.quote.chainId number · Required

Parent object: body.quote

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

body.quote.gasFee string · Optional

Parent object: body.quote

body.quote.gasFeeQuote string · Optional

Parent object: body.quote

body.quote.gasFeeUSD string · Optional

Parent object: body.quote

body.quote.gasPrice string · Optional

Parent object: body.quote

body.quote.gasUseEstimate string · Optional

Parent object: body.quote

body.quote.input object · Required

Parent object: body.quote

Nested fields and variants
body.quote.input.amount string · Required

Parent object: body.quote.input

pattern: ^[0-9]+$

body.quote.input.maximumAmount string · Optional

Parent object: body.quote.input

pattern: ^[0-9]+$

body.quote.input.token string · Required

Parent object: body.quote.input

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

body.quote.maxFeePerGas string · Optional

Parent object: body.quote

body.quote.maxPriorityFeePerGas string · Optional

Parent object: body.quote

body.quote.output object · Required

Parent object: body.quote

Nested fields and variants
body.quote.output.amount string · Required

Parent object: body.quote.output

pattern: ^[0-9]+$

body.quote.output.minimumAmount string · Optional

Parent object: body.quote.output

pattern: ^[0-9]+$

body.quote.output.recipient string · Optional

Parent object: body.quote.output

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

body.quote.output.token string · Required

Parent object: body.quote.output

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

body.quote.priceDifference number · Optional

Parent object: body.quote

body.quote.swapper string · Required

Parent object: body.quote

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

body.quote.tradeType string · Required

Parent object: body.quote

enum: "EXACT_INPUT", "EXACT_OUTPUT"

object

Nested fields and variants
body.quote.chainId number · Required

Parent object: body.quote

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

body.quote.destinationChainId number · Optional

Parent object: body.quote

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

body.quote.estimatedFillTimeMs number · Optional

Parent object: body.quote

body.quote.exclusiveRelayer string · Optional

Parent object: body.quote

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

body.quote.exclusivityDeadline number · Optional

Parent object: body.quote

body.quote.fillDeadline number · Optional

Parent object: body.quote

body.quote.gasFee string · Optional

Parent object: body.quote

body.quote.gasFeeUSD string · Optional

Parent object: body.quote

body.quote.gasPrice string · Optional

Parent object: body.quote

body.quote.gasUseEstimate string · Optional

Parent object: body.quote

body.quote.input object · Required

Parent object: body.quote

Nested fields and variants
body.quote.input.amount string · Required

Parent object: body.quote.input

pattern: ^[0-9]+$

body.quote.input.maximumAmount string · Optional

Parent object: body.quote.input

pattern: ^[0-9]+$

body.quote.input.token string · Required

Parent object: body.quote.input

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

body.quote.maxFeePerGas string · Optional

Parent object: body.quote

body.quote.maxPriorityFeePerGas string · Optional

Parent object: body.quote

body.quote.output object · Required

Parent object: body.quote

Nested fields and variants
body.quote.output.amount string · Required

Parent object: body.quote.output

pattern: ^[0-9]+$

body.quote.output.minimumAmount string · Optional

Parent object: body.quote.output

pattern: ^[0-9]+$

body.quote.output.recipient string · Optional

Parent object: body.quote.output

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

body.quote.output.token string · Required

Parent object: body.quote.output

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

body.quote.priceDifference number · Optional

Parent object: body.quote

body.quote.quoteId string · Optional

Parent object: body.quote

body.quote.quoteTimestamp number · Optional

Parent object: body.quote

body.quote.swapper string · Required

Parent object: body.quote

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

body.quote.tradeType string · Required

Parent object: body.quote

enum: "EXACT_INPUT", "EXACT_OUTPUT"

object

Nested fields and variants
body.quote.aggregatedOutputs array · Optional

Parent object: body.quote

Nested fields and variants

body.quote.aggregatedOutputs[] · Array item · object

Nested fields and variants
body.quote.aggregatedOutputs[].amount string · Optional

Parent object: body.quote.aggregatedOutputs[]

pattern: ^[0-9]+$

body.quote.aggregatedOutputs[].bps number · Optional

Parent object: body.quote.aggregatedOutputs[]

body.quote.aggregatedOutputs[].fee string · Optional

Parent object: body.quote.aggregatedOutputs[]

enum: "INTEGRATOR"

body.quote.aggregatedOutputs[].minAmount string · Optional

Parent object: body.quote.aggregatedOutputs[]

body.quote.aggregatedOutputs[].recipient string · Optional

Parent object: body.quote.aggregatedOutputs[]

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

body.quote.aggregatedOutputs[].token string · Optional

Parent object: body.quote.aggregatedOutputs[]

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

body.quote.classicGasUseEstimateUSD string · Optional

Parent object: body.quote

body.quote.encodedOrder string · Required

Parent object: body.quote

body.quote.input object · Optional

Parent object: body.quote

Nested fields and variants
body.quote.input.amount string · Optional

Parent object: body.quote.input

pattern: ^[0-9]+$

body.quote.input.maximumAmount string · Optional

Parent object: body.quote.input

pattern: ^[0-9]+$

body.quote.input.token string · Optional

Parent object: body.quote.input

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

body.quote.orderId string · Required

Parent object: body.quote

body.quote.orderInfo object · Required

Parent object: body.quote

Nested fields and variants
body.quote.orderInfo.additionalValidationContract string · Optional

Parent object: body.quote.orderInfo

body.quote.orderInfo.additionalValidationData string · Optional

Parent object: body.quote.orderInfo

body.quote.orderInfo.chainId number · Required

Parent object: body.quote.orderInfo

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

body.quote.orderInfo.deadline number · Required

Parent object: body.quote.orderInfo

body.quote.orderInfo.decayEndTime number · Optional

Parent object: body.quote.orderInfo

body.quote.orderInfo.decayStartTime number · Optional

Parent object: body.quote.orderInfo

body.quote.orderInfo.exclusiveFiller string · Required

Parent object: body.quote.orderInfo

body.quote.orderInfo.exclusivityOverrideBps string · Required

Parent object: body.quote.orderInfo

body.quote.orderInfo.input object · Required

Parent object: body.quote.orderInfo

Nested fields and variants
body.quote.orderInfo.input.endAmount string · Required

Parent object: body.quote.orderInfo.input

body.quote.orderInfo.input.startAmount string · Required

Parent object: body.quote.orderInfo.input

body.quote.orderInfo.input.token string · Optional

Parent object: body.quote.orderInfo.input

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

body.quote.orderInfo.nonce string · Required

Parent object: body.quote.orderInfo

body.quote.orderInfo.outputs array · Required

Parent object: body.quote.orderInfo

Nested fields and variants

body.quote.orderInfo.outputs[] · Array item · object

Nested fields and variants
body.quote.orderInfo.outputs[].endAmount string · Required

Parent object: body.quote.orderInfo.outputs[]

body.quote.orderInfo.outputs[].recipient string · Required

Parent object: body.quote.orderInfo.outputs[]

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

body.quote.orderInfo.outputs[].startAmount string · Required

Parent object: body.quote.orderInfo.outputs[]

body.quote.orderInfo.outputs[].token string · Required

Parent object: body.quote.orderInfo.outputs[]

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

body.quote.orderInfo.reactor string · Required

Parent object: body.quote.orderInfo

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

body.quote.orderInfo.swapper string · Required

Parent object: body.quote.orderInfo

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

body.quote.output object · Optional

Parent object: body.quote

Nested fields and variants
body.quote.output.amount string · Optional

Parent object: body.quote.output

pattern: ^[0-9]+$

body.quote.output.minimumAmount string · Optional

Parent object: body.quote.output

pattern: ^[0-9]+$

body.quote.output.recipient string · Optional

Parent object: body.quote.output

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

body.quote.output.token string · Optional

Parent object: body.quote.output

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

body.quote.quoteId string · Optional

Parent object: body.quote

body.quote.slippageTolerance number · Optional

Parent object: body.quote

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

object

Nested fields and variants
body.quote.aggregatedOutputs array · Optional

Parent object: body.quote

Nested fields and variants

body.quote.aggregatedOutputs[] · Array item · object

Nested fields and variants
body.quote.aggregatedOutputs[].amount string · Optional

Parent object: body.quote.aggregatedOutputs[]

pattern: ^[0-9]+$

body.quote.aggregatedOutputs[].bps number · Optional

Parent object: body.quote.aggregatedOutputs[]

body.quote.aggregatedOutputs[].fee string · Optional

Parent object: body.quote.aggregatedOutputs[]

enum: "INTEGRATOR"

body.quote.aggregatedOutputs[].minAmount string · Optional

Parent object: body.quote.aggregatedOutputs[]

body.quote.aggregatedOutputs[].recipient string · Optional

Parent object: body.quote.aggregatedOutputs[]

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

body.quote.aggregatedOutputs[].token string · Optional

Parent object: body.quote.aggregatedOutputs[]

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

body.quote.classicGasUseEstimateUSD string · Optional

Parent object: body.quote

body.quote.deadlineBufferSecs number · Optional

Parent object: body.quote

body.quote.encodedOrder string · Required

Parent object: body.quote

body.quote.input object · Optional

Parent object: body.quote

Nested fields and variants
body.quote.input.amount string · Optional

Parent object: body.quote.input

pattern: ^[0-9]+$

body.quote.input.maximumAmount string · Optional

Parent object: body.quote.input

pattern: ^[0-9]+$

body.quote.input.token string · Optional

Parent object: body.quote.input

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

body.quote.orderId string · Required

Parent object: body.quote

body.quote.orderInfo object · Required

Parent object: body.quote

Nested fields and variants
body.quote.orderInfo.additionalValidationContract string · Optional

Parent object: body.quote.orderInfo

body.quote.orderInfo.additionalValidationData string · Optional

Parent object: body.quote.orderInfo

body.quote.orderInfo.chainId number · Required

Parent object: body.quote.orderInfo

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

body.quote.orderInfo.cosigner string · Optional

Parent object: body.quote.orderInfo

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

body.quote.orderInfo.deadline number · Required

Parent object: body.quote.orderInfo

body.quote.orderInfo.input object · Required

Parent object: body.quote.orderInfo

Nested fields and variants
body.quote.orderInfo.input.endAmount string · Required

Parent object: body.quote.orderInfo.input

body.quote.orderInfo.input.startAmount string · Required

Parent object: body.quote.orderInfo.input

body.quote.orderInfo.input.token string · Optional

Parent object: body.quote.orderInfo.input

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

body.quote.orderInfo.nonce string · Required

Parent object: body.quote.orderInfo

body.quote.orderInfo.outputs array · Required

Parent object: body.quote.orderInfo

Nested fields and variants

body.quote.orderInfo.outputs[] · Array item · object

Nested fields and variants
body.quote.orderInfo.outputs[].endAmount string · Required

Parent object: body.quote.orderInfo.outputs[]

body.quote.orderInfo.outputs[].recipient string · Required

Parent object: body.quote.orderInfo.outputs[]

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

body.quote.orderInfo.outputs[].startAmount string · Required

Parent object: body.quote.orderInfo.outputs[]

body.quote.orderInfo.outputs[].token string · Required

Parent object: body.quote.orderInfo.outputs[]

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

body.quote.orderInfo.reactor string · Required

Parent object: body.quote.orderInfo

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

body.quote.orderInfo.swapper string · Required

Parent object: body.quote.orderInfo

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

body.quote.output object · Optional

Parent object: body.quote

Nested fields and variants
body.quote.output.amount string · Optional

Parent object: body.quote.output

pattern: ^[0-9]+$

body.quote.output.minimumAmount string · Optional

Parent object: body.quote.output

pattern: ^[0-9]+$

body.quote.output.recipient string · Optional

Parent object: body.quote.output

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

body.quote.output.token string · Optional

Parent object: body.quote.output

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

body.quote.quoteId string · Optional

Parent object: body.quote

body.quote.slippageTolerance number · Optional

Parent object: body.quote

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

object

Nested fields and variants
body.quote.aggregatedOutputs array · Optional

Parent object: body.quote

Nested fields and variants

body.quote.aggregatedOutputs[] · Array item · object

Nested fields and variants
body.quote.aggregatedOutputs[].amount string · Optional

Parent object: body.quote.aggregatedOutputs[]

pattern: ^[0-9]+$

body.quote.aggregatedOutputs[].bps number · Optional

Parent object: body.quote.aggregatedOutputs[]

body.quote.aggregatedOutputs[].fee string · Optional

Parent object: body.quote.aggregatedOutputs[]

enum: "INTEGRATOR"

body.quote.aggregatedOutputs[].minAmount string · Optional

Parent object: body.quote.aggregatedOutputs[]

body.quote.aggregatedOutputs[].recipient string · Optional

Parent object: body.quote.aggregatedOutputs[]

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

body.quote.aggregatedOutputs[].token string · Optional

Parent object: body.quote.aggregatedOutputs[]

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

body.quote.classicGasUseEstimateUSD string · Optional

Parent object: body.quote

body.quote.deadlineBufferSecs number · Optional

Parent object: body.quote

body.quote.encodedOrder string · Required

Parent object: body.quote

body.quote.expectedAmountIn string · Optional

Parent object: body.quote

body.quote.expectedAmountOut string · Optional

Parent object: body.quote

body.quote.input object · Optional

Parent object: body.quote

Nested fields and variants
body.quote.input.amount string · Optional

Parent object: body.quote.input

pattern: ^[0-9]+$

body.quote.input.maximumAmount string · Optional

Parent object: body.quote.input

pattern: ^[0-9]+$

body.quote.input.token string · Optional

Parent object: body.quote.input

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

body.quote.orderId string · Required

Parent object: body.quote

body.quote.orderInfo object · Required

Parent object: body.quote

Nested fields and variants
body.quote.orderInfo.additionalValidationContract string · Optional

Parent object: body.quote.orderInfo

body.quote.orderInfo.additionalValidationData string · Optional

Parent object: body.quote.orderInfo

body.quote.orderInfo.chainId number · Required

Parent object: body.quote.orderInfo

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

body.quote.orderInfo.cosigner string · Optional

Parent object: body.quote.orderInfo

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

body.quote.orderInfo.deadline number · Required

Parent object: body.quote.orderInfo

body.quote.orderInfo.input object · Required

Parent object: body.quote.orderInfo

Nested fields and variants
body.quote.orderInfo.input.adjustmentPerGweiBaseFee string · Required

Parent object: body.quote.orderInfo.input

body.quote.orderInfo.input.curve object · Required

Parent object: body.quote.orderInfo.input

Nested fields and variants
body.quote.orderInfo.input.curve.relativeAmounts array · Optional

Parent object: body.quote.orderInfo.input.curve

Nested fields and variants

body.quote.orderInfo.input.curve.relativeAmounts[] · Array item · string

body.quote.orderInfo.input.curve.relativeBlocks array · Optional

Parent object: body.quote.orderInfo.input.curve

Nested fields and variants

body.quote.orderInfo.input.curve.relativeBlocks[] · Array item · number

body.quote.orderInfo.input.maxAmount string · Required

Parent object: body.quote.orderInfo.input

body.quote.orderInfo.input.startAmount string · Required

Parent object: body.quote.orderInfo.input

body.quote.orderInfo.input.token string · Required

Parent object: body.quote.orderInfo.input

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

body.quote.orderInfo.nonce string · Required

Parent object: body.quote.orderInfo

body.quote.orderInfo.outputs array · Required

Parent object: body.quote.orderInfo

Nested fields and variants

body.quote.orderInfo.outputs[] · Array item · object

Nested fields and variants
body.quote.orderInfo.outputs[].adjustmentPerGweiBaseFee string · Required

Parent object: body.quote.orderInfo.outputs[]

body.quote.orderInfo.outputs[].curve object · Required

Parent object: body.quote.orderInfo.outputs[]

Nested fields and variants
body.quote.orderInfo.outputs[].curve.relativeAmounts array · Optional

Parent object: body.quote.orderInfo.outputs[].curve

Nested fields and variants

body.quote.orderInfo.outputs[].curve.relativeAmounts[] · Array item · string

body.quote.orderInfo.outputs[].curve.relativeBlocks array · Optional

Parent object: body.quote.orderInfo.outputs[].curve

Nested fields and variants

body.quote.orderInfo.outputs[].curve.relativeBlocks[] · Array item · number

body.quote.orderInfo.outputs[].minAmount string · Optional

Parent object: body.quote.orderInfo.outputs[]

body.quote.orderInfo.outputs[].recipient string · Required

Parent object: body.quote.orderInfo.outputs[]

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

body.quote.orderInfo.outputs[].startAmount string · Required

Parent object: body.quote.orderInfo.outputs[]

body.quote.orderInfo.outputs[].token string · Required

Parent object: body.quote.orderInfo.outputs[]

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

body.quote.orderInfo.reactor string · Required

Parent object: body.quote.orderInfo

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

body.quote.orderInfo.startingBaseFee string · Optional

Parent object: body.quote.orderInfo

body.quote.orderInfo.swapper string · Required

Parent object: body.quote.orderInfo

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

body.quote.output object · Optional

Parent object: body.quote

Nested fields and variants
body.quote.output.amount string · Optional

Parent object: body.quote.output

pattern: ^[0-9]+$

body.quote.output.minimumAmount string · Optional

Parent object: body.quote.output

pattern: ^[0-9]+$

body.quote.output.recipient string · Optional

Parent object: body.quote.output

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

body.quote.output.token string · Optional

Parent object: body.quote.output

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

body.quote.quoteId string · Optional

Parent object: body.quote

body.quote.slippageTolerance number · Optional

Parent object: body.quote

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

object

Nested fields and variants
body.quote.aggregatedOutputs array · Optional

Parent object: body.quote

Nested fields and variants

body.quote.aggregatedOutputs[] · Array item · object

Nested fields and variants
body.quote.aggregatedOutputs[].amount string · Optional

Parent object: body.quote.aggregatedOutputs[]

pattern: ^[0-9]+$

body.quote.aggregatedOutputs[].bps number · Optional

Parent object: body.quote.aggregatedOutputs[]

body.quote.aggregatedOutputs[].fee string · Optional

Parent object: body.quote.aggregatedOutputs[]

enum: "INTEGRATOR"

body.quote.aggregatedOutputs[].minAmount string · Optional

Parent object: body.quote.aggregatedOutputs[]

body.quote.aggregatedOutputs[].recipient string · Optional

Parent object: body.quote.aggregatedOutputs[]

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

body.quote.aggregatedOutputs[].token string · Optional

Parent object: body.quote.aggregatedOutputs[]

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

body.quote.classicGasUseEstimateUSD string · Optional

Parent object: body.quote

body.quote.deadlineBufferSecs number · Optional

Parent object: body.quote

body.quote.encodedOrder string · Required

Parent object: body.quote

body.quote.expectedAmountIn string · Optional

Parent object: body.quote

pattern: ^[0-9]+$

body.quote.expectedAmountOut string · Optional

Parent object: body.quote

pattern: ^[0-9]+$

body.quote.input object · Optional

Parent object: body.quote

Nested fields and variants
body.quote.input.amount string · Optional

Parent object: body.quote.input

pattern: ^[0-9]+$

body.quote.input.maximumAmount string · Optional

Parent object: body.quote.input

pattern: ^[0-9]+$

body.quote.input.token string · Optional

Parent object: body.quote.input

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

body.quote.orderId string · Required

Parent object: body.quote

body.quote.orderInfo object · Required

Parent object: body.quote

Nested fields and variants
body.quote.orderInfo.additionalValidationContract string · Optional

Parent object: body.quote.orderInfo

body.quote.orderInfo.additionalValidationData string · Optional

Parent object: body.quote.orderInfo

body.quote.orderInfo.auctionStartBlock string · Required

Parent object: body.quote.orderInfo

body.quote.orderInfo.baselinePriorityFeeWei string · Required

Parent object: body.quote.orderInfo

body.quote.orderInfo.chainId number · Required

Parent object: body.quote.orderInfo

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

body.quote.orderInfo.cosigner string · Required

Parent object: body.quote.orderInfo

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

body.quote.orderInfo.deadline number · Required

Parent object: body.quote.orderInfo

body.quote.orderInfo.input object · Required

Parent object: body.quote.orderInfo

Nested fields and variants
body.quote.orderInfo.input.amount string · Required

Parent object: body.quote.orderInfo.input

pattern: ^[0-9]+$

body.quote.orderInfo.input.mpsPerPriorityFeeWei string · Required

Parent object: body.quote.orderInfo.input

body.quote.orderInfo.input.token string · Required

Parent object: body.quote.orderInfo.input

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

body.quote.orderInfo.nonce string · Required

Parent object: body.quote.orderInfo

body.quote.orderInfo.outputs array · Required

Parent object: body.quote.orderInfo

Nested fields and variants

body.quote.orderInfo.outputs[] · Array item · object

Nested fields and variants
body.quote.orderInfo.outputs[].amount string · Required

Parent object: body.quote.orderInfo.outputs[]

pattern: ^[0-9]+$

body.quote.orderInfo.outputs[].mpsPerPriorityFeeWei string · Required

Parent object: body.quote.orderInfo.outputs[]

body.quote.orderInfo.outputs[].recipient string · Required

Parent object: body.quote.orderInfo.outputs[]

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

body.quote.orderInfo.outputs[].token string · Required

Parent object: body.quote.orderInfo.outputs[]

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

body.quote.orderInfo.reactor string · Required

Parent object: body.quote.orderInfo

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

body.quote.orderInfo.swapper string · Required

Parent object: body.quote.orderInfo

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

body.quote.output object · Optional

Parent object: body.quote

Nested fields and variants
body.quote.output.amount string · Optional

Parent object: body.quote.output

pattern: ^[0-9]+$

body.quote.output.minimumAmount string · Optional

Parent object: body.quote.output

pattern: ^[0-9]+$

body.quote.output.recipient string · Optional

Parent object: body.quote.output

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

body.quote.output.token string · Optional

Parent object: body.quote.output

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

body.quote.quoteId string · Optional

Parent object: body.quote

body.quote.slippageTolerance number · Optional

Parent object: body.quote

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

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

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

Sample response

No response example is configured. A real response is available only after running the API, or when a published sample is added.

Agent integration

Copy the resource contract without sharing an API key.

View API Markdown
API Markdown
# Uniswap Create swap EIP 5792 calldata

Create swap EIP 5792 calldata with the Uniswap API. The request takes a quote. Use it in a transaction-routing workflow. Use the response in a DeFi workflow for the selected protocol, and compare the request and response with the provider example.
Documentation: https://openany.si/apis/b95fea6b-83df-4ff2-afae-a23219c813bb
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/uniswap/v1/swap_5792
Price: $0 / call
Provider: uniswap
Contract revision: 4
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.

Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.

## Generated request template — review values before use
```bash
curl \
  'https://api.openany.si/v1/agent-apis/uniswap/v1/swap_5792' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "quote": "<REPLACE_quote>"
}'
```

## API contract
```json
{
  "resource_type": "api",
  "name": "Uniswap Create swap EIP 5792 calldata",
  "endpoint": "https://api.openany.si/v1/agent-apis/uniswap/v1/swap_5792",
  "method": "POST",
  "content_type": "application/json",
  "execution_mode": "sync",
  "authentication": {
    "type": "bearer",
    "environment_variable": "OPENANY_API_KEY"
  },
  "inputs": [
    {
      "description": "The version of the Universal Router to use for the swap journey. *MUST* be consistent throughout the API calls.",
      "enum_values": [
        "2.0",
        "2.1.1",
        "2.1.2",
        "2.2.0"
      ],
      "location": "header",
      "name": "x-universal-router-version",
      "nullable": false,
      "required": false,
      "type": "string"
    },
    {
      "description": "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.",
      "location": "header",
      "max_length": 1024,
      "name": "x-agent-info",
      "nullable": false,
      "required": false,
      "type": "string"
    },
    {
      "description": "Complete public Uniswap request body. Internal fields are prohibited. Source-only annotations are kept in the raw OpenAPI snapshot.",
      "json_schema": {
        "allOf": [
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "sponsorshipInfo"
                  ]
                },
                {
                  "required": [
                    "approvalOnly"
                  ]
                }
              ]
            }
          }
        ],
        "description": "Complete public Uniswap request body. Internal fields are prohibited. Source-only annotations are kept in the raw OpenAPI snapshot.",
        "properties": {
          "deadline": {
            "type": "number"
          },
          "permitData": {
            "properties": {
              "domain": {
                "type": "object"
              },
              "types": {
                "type": "object"
              },
              "values": {
                "type": "object"
              }
            },
            "type": [
              "object",
              "null"
            ]
          },
          "quote": {
            "allOf": [
              {
                "not": {
                  "anyOf": [
                    {
                      "required": [
                        "approvalSpender"
                      ]
                    },
                    {
                      "required": [
                        "provider"
                      ]
                    },
                    {
                      "required": [
                        "routeGraph"
                      ]
                    },
                    {
                      "required": [
                        "transactionRequest"
                      ]
                    }
                  ]
                }
              }
            ],
            "anyOf": [
              {
                "allOf": [
                  {
                    "not": {
                      "anyOf": [
                        {
                          "required": [
                            "routeGraph"
                          ]
                        }
                      ]
                    }
                  }
                ],
                "properties": {
                  "aggregatedOutputs": {
                    "items": {
                      "properties": {
                        "amount": {
                          "pattern": "^[0-9]+$",
                          "type": "string"
                        },
                        "bps": {
                          "multipleOf": 0.01,
                          "type": "number"
                        },
                        "fee": {
                          "enum": [
                            "INTEGRATOR"
                          ],
                          "type": "string"
                        },
                        "minAmount": {
                          "type": "string"
                        },
                        "recipient": {
                          "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                          "type": "string"
                        },
                        "token": {
                          "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "blockNumber": {
                    "type": "string"
                  },
                  "chainId": {
                    "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
                    ],
                    "type": "number"
                  },
                  "gasFee": {
                    "type": "string"
                  },
                  "gasFeeQuote": {
                    "type": "string"
                  },
                  "gasFeeUSD": {
                    "type": "string"
                  },
                  "gasPrice": {
                    "type": "string"
                  },
                  "gasUseEstimate": {
                    "type": "string"
                  },
                  "input": {
                    "properties": {
                      "amount": {
                        "pattern": "^[0-9]+$",
                        "type": "string"
                      },
                      "maximumAmount": {
                        "pattern": "^[0-9]+$",
                        "type": "string"
                      },
                      "token": {
                        "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                        "type": "string"
                      }
                    },
                    "required": [
                      "amount",
                      "token"
                    ],
                    "type": "object"
                  },
                  "maxFeePerGas": {
                    "type": "string"
                  },
                  "maxPriorityFeePerGas": {
                    "type": "string"
                  },
                  "output": {
                    "properties": {
                      "amount": {
                        "pattern": "^[0-9]+$",
                        "type": "string"
                      },
                      "minimumAmount": {
                        "pattern": "^[0-9]+$",
                        "type": "string"
                      },
                      "recipient": {
                        "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                        "type": "string"
                      },
                      "token": {
                        "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                        "type": "string"
                      }
                    },
                    "required": [
                      "amount",
                      "token"
                    ],
                    "type": "object"
                  },
                  "priceDifference": {
                    "type": "number"
                  },
                  "priceImpact": {
                    "type": "number"
                  },
                  "quoteId": {
                    "type": "string"
                  },
                  "route": {
                    "items": {
                      "items": {
                        "oneOf": [
                          {
                            "properties": {
                              "address": {
                                "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                                "type": "string"
                              },
                              "amountIn": {
                                "pattern": "^[0-9]+$",
                                "type": "string"
                              },
                              "amountOut": {
                                "pattern": "^[0-9]+$",
                                "type": "string"
                              },
                              "reserve0": {
                                "properties": {
                                  "quotient": {
                                    "type": "string"
                                  },
                                  "token": {
                                    "properties": {
                                      "address": {
                                        "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                                        "type": "string"
                                      },
                                      "buyFeeBps": {
                                        "type": "string"
                                      },
                                      "chainId": {
                                        "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
                                        ],
                                        "type": "number"
                                      },
                                      "decimals": {
                                        "type": "string"
                                      },
                                      "sellFeeBps": {
                                        "type": "string"
                                      },
                                      "symbol": {
                                        "type": "string"
                                      }
                                    },
                                    "type": "object"
                                  }
                                },
                                "type": "object"
                              },
                              "reserve1": {
                                "properties": {
                                  "quotient": {
                                    "type": "string"
                                  },
                                  "token": {
                                    "properties": {
                                      "address": {
                                        "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                                        "type": "string"
                                      },
                                      "buyFeeBps": {
                                        "type": "string"
                                      },
                                      "chainId": {
                                        "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
                                        ],
                                        "type": "number"
                                      },
                                      "decimals": {
                                        "type": "string"
                                      },
                                      "sellFeeBps": {
                                        "type": "string"
                                      },
                                      "symbol": {
                                        "type": "string"
                                      }
                                    },
                                    "type": "object"
                                  }
                                },
                                "type": "object"
                              },
                              "tokenIn": {
                                "properties": {
                                  "address": {
                                    "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                                    "type": "string"
                                  },
                                  "buyFeeBps": {
                                    "type": "string"
                                  },
                                  "chainId": {
                                    "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
                                    ],
                                    "type": "number"
                                  },
                                  "decimals": {
                                    "type": "string"
                                  },
                                  "sellFeeBps": {
                                    "type": "string"
                                  },
                                  "symbol": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "tokenOut": {
                                "properties": {
                                  "address": {
                                    "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                                    "type": "string"
                                  },
                                  "buyFeeBps": {
                                    "type": "string"
                                  },
                                  "chainId": {
                                    "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
                                    ],
                                    "type": "number"
                                  },
                                  "decimals": {
                                    "type": "string"
                                  },
                                  "sellFeeBps": {
                                    "type": "string"
                                  },
                                  "symbol": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "type": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          {
                            "properties": {
                              "address": {
                                "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                                "type": "string"
                              },
                              "amountIn": {
                                "pattern": "^[0-9]+$",
                                "type": "string"
                              },
                              "amountOut": {
                                "pattern": "^[0-9]+$",
                                "type": "string"
                              },
                              "fee": {
                                "type": "string"
                              },
                              "liquidity": {
                                "type": "string"
                              },
                              "sqrtRatioX96": {
                                "type": "string"
                              },
                              "tickCurrent": {
                                "type": "string"
                              },
                              "tokenIn": {
                                "properties": {
                                  "address": {
                                    "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                                    "type": "string"
                                  },
                                  "buyFeeBps": {
                                    "type": "string"
                                  },
                                  "chainId": {
                                    "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
                                    ],
                                    "type": "number"
                                  },
                                  "decimals": {
                                    "type": "string"
                                  },
                                  "sellFeeBps": {
                                    "type": "string"
                                  },
                                  "symbol": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "tokenOut": {
                                "properties": {
                                  "address": {
                                    "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                                    "type": "string"
                                  },
                                  "buyFeeBps": {
                                    "type": "string"
                                  },
                                  "chainId": {
                                    "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
                                    ],
                                    "type": "number"
                                  },
                                  "decimals": {
                                    "type": "string"
                                  },
                                  "sellFeeBps": {
                                    "type": "string"
                                  },
                                  "symbol": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "type": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          {
                            "properties": {
                              "address": {
                                "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                                "type": "string"
                              },
                              "amountIn": {
                                "pattern": "^[0-9]+$",
                                "type": "string"
                              },
                              "amountOut": {
                                "pattern": "^[0-9]+$",
                                "type": "string"
                              },
                              "fee": {
                                "type": "string"
                              },
                              "hooks": {
                                "type": "string"
                              },
                              "liquidity": {
                                "type": "string"
                              },
                              "sqrtRatioX96": {
                                "type": "string"
                              },
                              "tickCurrent": {
                                "type": "string"
                              },
                              "tickSpacing": {
                                "type": "number"
                              },
                              "tokenIn": {
                                "properties": {
                                  "address": {
                                    "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                                    "type": "string"
                                  },
                                  "buyFeeBps": {
                                    "type": "string"
                                  },
                                  "chainId": {
                                    "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
                                    ],
                                    "type": "number"
                                  },
                                  "decimals": {
                                    "type": "string"
                                  },
                                  "sellFeeBps": {
                                    "type": "string"
                                  },
                                  "symbol": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "tokenOut": {
                                "properties": {
                                  "address": {
                                    "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                                    "type": "string"
                                  },
                                  "buyFeeBps": {
                                    "type": "string"
                                  },
                                  "chainId": {
                                    "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
                                    ],
                                    "type": "number"
                                  },
                                  "decimals": {
                                    "type": "string"
                                  },
                                  "sellFeeBps": {
                                    "type": "string"
                                  },
                                  "symbol": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "type": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "type",
                              "address",
                              "tokenIn",
                              "tokenOut",
                              "sqrtRatioX96",
                              "liquidity",
                              "tickCurrent",
                              "fee",
                              "tickSpacing",
                              "hooks"
                            ],
                            "type": "object"
                          }
                        ]
                      },
                      "type": "array"
                    },
                    "type": "array"
                  },
                  "routeCandidates": {
                    "items": {
                      "properties": {
                        "quoteAmount": {
                          "type": "string"
                        },
                        "quoteGasAdjusted": {
                          "type": "string"
                        },
                        "routeString": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "routeString",
                        "quoteAmount"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "routeString": {
                    "type": "string"
                  },
                  "slippage": {
                    "maximum": 100,
                    "minimum": 0,
                    "pattern": "^[0-9]{0,3}\\.?[0-9]{0,2}$",
                    "type": "number"
                  },
                  "swapSteps": {
                    "items": false,
                    "type": "array"
                  },
                  "swapper": {
                    "pattern": "^0x[0-9a-fA-F]{40}$",
                    "type": "string"
                  },
                  "tradeType": {
                    "enum": [
                      "EXACT_INPUT",
                      "EXACT_OUTPUT"
                    ],
                    "type": "string"
                  },
                  "txFailureReasons": {
                    "items": {
                      "enum": [
                        "SIMULATION_ERROR",
                        "UNSUPPORTED_SIMULATION",
                        "SIMULATION_UNAVAILABLE",
                        "SLIPPAGE_TOO_LOW",
                        "TRANSFER_FROM_FAILED"
                      ],
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "chainId",
                  "swapper",
                  "input",
                  "output",
                  "tradeType"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "chainId": {
                    "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
                    ],
                    "type": "number"
                  },
                  "gasFee": {
                    "type": "string"
                  },
                  "gasFeeQuote": {
                    "type": "string"
                  },
                  "gasFeeUSD": {
                    "type": "string"
                  },
                  "gasPrice": {
                    "type": "string"
                  },
                  "gasUseEstimate": {
                    "type": "string"
                  },
                  "input": {
                    "properties": {
                      "amount": {
                        "pattern": "^[0-9]+$",
                        "type": "string"
                      },
                      "maximumAmount": {
                        "pattern": "^[0-9]+$",
                        "type": "string"
                      },
                      "token": {
                        "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                        "type": "string"
                      }
                    },
                    "required": [
                      "amount",
                      "token"
                    ],
                    "type": "object"
                  },
                  "maxFeePerGas": {
                    "type": "string"
                  },
                  "maxPriorityFeePerGas": {
                    "type": "string"
                  },
                  "output": {
                    "properties": {
                      "amount": {
                        "pattern": "^[0-9]+$",
                        "type": "string"
                      },
                      "minimumAmount": {
                        "pattern": "^[0-9]+$",
                        "type": "string"
                      },
                      "recipient": {
                        "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                        "type": "string"
                      },
                      "token": {
                        "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                        "type": "string"
                      }
                    },
                    "required": [
                      "amount",
                      "token"
                    ],
                    "type": "object"
                  },
                  "priceDifference": {
                    "type": "number"
                  },
                  "swapper": {
                    "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                    "type": "string"
                  },
                  "tradeType": {
                    "enum": [
                      "EXACT_INPUT",
                      "EXACT_OUTPUT"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "chainId",
                  "swapper",
                  "input",
                  "output",
                  "tradeType"
                ],
                "type": "object"
              },
              {
                "allOf": [
                  {
                    "not": {
                      "anyOf": [
                        {
                          "required": [
                            "provider"
                          ]
                        },
                        {
                          "required": [
                            "approvalSpender"
                          ]
                        },
                        {
                          "required": [
                            "transactionRequest"
                          ]
                        }
                      ]
                    }
                  }
                ],
                "properties": {
                  "chainId": {
                    "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
                    ],
                    "type": "number"
                  },
                  "destinationChainId": {
                    "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
                    ],
                    "type": "number"
                  },
                  "estimatedFillTimeMs": {
                    "type": "number"
                  },
                  "exclusiveRelayer": {
                    "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                    "type": "string"
                  },
                  "exclusivityDeadline": {
                    "type": "number"
                  },
                  "fillDeadline": {
                    "type": "number"
                  },
                  "gasFee": {
                    "type": "string"
                  },
                  "gasFeeUSD": {
                    "type": "string"
                  },
                  "gasPrice": {
                    "type": "string"
                  },
                  "gasUseEstimate": {
                    "type": "string"
                  },
                  "input": {
                    "properties": {
                      "amount": {
                        "pattern": "^[0-9]+$",
                        "type": "string"
                      },
                      "maximumAmount": {
                        "pattern": "^[0-9]+$",
                        "type": "string"
                      },
                      "token": {
                        "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                        "type": "string"
                      }
                    },
                    "required": [
                      "amount",
                      "token"
                    ],
                    "type": "object"
                  },
                  "maxFeePerGas": {
                    "type": "string"
                  },
                  "maxPriorityFeePerGas": {
                    "type": "string"
                  },
                  "output": {
                    "properties": {
                      "amount": {
                        "pattern": "^[0-9]+$",
                        "type": "string"
                      },
                      "minimumAmount": {
                        "pattern": "^[0-9]+$",
                        "type": "string"
                      },
                      "recipient": {
                        "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                        "type": "string"
                      },
                      "token": {
                        "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                        "type": "string"
                      }
                    },
                    "required": [
                      "amount",
                      "token"
                    ],
                    "type": "object"
                  },
                  "priceDifference": {
                    "type": "number"
                  },
                  "quoteId": {
                    "type": "string"
                  },
                  "quoteTimestamp": {
                    "type": "number"
                  },
                  "swapper": {
                    "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                    "type": "string"
                  },
                  "tradeType": {
                    "enum": [
                      "EXACT_INPUT",
                      "EXACT_OUTPUT"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "chainId",
                  "swapper",
                  "input",
                  "output",
                  "tradeType"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "aggregatedOutputs": {
                    "items": {
                      "properties": {
                        "amount": {
                          "pattern": "^[0-9]+$",
                          "type": "string"
                        },
                        "bps": {
                          "multipleOf": 0.01,
                          "type": "number"
                        },
                        "fee": {
                          "enum": [
                            "INTEGRATOR"
                          ],
                          "type": "string"
                        },
                        "minAmount": {
                          "type": "string"
                        },
                        "recipient": {
                          "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                          "type": "string"
                        },
                        "token": {
                          "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "classicGasUseEstimateUSD": {
                    "type": "string"
                  },
                  "encodedOrder": {
                    "type": "string"
                  },
                  "input": {
                    "properties": {
                      "amount": {
                        "pattern": "^[0-9]+$",
                        "type": "string"
                      },
                      "maximumAmount": {
                        "pattern": "^[0-9]+$",
                        "type": "string"
                      },
                      "token": {
                        "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "orderId": {
                    "type": "string"
                  },
                  "orderInfo": {
                    "properties": {
                      "additionalValidationContract": {
                        "deprecated": true,
                        "type": "string"
                      },
                      "additionalValidationData": {
                        "deprecated": true,
                        "type": "string"
                      },
                      "chainId": {
                        "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
                        ],
                        "type": "number"
                      },
                      "deadline": {
                        "type": "number"
                      },
                      "decayEndTime": {
                        "type": "number"
                      },
                      "decayStartTime": {
                        "type": "number"
                      },
                      "exclusiveFiller": {
                        "type": "string"
                      },
                      "exclusivityOverrideBps": {
                        "type": "string"
                      },
                      "input": {
                        "properties": {
                          "endAmount": {
                            "type": "string"
                          },
                          "startAmount": {
                            "type": "string"
                          },
                          "token": {
                            "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                            "type": "string"
                          }
                        },
                        "required": [
                          "startAmount",
                          "endAmount",
                          "type"
                        ],
                        "type": "object"
                      },
                      "nonce": {
                        "type": "string"
                      },
                      "outputs": {
                        "items": {
                          "properties": {
                            "endAmount": {
                              "type": "string"
                            },
                            "recipient": {
                              "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                              "type": "string"
                            },
                            "startAmount": {
                              "type": "string"
                            },
                            "token": {
                              "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                              "type": "string"
                            }
                          },
                          "required": [
                            "startAmount",
                            "endAmount",
                            "token",
                            "recipient"
                          ],
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "reactor": {
                        "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                        "type": "string"
                      },
                      "swapper": {
                        "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                        "type": "string"
                      }
                    },
                    "required": [
                      "chainId",
                      "nonce",
                      "reactor",
                      "swapper",
                      "deadline",
                      "validationContract",
                      "validationData",
                      "startTime",
                      "endTime",
                      "exclusiveFiller",
                      "exclusivityOverrideBps",
                      "input",
                      "outputs"
                    ],
                    "type": "object"
                  },
                  "output": {
                    "properties": {
                      "amount": {
                        "pattern": "^[0-9]+$",
                        "type": "string"
                      },
                      "minimumAmount": {
                        "pattern": "^[0-9]+$",
                        "type": "string"
                      },
                      "recipient": {
                        "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                        "type": "string"
                      },
                      "token": {
                        "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "quoteId": {
                    "type": "string"
                  },
                  "slippageTolerance": {
                    "maximum": 100,
                    "minimum": 0,
                    "pattern": "^[0-9]{0,3}\\.?[0-9]{0,2}$",
                    "type": "number"
                  }
                },
                "required": [
                  "encodedOrder",
                  "orderInfo",
                  "orderId"
                ],
                "type": "object"
              },
              {
                "allOf": [
                  {
                    "not": {
                      "anyOf": [
                        {
                          "required": [
                            "priceDifference"
                          ]
                        }
                      ]
                    }
                  }
                ],
                "properties": {
                  "aggregatedOutputs": {
                    "items": {
                      "properties": {
                        "amount": {
                          "pattern": "^[0-9]+$",
                          "type": "string"
                        },
                        "bps": {
                          "multipleOf": 0.01,
                          "type": "number"
                        },
                        "fee": {
                          "enum": [
                            "INTEGRATOR"
                          ],
                          "type": "string"
                        },
                        "minAmount": {
                          "type": "string"
                        },
                        "recipient": {
                          "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                          "type": "string"
                        },
                        "token": {
                          "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "classicGasUseEstimateUSD": {
                    "type": "string"
                  },
                  "deadlineBufferSecs": {
                    "type": "number"
                  },
                  "encodedOrder": {
                    "type": "string"
                  },
                  "input": {
                    "properties": {
                      "amount": {
                        "pattern": "^[0-9]+$",
                        "type": "string"
                      },
                      "maximumAmount": {
                        "pattern": "^[0-9]+$",
                        "type": "string"
                      },
                      "token": {
                        "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "orderId": {
                    "type": "string"
                  },
                  "orderInfo": {
                    "properties": {
                      "additionalValidationContract": {
                        "deprecated": true,
                        "type": "string"
                      },
                      "additionalValidationData": {
                        "deprecated": true,
                        "type": "string"
                      },
                      "chainId": {
                        "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
                        ],
                        "type": "number"
                      },
                      "cosigner": {
                        "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                        "type": "string"
                      },
                      "deadline": {
                        "type": "number"
                      },
                      "input": {
                        "properties": {
                          "endAmount": {
                            "type": "string"
                          },
                          "startAmount": {
                            "type": "string"
                          },
                          "token": {
                            "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                            "type": "string"
                          }
                        },
                        "required": [
                          "startAmount",
                          "endAmount",
                          "type"
                        ],
                        "type": "object"
                      },
                      "nonce": {
                        "type": "string"
                      },
                      "outputs": {
                        "items": {
                          "properties": {
                            "endAmount": {
                              "type": "string"
                            },
                            "recipient": {
                              "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                              "type": "string"
                            },
                            "startAmount": {
                              "type": "string"
                            },
                            "token": {
                              "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                              "type": "string"
                            }
                          },
                          "required": [
                            "startAmount",
                            "endAmount",
                            "token",
                            "recipient"
                          ],
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "reactor": {
                        "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                        "type": "string"
                      },
                      "swapper": {
                        "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                        "type": "string"
                      }
                    },
                    "required": [
                      "chainId",
                      "nonce",
                      "reactor",
                      "swapper",
                      "deadline",
                      "validationContract",
                      "validationData",
                      "startTime",
                      "endTime",
                      "exclusiveFiller",
                      "exclusivityOverrideBps",
                      "input",
                      "outputs"
                    ],
                    "type": "object"
                  },
                  "output": {
                    "properties": {
                      "amount": {
                        "pattern": "^[0-9]+$",
                        "type": "string"
                      },
                      "minimumAmount": {
                        "pattern": "^[0-9]+$",
                        "type": "string"
                      },
                      "recipient": {
                        "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                        "type": "string"
                      },
                      "token": {
                        "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "quoteId": {
                    "type": "string"
                  },
                  "slippageTolerance": {
                    "maximum": 100,
                    "minimum": 0,
                    "pattern": "^[0-9]{0,3}\\.?[0-9]{0,2}$",
                    "type": "number"
                  }
                },
                "required": [
                  "encodedOrder",
                  "orderInfo",
                  "orderId"
                ],
                "type": "object"
              },
              {
                "allOf": [
                  {
                    "not": {
                      "anyOf": [
                        {
                          "required": [
                            "priceDifference"
                          ]
                        }
                      ]
                    }
                  }
                ],
                "properties": {
                  "aggregatedOutputs": {
                    "items": {
                      "properties": {
                        "amount": {
                          "pattern": "^[0-9]+$",
                          "type": "string"
                        },
                        "bps": {
                          "multipleOf": 0.01,
                          "type": "number"
                        },
                        "fee": {
                          "enum": [
                            "INTEGRATOR"
                          ],
                          "type": "string"
                        },
                        "minAmount": {
                          "type": "string"
                        },
                        "recipient": {
                          "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                          "type": "string"
                        },
                        "token": {
                          "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "classicGasUseEstimateUSD": {
                    "type": "string"
                  },
                  "deadlineBufferSecs": {
                    "type": "number"
                  },
                  "encodedOrder": {
                    "type": "string"
                  },
                  "expectedAmountIn": {
                    "type": "string"
                  },
                  "expectedAmountOut": {
                    "type": "string"
                  },
                  "input": {
                    "properties": {
                      "amount": {
                        "pattern": "^[0-9]+$",
                        "type": "string"
                      },
                      "maximumAmount": {
                        "pattern": "^[0-9]+$",
                        "type": "string"
                      },
                      "token": {
                        "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "orderId": {
                    "type": "string"
                  },
                  "orderInfo": {
                    "properties": {
                      "additionalValidationContract": {
                        "deprecated": true,
                        "type": "string"
                      },
                      "additionalValidationData": {
                        "deprecated": true,
                        "type": "string"
                      },
                      "chainId": {
                        "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
                        ],
                        "type": "number"
                      },
                      "cosigner": {
                        "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                        "type": "string"
                      },
                      "deadline": {
                        "type": "number"
                      },
                      "input": {
                        "properties": {
                          "adjustmentPerGweiBaseFee": {
                            "type": "string"
                          },
                          "curve": {
                            "properties": {
                              "relativeAmounts": {
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "relativeBlocks": {
                                "items": {
                                  "type": "number"
                                },
                                "type": "array"
                              }
                            },
                            "required": [
                              "type"
                            ],
                            "type": "object"
                          },
                          "maxAmount": {
                            "type": "string"
                          },
                          "startAmount": {
                            "type": "string"
                          },
                          "token": {
                            "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                            "type": "string"
                          }
                        },
                        "required": [
                          "startAmount",
                          "maxAmount",
                          "adjustmentPerGweiBaseFee",
                          "curve",
                          "token"
                        ],
                        "type": "object"
                      },
                      "nonce": {
                        "type": "string"
                      },
                      "outputs": {
                        "items": {
                          "properties": {
                            "adjustmentPerGweiBaseFee": {
                              "type": "string"
                            },
                            "curve": {
                              "properties": {
                                "relativeAmounts": {
                                  "items": {
                                    "type": "string"
                                  },
                                  "type": "array"
                                },
                                "relativeBlocks": {
                                  "items": {
                                    "type": "number"
                                  },
                                  "type": "array"
                                }
                              },
                              "required": [
                                "type"
                              ],
                              "type": "object"
                            },
                            "minAmount": {
                              "type": "string"
                            },
                            "recipient": {
                              "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                              "type": "string"
                            },
                            "startAmount": {
                              "type": "string"
                            },
                            "token": {
                              "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                              "type": "string"
                            }
                          },
                          "required": [
                            "startAmount",
                            "maxAmount",
                            "adjustmentPerGweiBaseFee",
                            "curve",
                            "token",
                            "recipient"
                          ],
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "reactor": {
                        "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                        "type": "string"
                      },
                      "startingBaseFee": {
                        "type": "string"
                      },
                      "swapper": {
                        "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                        "type": "string"
                      }
                    },
                    "required": [
                      "chainId",
                      "nonce",
                      "reactor",
                      "swapper",
                      "deadline",
                      "validationContract",
                      "validationData",
                      "startTime",
                      "endTime",
                      "exclusiveFiller",
                      "exclusivityOverrideBps",
                      "input",
                      "outputs"
                    ],
                    "type": "object"
                  },
                  "output": {
                    "properties": {
                      "amount": {
                        "pattern": "^[0-9]+$",
                        "type": "string"
                      },
                      "minimumAmount": {
                        "pattern": "^[0-9]+$",
                        "type": "string"
                      },
                      "recipient": {
                        "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                        "type": "string"
                      },
                      "token": {
                        "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "quoteId": {
                    "type": "string"
                  },
                  "slippageTolerance": {
                    "maximum": 100,
                    "minimum": 0,
                    "pattern": "^[0-9]{0,3}\\.?[0-9]{0,2}$",
                    "type": "number"
                  }
                },
                "required": [
                  "encodedOrder",
                  "orderInfo",
                  "orderId"
                ],
                "type": "object"
              },
              {
                "allOf": [
                  {
                    "not": {
                      "anyOf": [
                        {
                          "required": [
                            "priceDifference"
                          ]
                        }
                      ]
                    }
                  }
                ],
                "properties": {
                  "aggregatedOutputs": {
                    "items": {
                      "properties": {
                        "amount": {
                          "pattern": "^[0-9]+$",
                          "type": "string"
                        },
                        "bps": {
                          "multipleOf": 0.01,
                          "type": "number"
                        },
                        "fee": {
                          "enum": [
                            "INTEGRATOR"
                          ],
                          "type": "string"
                        },
                        "minAmount": {
                          "type": "string"
                        },
                        "recipient": {
                          "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                          "type": "string"
                        },
                        "token": {
                          "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "classicGasUseEstimateUSD": {
                    "type": "string"
                  },
                  "deadlineBufferSecs": {
                    "type": "number"
                  },
                  "encodedOrder": {
                    "type": "string"
                  },
                  "expectedAmountIn": {
                    "pattern": "^[0-9]+$",
                    "type": "string"
                  },
                  "expectedAmountOut": {
                    "pattern": "^[0-9]+$",
                    "type": "string"
                  },
                  "input": {
                    "properties": {
                      "amount": {
                        "pattern": "^[0-9]+$",
                        "type": "string"
                      },
                      "maximumAmount": {
                        "pattern": "^[0-9]+$",
                        "type": "string"
                      },
                      "token": {
                        "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "orderId": {
                    "type": "string"
                  },
                  "orderInfo": {
                    "properties": {
                      "additionalValidationContract": {
                        "deprecated": true,
                        "type": "string"
                      },
                      "additionalValidationData": {
                        "deprecated": true,
                        "type": "string"
                      },
                      "auctionStartBlock": {
                        "type": "string"
                      },
                      "baselinePriorityFeeWei": {
                        "type": "string"
                      },
                      "chainId": {
                        "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
                        ],
                        "type": "number"
                      },
                      "cosigner": {
                        "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                        "type": "string"
                      },
                      "deadline": {
                        "type": "number"
                      },
                      "input": {
                        "properties": {
                          "amount": {
                            "pattern": "^[0-9]+$",
                            "type": "string"
                          },
                          "mpsPerPriorityFeeWei": {
                            "type": "string"
                          },
                          "token": {
                            "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                            "type": "string"
                          }
                        },
                        "required": [
                          "amount",
                          "token",
                          "mpsPerPriorityFeeWei"
                        ],
                        "type": "object"
                      },
                      "nonce": {
                        "type": "string"
                      },
                      "outputs": {
                        "items": {
                          "properties": {
                            "amount": {
                              "pattern": "^[0-9]+$",
                              "type": "string"
                            },
                            "mpsPerPriorityFeeWei": {
                              "type": "string"
                            },
                            "recipient": {
                              "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                              "type": "string"
                            },
                            "token": {
                              "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                              "type": "string"
                            }
                          },
                          "required": [
                            "amount",
                            "token",
                            "recipient",
                            "mpsPerPriorityFeeWei"
                          ],
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "reactor": {
                        "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                        "type": "string"
                      },
                      "swapper": {
                        "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                        "type": "string"
                      }
                    },
                    "required": [
                      "chainId",
                      "nonce",
                      "reactor",
                      "swapper",
                      "deadline",
                      "validationContract",
                      "validationData",
                      "auctionStartBlock",
                      "baselinePriorityFeeWei",
                      "input",
                      "outputs",
                      "cosigner"
                    ],
                    "type": "object"
                  },
                  "output": {
                    "properties": {
                      "amount": {
                        "pattern": "^[0-9]+$",
                        "type": "string"
                      },
                      "minimumAmount": {
                        "pattern": "^[0-9]+$",
                        "type": "string"
                      },
                      "recipient": {
                        "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                        "type": "string"
                      },
                      "token": {
                        "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "quoteId": {
                    "type": "string"
                  },
                  "slippageTolerance": {
                    "maximum": 100,
                    "minimum": 0,
                    "pattern": "^[0-9]{0,3}\\.?[0-9]{0,2}$",
                    "type": "number"
                  }
                },
                "required": [
                  "encodedOrder",
                  "orderInfo",
                  "orderId"
                ],
                "type": "object"
              }
            ]
          },
          "urgency": {
            "oneOf": [
              {
                "enum": [
                  "normal",
                  "fast",
                  "urgent"
                ],
                "type": "string"
              },
              {
                "properties": {
                  "level": {
                    "enum": [
                      "normal",
                      "fast",
                      "urgent"
                    ],
                    "type": "string"
                  },
                  "overrides": {
                    "properties": {
                      "gasLimit": {
                        "type": "string"
                      },
                      "maxFeePerGas": {
                        "type": "string"
                      },
                      "maxPriorityFeePerGas": {
                        "type": "string"
                      }
                    },
                    "type": "object"
                  }
                },
                "required": [
                  "level"
                ],
                "type": "object"
              }
            ]
          }
        },
        "required": [
          "quote"
        ],
        "type": "object"
      },
      "location": "body",
      "name": "body",
      "nullable": false,
      "pointer": "",
      "required": true,
      "type": "object"
    }
  ],
  "billing": {
    "currency": "USD",
    "mode": "fixed",
    "priceMicroUsd": "0",
    "rounding": null,
    "unit": "call",
    "unitQuantity": null
  },
  "examples": []
}
```

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

Generated request template

Generated from input parameters. Replace placeholder values before use.

  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 3

    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-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.
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/uniswap/v1/swap_5792' \
      -X POST \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json' \
      --data-raw '{
      "quote": "<REPLACE_quote>"
    }'
  3. Check the response

    No response example is configured. Verify the actual status and response after an approved API call.

Loading related APIs…

Common questions

Do I need a separate key for every provider?

Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.

Are these providers interchangeable?

No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.

How is this API billed?

API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.

Where do the price and contract come from?

The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.

How do OpenAny Balance and x402 differ?

OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.

Does Playground send a paid request?

Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.

Use Uniswap Create swap EIP 5792 calldata with your agent

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