---
title: "Search Swaps"
method: POST
path: "/gateway/swaps/search"
tags: ["Gateway Swaps"]
---

# Search Swaps

`POST /gateway/swaps/search`

Search swap history with filters.

Args:
    network: Filter by network (e.g., 'solana-mainnet-beta')
    connector: Filter by connector (e.g., 'jupiter')
    wallet_address: Filter by wallet address
    trading_pair: Filter by trading pair (e.g., 'SOL-USDC')
    status: Filter by status (SUBMITTED, CONFIRMED, FAILED)
    start_time: Start timestamp (unix seconds)
    end_time: End timestamp (unix seconds)
    limit: Max results (default 50, max 1000)
    offset: Pagination offset

Returns:
    Paginated list of swaps

## Query parameters

- `network` string, nullable
- `connector` string, nullable
- `wallet_address` string, nullable
- `trading_pair` string, nullable
- `status` string, nullable
- `start_time` integer, nullable
- `end_time` integer, nullable
- `limit` integer
- `offset` integer

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/hummingbot/apis/hummingbot-api.md) · [All operations](https://skmtc.net/hummingbot/apis/hummingbot-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hummingbot/hummingbot-api/versions/5347fe79537f/schema)
