Polymarket — Get builder trades
Retrieve trades attributed to a builder code with the Polymarket API. The request takes a builder code. Request fields include next-page cursor (next_cursor). Use it in developer research or a documentation workflow. The GET request schema also lists builder_code, id, market. Use the data in market research, dashboard views, or scheduled data collection for the relevant markets.
- Selected price
- $0 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
Polymarket — Get builder trades
Prepare your request, then continue with your agent.
Selected price
$0 / call
- Provider
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
countintegerdataunknown[]limitintegernext_cursorstring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
count?: number;
data?: Array<unknown>;
limit?: number;
next_cursor?: string;
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
PolymarketCurrent Polymarket — Get builder trades · GET · View API reference | $0 / call | — | —successP50— |
- Unit price
- $0
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.
Total $0
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/polymarket/builder/trades- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/polymarket/builder/trades?builder_code=0x0000000000000000000000000000000000000000000000000000000000000001&market=20006732765674855733524007935991362439352594042415161039767275461950712817548' \
-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 |
|---|---|---|---|---|
builder_code | URL query parametersquery | string | Yes | Builder code to fetch attributed trades for |
id | URL query parametersquery | string | No | Trade ID to filter by specific trade |
market | URL query parametersquery | string | No | Market (condition ID) to filter trades |
asset_id | URL query parametersquery | string | No | Asset ID (token ID) to filter trades |
before | URL query parametersquery | string | No | Filter trades before this Unix timestamp |
after | URL query parametersquery | string | No | Filter trades after this Unix timestamp |
next_cursor | URL query parametersquery | string | No | Cursor for pagination (base64 encoded offset) |
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.
{
"count": 0,
"data": [],
"limit": 300,
"next_cursor": "LTE="
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# Polymarket — Get builder trades
Retrieve trades attributed to a builder code with the Polymarket API. The request takes a builder code. Request fields include next-page cursor (next_cursor). Use it in developer research or a documentation workflow. The GET request schema also lists builder_code, id, market. Use the data in market research, dashboard views, or scheduled data collection for the relevant markets.
## Available implementations
Polymarket · Polymarket — Get builder trades: https://openany.si/markets/apis/capabilities/polymarket-get-builder-trades?offering=c9fe9949-06e3-470a-bc23-a9921bb9eec3 · $0 / call
## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/polymarket-get-builder-trades
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/polymarket/builder/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/builder/trades?builder_code=0x0000000000000000000000000000000000000000000000000000000000000001&market=20006732765674855733524007935991362439352594042415161039767275461950712817548' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'
```
## API contract
```json
{
"resource_type": "api",
"name": "Polymarket — Get builder trades",
"endpoint": "https://api.openany.si/v1/agent-apis/polymarket/builder/trades",
"method": "GET",
"content_type": "none",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Builder code to fetch attributed trades for",
"location": "query",
"name": "builder_code",
"nullable": false,
"required": true,
"type": "string"
},
{
"description": "Trade ID to filter by specific trade",
"location": "query",
"name": "id",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Market (condition ID) to filter trades",
"location": "query",
"name": "market",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Asset ID (token ID) to filter trades",
"location": "query",
"name": "asset_id",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Filter trades before this Unix timestamp",
"location": "query",
"name": "before",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Filter trades after this Unix timestamp",
"location": "query",
"name": "after",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Cursor for pagination (base64 encoded offset)",
"location": "query",
"name": "next_cursor",
"nullable": false,
"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": {
"builder_code": "0x0000000000000000000000000000000000000000000000000000000000000001",
"market": "20006732765674855733524007935991362439352594042415161039767275461950712817548"
}
},
"response_body": {
"count": 0,
"data": [],
"limit": 300,
"next_cursor": "LTE="
}
}
]
}
```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. |
Examples
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 7
Review these request fields before running. Keep the published provider and request method unchanged.
builder_code- Builder code to fetch attributed trades for
id- Trade ID to filter by specific trade
market- Market (condition ID) to filter trades
asset_id- Asset ID (token ID) to filter trades
before- Filter trades before this Unix timestamp
after- Filter trades after this Unix timestamp
next_cursor- Cursor for pagination (base64 encoded offset)
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/polymarket/builder/trades?builder_code=0x0000000000000000000000000000000000000000000000000000000000000001&market=20006732765674855733524007935991362439352594042415161039767275461950712817548' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "count": 0, "data": [], "limit": 300, "next_cursor": "LTE=" }