# Uniswap Get swap status API

Get Uniswap Get swap status data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Uniswap, pass parameters such as chainId, txHashes, and retrieve structured data including request identifier, reported status, returned swap type field, and returned tx hash field for market reference and account inspection, and integration reference.

Documentation: https://openany.si/uniswap/uniswap-get-swap-status/
API ID: 3ee118ab-10f9-45d4-81bb-ce3ce0e66624
Provider: uniswap
Contract revision: 6
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/uniswap/v1/swaps
Page update time: 2026-12-03T02:49:48.846Z
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: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0 / call
The published contract currently has no usage charge. Authentication and service limits still apply.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:49:48.846Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Uniswap Get swap status API

Retrieve swap status with the Uniswap API. Review the optional inputs supported by the selected implementation. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.

## What You Can Build

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

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `requestId` | Request identifier |
| `swaps[].status` | Reported status |
| `swaps[].swapType` | Returned swap type field |
| `swaps[].txHash` | Returned tx hash field |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Uniswap Get swap status 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": {
        "txHashes": {
          "type": "string",
          "description": "On-chain transaction hashes. At least one of txHashes or userOpHashes must be provided.",
          "minLength": 1
        },
        "userOpHashes": {
          "type": "string",
          "description": "ERC-4337 UserOperation hashes. At least one of txHashes or userOpHashes must be provided.",
          "minLength": 1
        },
        "chainId": {
          "type": "number",
          "description": "Native chainId parameter.",
          "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
          ]
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {
        "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
        }
      }
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "requestId": {
      "type": "string"
    },
    "swaps": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string"
          },
          "swapType": {
            "type": "string"
          },
          "txHash": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

## Request example
Scenario: swap
```bash
curl \
  'https://api.openany.si/v1/agent-apis/uniswap/v1/swaps?chainId=1&txHashes=0x1b2424a7e661a5376e7aa85efe868c6f8ce2037732d7d51d84505670d37dc69a' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
{
  "requestId": "6a142c1b4352c7109df2e62f0469b072",
  "swaps": [
    {
      "status": "SUCCESS",
      "swapType": "CLASSIC",
      "txHash": "0x1b2424a7e661a5376e7aa85efe868c6f8ce2037732d7d51d84505670d37dc69a"
    }
  ]
}
```

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

## Common questions
### Does this implementation require business input parameters?
No business input is marked as required by the selected schema. Review any optional filters and the documented request format before calling.

### Which values can I use for chainId?
The selected schema accepts 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. Keep the documented number type and exact spelling for this input.

### Where do URL parameters belong?
Use the documented path and query inputs. This GET implementation does not use a JSON request body; keep path values and URL query values in their declared locations.

### How should I map the returned fields?
Use the documented response paths with their returned types. Keep null, empty collections, false and zero distinct, and retain the identifiers needed to match results to the request.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

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