GET
/
orders
curl --request GET \
  --url https://trade-api.gateway.uniswap.org/v1/orders \
  --header 'x-api-key: <api-key>'
{
  "requestId": "<string>",
  "orders": [
    {
      "type": "DutchLimit",
      "encodedOrder": "<string>",
      "signature": "<string>",
      "nonce": "<string>",
      "orderStatus": "open",
      "orderId": "<string>",
      "chainId": 1,
      "quoteId": "<string>",
      "swapper": "<string>",
      "txHash": "<string>",
      "input": {
        "token": "<string>",
        "startAmount": "<string>",
        "endAmount": "<string>"
      },
      "outputs": [
        {
          "token": "<string>",
          "startAmount": "<string>",
          "endAmount": "<string>",
          "isFeeOutput": true,
          "recipient": "<string>"
        }
      ],
      "settledAmounts": [
        {
          "tokenOut": "<string>",
          "amountOut": "<string>",
          "tokenIn": "<string>",
          "amountIn": "<string>"
        }
      ],
      "cosignature": "<string>",
      "cosignerData": {
        "decayStartTime": 123,
        "decayEndTime": 123,
        "exclusiveFiller": "<string>",
        "inputOverride": "<string>",
        "outputOverrides": [
          "<string>"
        ]
      }
    }
  ],
  "cursor": "<string>"
}

Authorizations

x-api-key
string
header
required

Query Parameters

orderType
enum<string>

The default orderType is Dutch_V1_V2 and will grab both Dutch and Dutch_V2 orders.

Available options:
Dutch,
Dutch_V2,
Dutch_V1_V2,
Dutch_V3,
Limit,
Priority
orderId
string

A unique ID for the order. Used to track the order's status.

orderIds
string

A list of comma separated orderIds.

limit
number
orderStatus
enum<string>

Filter by order status.

Available options:
open,
expired,
error,
cancelled,
filled,
unverified,
insufficient-funds
swapper
string

Filter by swapper address.

sortKey
enum<string>

Order the query results by the sort key.

Available options:
createdAt
sort
string

Sort query. For example: sort=gt(UNIX_TIMESTAMP), sort=between(1675872827, 1675872930), or lt(1675872930).

filler
string

Filter by filler address.

cursor
string

Response

200
application/json

The request orders matching the query parameters.

The response is of type object.