---
title: "Polymarket Trades"
method: GET
path: "/gateway/v1/prediction-market/polymarket/trades"
tags: ["Prediction Market"]
---

# Polymarket Trades

`GET /gateway/v1/prediction-market/polymarket/trades`

## Request

- Base URL: `https://api.asksurf.ai`
- URL: `https://api.asksurf.ai/gateway/v1/prediction-market/polymarket/trades`
- Auth: HTTP bearer

Trade and activity history for a Polymarket market or wallet.

Filter by market (condition_id), wallet (address), outcome (Yes/No), minimum trade size, and time range. Use type=redemption for splits/merges/redemptions, type=all for everything.

**Data refresh:** ~5 minutes

## Query parameters

- `condition_id` string: Market condition identifier
- `address` string: Wallet address — returns trades where the address is maker or taker
- `type` 'trade' | 'redemption' | 'all': Filter by activity type: `trade` (default, spot trades only), `redemption` (splits/merges/redemptions), or `all` (all activity). Use `redemption` or `all` to get non-trade wallet activity; `address` is required for these types.
- `outcome_label` 'Yes' | 'No': Filter by outcome label: `Yes` or `No`
- `min_amount` number, double: Minimum trade amount in USD
- `from` string: Start of time range. Accepts Unix seconds (`1704067200`) or date string (`2024-01-01`)
- `to` string: End of time range. Accepts Unix seconds (`1706745600`) or date string (`2024-02-01`)
- `sort_by` 'timestamp' | 'notional_volume_usd': Field to sort results by
- `limit` integer: Results per page
- `offset` integer: Pagination offset

## Response `200`

OK

- DataResponseInterface
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `data` unknown[], nullable, required
    - unknown
  - `meta` OffsetMeta, required
    - `cached` boolean, required: Whether this response was served from cache
    - `credits_used` integer, required: Credits deducted for this request
    - `empty_reason` string: Hint explaining why the data array is empty, when applicable
    - `has_more` boolean: Whether more items may exist beyond this response. For offset-paged endpoints, continue with a larger offset. For time-series endpoints without offset/cursor controls, true means the requested time range hit an upstream cap; narrow from/to to continue. Omitted when exhaustion cannot be proven.
    - `limit` integer, required: Maximum number of items returned in this response
    - `offset` integer, required: Number of items skipped (pagination offset)
    - `total` integer: Total number of matching items (before pagination). Omitted when total is unknown.
    - `watermark` integer: Warehouse watermark (Unix seconds) this response was computed at, on warehouse-backed endpoints (e.g. Hyperliquid /trades/aggregate) — rows up to this time come from the warehouse, newer rows from the live tail. Omitted elsewhere.

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/asksurf/apis/asksurf-public-rest-api.md) - [All operations](https://skmtc.dev/asksurf/apis/asksurf-public-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/asksurf/apis/asksurf-public-rest-api/revisions/91774fdd5302?raw)
