# 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.

Documentation: https://openany.si/market/apis/uniswap/uniswap-create-a-gasless-order/
API ID: 788c4eba-30b4-4d1a-96d4-d4cc61741082
Provider: uniswap
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/uniswap/v1/order
Page update time: 2026-12-03T02:49:48.976Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:49:48.976Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Uniswap Create a gasless order API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {
        "x-erc20eth-enabled": {
          "type": "boolean",
          "description": "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": {
          "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.",
          "maxLength": 1024
        }
      }
    },
    "body": {
      "description": "Complete public Uniswap request body. Internal fields are prohibited. Source-only annotations are kept in the raw OpenAPI snapshot.",
      "properties": {
        "quote": {
          "oneOf": [
            {
              "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"
            }
          ]
        },
        "routing": {
          "enum": [
            "CLASSIC",
            "DUTCH_LIMIT",
            "DUTCH_V2",
            "DUTCH_V3",
            "BRIDGE",
            "LIMIT_ORDER",
            "PRIORITY",
            "WRAP",
            "UNWRAP",
            "CHAINED"
          ],
          "type": "string"
        },
        "signature": {
          "type": "string"
        }
      },
      "required": [
        "signature",
        "quote",
        "routing"
      ],
      "type": "object"
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Request example
Generated from input parameters. Replace placeholders before use.
```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_signature>",
  "quote": "<REPLACE_quote>",
  "routing": "CLASSIC"
}'
```

## Response example
No response example is configured.

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
