OpenAny
Get API keyAPI Key
APICrypto & DeFi

uniswap logo
Uniswap Create a gasless order API

Get Uniswap Create a gasless order data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Uniswap, pass parameters such as signature, quote, routing, and retrieve structured data including structured JSON records, identifiers, and response metadata for market reference and account inspection, and integration reference, ready for production pipelines and AI agent automation.

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

Uniswap Create a gasless order API

Prepare your request, then continue with your agent.

Selected price

$0 / call

Provider
Pricing
Connect your agent
On this page

Overview

Overview
Uniswap Create a gasless order API

Uniswap Create a gasless order API

Create a gasless order with the Uniswap API. Provide signature in body, quote in body, routing in body. Response fields are not established by a saved reference for this implementation.

Quick Facts

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

What You Can Build

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

Response Scope

No response-field reference is included in the selected public contract. Inspect the returned payload for your target request before mapping fields in an integration.

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the JSON body and supported fields shown in the request template.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl \
  'https://api.openany.si/v1/agent-apis/uniswap/v1/order' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "signature": "REPLACE_WITH_SIGNATURE",
  "quote": {
    "encodedOrder": "REPLACE_WITH_ENCODEDORDER",
    "orderInfo": {
      "chainId": 1,
      "nonce": "REPLACE_WITH_NONCE",
      "reactor": "0x0000000000000000000000000000000000000000",
      "swapper": "0x0000000000000000000000000000000000000000",
      "deadline": 1,
      "validationContract": "REPLACE_WITH_VALIDATIONCONTRACT",
      "validationData": "REPLACE_WITH_VALIDATIONDATA",
      "startTime": "REPLACE_WITH_STARTTIME",
      "endTime": "REPLACE_WITH_ENDTIME",
      "exclusiveFiller": "REPLACE_WITH_EXCLUSIVEFILLER",
      "exclusivityOverrideBps": "REPLACE_WITH_EXCLUSIVITYOVERRIDEBPS",
      "input": {
        "startAmount": "REPLACE_WITH_STARTAMOUNT",
        "endAmount": "REPLACE_WITH_ENDAMOUNT",
        "type": "REPLACE_WITH_TYPE"
      },
      "outputs": [
        {
          "startAmount": "REPLACE_WITH_STARTAMOUNT",
          "endAmount": "REPLACE_WITH_ENDAMOUNT",
          "token": "0x0000000000000000000000000000000000000000",
          "recipient": "0x0000000000000000000000000000000000000000"
        }
      ]
    },
    "orderId": "REPLACE_WITH_ORDERID"
  },
  "routing": "CLASSIC"
}'

Request and Response Examples

No saved response example is included in this implementation contract. The request is an independent calling template; replace named target placeholders before use.

Published Uniswap Create a gasless order API implementation contract.

Pricing and Billing

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

Frequently Asked Questions

View FAQ

Related APIs

Playground

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

Request parameters
body*object

body

Complete public Uniswap request body. Internal fields are prohibited. Source-only annotations are kept in the raw OpenAPI snapshot.
Enable native ETH input support for UniswapX via ERC20-ETH (EIP-7914). When set to true and `tokenIn` is the native currency address (e.g. `0x0000000000000000000000000000000000000000`), the API may return UniswapX routes that spend native ETH for supported wallets.
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.

Live response

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

Response result

Sellers

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

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

calls

Total $0

API

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

Input parameters

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

ParameterLocationTypeRequiredDescription
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.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}$

routingJSON request bodybodystringYes

enum: "CLASSIC", "DUTCH_LIMIT", "DUTCH_V2", "DUTCH_V3", "BRIDGE", "LIMIT_ORDER", "PRIORITY", "WRAP", "UNWRAP", "CHAINED"

signatureJSON request bodybodystringYes
x-erc20eth-enabledRequest headersheadersbooleanNo

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

x-agent-infoRequest headersheadersstringNo

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

maxLength: 1024

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

Response structure

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

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

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

Examples

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-erc20eth-enabled
    Enable native ETH input support for UniswapX via ERC20-ETH (EIP-7914). When set to true and `tokenIn` is the native currency address (e.g. `0x0000000000000000000000000000000000000000`), the API may return UniswapX routes that spend native ETH for supported wallets.
    x-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/order' \
      -X POST \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json' \
      --data-raw '{
      "signature": "<REPLACE_signature>",
      "quote": "<REPLACE_quote>",
      "routing": "CLASSIC"
    }'
  3. Check the response

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

Common questions

Which inputs identify this request?

Provide signature in body (string); quote in body (documented JSON type); routing in body (string). Keep identifiers and URLs in the formats documented for this implementation.

What type does x-erc20eth-enabled use?

x-erc20eth-enabled uses the JSON type boolean in header. Preserve that type; strings, numbers, booleans and arrays are not interchangeable.

How should I structure the JSON body?

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

Which response fields are established by the public contract?

The selected public contract does not include a response-field reference. Inspect the returned payload before mapping business fields; no additional field names are assumed here.

Which API key should I use?

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

Where can I check the current request price?

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

Use Uniswap Create a gasless order API with your agent

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