Polymarket — List trades
List trades with the Polymarket API. The sample response includes prices and titles. Request fields include pagination cursor (cursor), result limit (limit), event ID (event_id). Use it for on-chain or crypto market research. The GET request schema also lists user. Use the data in market research, dashboard views, or scheduled data collection for the relevant markets.
- Selected price
- $0 / callPublished pricing
- Sellers / implementations
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
PolymarketCurrent Polymarket — List trades · GET | $0 / call | — | —successP50— |
Run sends a real API request. Charges follow the published API contract.
Response structure
dataobject[]biostringcondition_idstringevent_slugstringiconstringnamestringoutcomestringoutcome_indexintegerpricenumberprofile_imagestringprofile_image_optimizedstringproxy_walletstringpseudonymstringsidestringsizenumberslugstringtimestampintegertitlestringtoken_idstringtransaction_hashstring
paginationobjecthas_morebooleanlimitintegernext_cursorstringoffsetinteger
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
data?: Array<{
bio?: string;
condition_id?: string;
event_slug?: string;
icon?: string;
name?: string;
outcome?: string;
outcome_index?: number;
price?: number;
profile_image?: string;
profile_image_optimized?: string;
proxy_wallet?: string;
pseudonym?: string;
side?: string;
size?: number;
slug?: string;
timestamp?: number;
title?: string;
token_id?: string;
transaction_hash?: string;
}>;
pagination?: {
has_more?: boolean;
limit?: number;
next_cursor?: string;
offset?: number;
};
};- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/polymarket/v2/trades- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/polymarket/v2/trades?limit=2' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
user | URL query parametersquery | string | null | No | Address to filter by; omit for the market/event/global feed. |
limit | URL query parametersquery | integer | null | No | First-page size. Ignored when `cursor` is supplied (the cursor's size wins). minimum: 0 · maximum: 1000 |
cursor | URL query parametersquery | string | null | No | Opaque pagination cursor from a prior response's `next_cursor`. |
taker_only | URL query parametersquery | boolean | null | No | Defaults to `true`: each fill is served once, on its taker side. `false` includes the maker rows too. |
filter_type | URL query parametersquery | string | null | No | CASH or TOKENS; defaults to TOKENS. |
filter_amount | URL query parametersquery | number | null | No | Minimum trade size; defaults to 0.01, and 0 means the same. |
start | URL query parametersquery | integer | null | No | Window start on `block_timestamp`, epoch seconds (inclusive); honored on the `user` shape only. Omitted or `0` floors to three years back; `start=1` asks for full history. The `condition`/`event_id` shapes serve a fixed three-year window and the bare feed the rolling current-plus-previous month, ignoring both bounds. |
end | URL query parametersquery | integer | null | No | Window end, epoch seconds (inclusive); honored on the `user` shape only; omitted or `0` means now plus one day. |
condition | URL query parametersquery | string | null | No | Condition id(s), comma-separated (at most 20 distinct values). `condition_id` / `conditionId` are accepted aliases. |
event_id | URL query parametersquery | string | null | No | Event id(s), comma-separated (at most 20 distinct values). |
side | URL query parametersquery | string | null | No | BUY or SELL. |
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Sample response · Documented HTTP 200 Published documentation example. Verify the actual response after an approved call.
{
"data": [
{
"bio": "",
"condition_id": "0x39b9308e565f5a95605b799fab8f0bf6d97cdeae77f742315b0755e605f3e357",
"event_slug": "",
"icon": "https://polymarket-upload.s3.us-east-2.amazonaws.com/test-nyc-weather-pciture-cgUEW73XBkei.jpg",
"name": "0x0C0B89762dE607A86D6a7D3D3DD4175408929d07-1791170879886",
"outcome": "No",
"outcome_index": 999,
"price": 0.986,
"profile_image": "",
"profile_image_optimized": "",
"proxy_wallet": "0x0c0b89762de607a86d6a7d3d3dd4175408929d07",
"pseudonym": "Perfect-Puzzle-Shoe",
"side": "BUY",
"size": 8.07,
"slug": "lowest-temperature-in-nyc-on-october-29-2026-52-53f",
"timestamp": 1793282611,
"title": "Will the lowest temperature in New York City be between 52-53°F on October 29?",
"token_id": "93829812180784549388634961245407587691211652324002258468497543757720432955776",
"transaction_hash": "0x5e5bd2b1b3feecb2f3df144a9ab27416d1a131ac0a81d046ec20b472f22b337e"
},
{
"bio": "",
"condition_id": "0x39b9308e565f5a95605b799fab8f0bf6d97cdeae77f742315b0755e605f3e357",
"event_slug": "",
"icon": "https://polymarket-upload.s3.us-east-2.amazonaws.com/test-nyc-weather-pciture-cgUEW73XBkei.jpg",
"name": "0x1aBc2b469b5dED495d6C8B21Fc79dcb8d8f345E7-1778811281023",
"outcome": "No",
"outcome_index": 999,
"price": 0.9896,
"profile_image": "",
"profile_image_optimized": "",
"proxy_wallet": "0x1abc2b469b5ded495d6c8b21fc79dcb8d8f345e7",
"pseudonym": "Pure-Eyeliner",
"side": "BUY",
"size": 9,
"slug": "lowest-temperature-in-nyc-on-october-29-2026-52-53f",
"timestamp": 1793282611,
"title": "Will the lowest temperature in New York City be between 52-53°F on October 29?",
"token_id": "93829812180784549388634961245407587691211652324002258468497543757720432955776",
"transaction_hash": "0xc4db8a705168fca1122bc9e523727660d38cec6ed2bc8ec7425bf4be00613991"
}
],
"pagination": {
"has_more": true,
"limit": 2,
"next_cursor": "eyJkYXRhIjp7InR5cGUiOiJ0cmFkZXMiLCJwYXJhbXMiOnsibCI6MiwidHMiOjE3OTMyODI2MTEsInNxIjoiOTYzODQ4MjEwMDA2MTA2MjEwIiwiZCI6Mn19LCJzaWciOiI1MzAzNjRjNDk5MjllNzU2MDkyNzI3Y2YyY2UxOWZiYyJ9",
"offset": 0
}
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# Polymarket — List trades
List trades with the Polymarket API. The sample response includes prices and titles. Request fields include pagination cursor (cursor), result limit (limit), event ID (event_id). Use it for on-chain or crypto market research. The GET request schema also lists user. Use the data in market research, dashboard views, or scheduled data collection for the relevant markets.
## Available implementations
Polymarket · Polymarket — List trades: https://openany.si/markets/apis/capabilities/polymarket-list-trades?offering=b400e725-9688-44aa-81e4-1263d91efbc9 · $0 / call
## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/polymarket-list-trades
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/polymarket/v2/trades
Price: $0 / call
Provider: Polymarket
Contract revision: 3
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'https://api.openany.si/v1/agent-apis/polymarket/v2/trades?limit=2' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'
```
## API contract
```json
{
"resource_type": "api",
"name": "Polymarket — List trades",
"endpoint": "https://api.openany.si/v1/agent-apis/polymarket/v2/trades",
"method": "GET",
"content_type": "none",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Address to filter by; omit for the market/event/global feed.",
"location": "query",
"name": "user",
"nullable": true,
"required": false,
"type": "string"
},
{
"description": "First-page size. Ignored when `cursor` is supplied (the cursor's size wins).",
"location": "query",
"maximum": "1000",
"minimum": "0",
"name": "limit",
"nullable": true,
"required": false,
"type": "integer"
},
{
"description": "Opaque pagination cursor from a prior response's `next_cursor`.",
"location": "query",
"name": "cursor",
"nullable": true,
"required": false,
"type": "string"
},
{
"description": "Defaults to `true`: each fill is served once, on its taker side.\n`false` includes the maker rows too.",
"location": "query",
"name": "taker_only",
"nullable": true,
"required": false,
"type": "boolean"
},
{
"description": "CASH or TOKENS; defaults to TOKENS.",
"location": "query",
"name": "filter_type",
"nullable": true,
"required": false,
"type": "string"
},
{
"description": "Minimum trade size; defaults to 0.01, and 0 means the same.",
"location": "query",
"name": "filter_amount",
"nullable": true,
"required": false,
"type": "number"
},
{
"description": "Window start on `block_timestamp`, epoch seconds (inclusive); honored\non the `user` shape only. Omitted or `0` floors to three years back;\n`start=1` asks for full history. The `condition`/`event_id` shapes\nserve a fixed three-year window and the bare feed the rolling\ncurrent-plus-previous month, ignoring both bounds.",
"location": "query",
"name": "start",
"nullable": true,
"required": false,
"type": "integer"
},
{
"description": "Window end, epoch seconds (inclusive); honored on the `user` shape\nonly; omitted or `0` means now plus one day.",
"location": "query",
"name": "end",
"nullable": true,
"required": false,
"type": "integer"
},
{
"description": "Condition id(s), comma-separated (at most 20 distinct values).\n`condition_id` / `conditionId` are accepted aliases.",
"location": "query",
"name": "condition",
"nullable": true,
"required": false,
"type": "string"
},
{
"description": "Event id(s), comma-separated (at most 20 distinct values).",
"location": "query",
"name": "event_id",
"nullable": true,
"required": false,
"type": "string"
},
{
"description": "BUY or SELL.",
"location": "query",
"name": "side",
"nullable": true,
"required": false,
"type": "string"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "0",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Documentation example",
"request": {
"body": null,
"headers": {},
"path": {},
"query": {
"limit": 2
}
},
"response_body": {
"data": [
{
"bio": "",
"condition_id": "0x39b9308e565f5a95605b799fab8f0bf6d97cdeae77f742315b0755e605f3e357",
"event_slug": "",
"icon": "https://polymarket-upload.s3.us-east-2.amazonaws.com/test-nyc-weather-pciture-cgUEW73XBkei.jpg",
"name": "0x0C0B89762dE607A86D6a7D3D3DD4175408929d07-1791170879886",
"outcome": "No",
"outcome_index": 999,
"price": 0.986,
"profile_image": "",
"profile_image_optimized": "",
"proxy_wallet": "0x0c0b89762de607a86d6a7d3d3dd4175408929d07",
"pseudonym": "Perfect-Puzzle-Shoe",
"side": "BUY",
"size": 8.07,
"slug": "lowest-temperature-in-nyc-on-october-29-2026-52-53f",
"timestamp": 1793282611,
"title": "Will the lowest temperature in New York City be between 52-53°F on October 29?",
"token_id": "93829812180784549388634961245407587691211652324002258468497543757720432955776",
"transaction_hash": "0x5e5bd2b1b3feecb2f3df144a9ab27416d1a131ac0a81d046ec20b472f22b337e"
},
{
"bio": "",
"condition_id": "0x39b9308e565f5a95605b799fab8f0bf6d97cdeae77f742315b0755e605f3e357",
"event_slug": "",
"icon": "https://polymarket-upload.s3.us-east-2.amazonaws.com/test-nyc-weather-pciture-cgUEW73XBkei.jpg",
"name": "0x1aBc2b469b5dED495d6C8B21Fc79dcb8d8f345E7-1778811281023",
"outcome": "No",
"outcome_index": 999,
"price": 0.9896,
"profile_image": "",
"profile_image_optimized": "",
"proxy_wallet": "0x1abc2b469b5ded495d6c8b21fc79dcb8d8f345e7",
"pseudonym": "Pure-Eyeliner",
"side": "BUY",
"size": 9,
"slug": "lowest-temperature-in-nyc-on-october-29-2026-52-53f",
"timestamp": 1793282611,
"title": "Will the lowest temperature in New York City be between 52-53°F on October 29?",
"token_id": "93829812180784549388634961245407587691211652324002258468497543757720432955776",
"transaction_hash": "0xc4db8a705168fca1122bc9e523727660d38cec6ed2bc8ec7425bf4be00613991"
}
],
"pagination": {
"has_more": true,
"limit": 2,
"next_cursor": "eyJkYXRhIjp7InR5cGUiOiJ0cmFkZXMiLCJwYXJhbXMiOnsibCI6MiwidHMiOjE3OTMyODI2MTEsInNxIjoiOTYzODQ4MjEwMDA2MTA2MjEwIiwiZCI6Mn19LCJzaWciOiI1MzAzNjRjNDk5MjllNzU2MDkyNzI3Y2YyY2UxOWZiYyJ9",
"offset": 0
}
}
}
]
}
```Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Documentation example
Published documentation example. Verify the actual response after an approved call.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 11
Review these request fields before running. Keep the published provider and request method unchanged.
user- Address to filter by; omit for the market/event/global feed.
limit- First-page size. Ignored when `cursor` is supplied (the cursor's size wins).
cursor- Opaque pagination cursor from a prior response's `next_cursor`.
taker_only- Defaults to `true`: each fill is served once, on its taker side. `false` includes the maker rows too.
filter_type- CASH or TOKENS; defaults to TOKENS.
filter_amount- Minimum trade size; defaults to 0.01, and 0 means the same.
start- Window start on `block_timestamp`, epoch seconds (inclusive); honored on the `user` shape only. Omitted or `0` floors to three years back; `start=1` asks for full history. The `condition`/`event_id` shapes serve a fixed three-year window and the bare feed the rolling current-plus-previous month, ignoring both bounds.
end- Window end, epoch seconds (inclusive); honored on the `user` shape only; omitted or `0` means now plus one day.
condition- Condition id(s), comma-separated (at most 20 distinct values). `condition_id` / `conditionId` are accepted aliases.
event_id- Event id(s), comma-separated (at most 20 distinct values).
side- BUY or SELL.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/polymarket/v2/trades?limit=2' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "data": [ { "bio": "", "condition_id": "0x39b9308e565f5a95605b799fab8f0bf6d97cdeae77f742315b0755e605f3e357", "event_slug": "", "icon": "https://polymarket-upload.s3.us-east-2.amazonaws.com/test-nyc-weather-pciture-cgUEW73XBkei.jpg", "name": "0x0C0B89762dE607A86D6a7D3D3DD4175408929d07-1791170879886", "outcome": "No", "outcome_index": 999, "price": 0.986, "profile_image": "", "profile_image_optimized": "", "proxy_wallet": "0x0c0b89762de607a86d6a7d3d3dd4175408929d07", "pseudonym": "Perfect-Puzzle-Shoe", "side": "BUY", "size": 8.07, "slug": "lowest-temperature-in-nyc-on-october-29-2026-52-53f", "timestamp": 1793282611, "title": "Will the lowest temperature in New York City be between 52-53°F on October 29?", "token_id": "93829812180784549388634961245407587691211652324002258468497543757720432955776", "transaction_hash": "0x5e5bd2b1b3feecb2f3df144a9ab27416d1a131ac0a81d046ec20b472f22b337e" }, { "bio": "", "condition_id": "0x39b9308e565f5a95605b799fab8f0bf6d97cdeae77f742315b0755e605f3e357", "event_slug": "", "icon": "https://polymarket-upload.s3.us-east-2.amazonaws.com/test-nyc-weather-pciture-cgUEW73XBkei.jpg", "name": "0x1aBc2b469b5dED495d6C8B21Fc79dcb8d8f345E7-1778811281023", "outcome": "No", "outcome_index": 999, "price": 0.9896, "profile_image": "", "profile_image_optimized": "", "proxy_wallet": "0x1abc2b469b5ded495d6c8b21fc79dcb8d8f345e7", "pseudonym": "Pure-Eyeliner", "side": "BUY", "size": 9, "slug": "lowest-temperature-in-nyc-on-october-29-2026-52-53f", "timestamp": 1793282611, "title": "Will the lowest temperature in New York City be between 52-53°F on October 29?", "token_id": "93829812180784549388634961245407587691211652324002258468497543757720432955776", "transaction_hash": "0xc4db8a705168fca1122bc9e523727660d38cec6ed2bc8ec7425bf4be00613991" } ], "pagination": { "has_more": true, "limit": 2, "next_cursor": "eyJkYXRhIjp7InR5cGUiOiJ0cmFkZXMiLCJwYXJhbXMiOnsibCI6MiwidHMiOjE3OTMyODI2MTEsInNxIjoiOTYzODQ4MjEwMDA2MTA2MjEwIiwiZCI6Mn19LCJzaWciOiI1MzAzNjRjNDk5MjllNzU2MDkyNzI3Y2YyY2UxOWZiYyJ9", "offset": 0 } }
Common questions
Do I need a separate key for every provider?
Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.
Are these providers interchangeable?
No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.
How is this API billed?
API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.
Where do the price and contract come from?
The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.
How do OpenAny Balance and x402 differ?
OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.
Does Playground send a paid request?
Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.
Use Polymarket — List trades with your agent
Inspect endpoint contracts and confirm availability and pricing before a paid call.