Polymarket Get user activity

https://api.sandbase.ai/v1/api/polymarket/activity

Get user activity from Polymarket. Returns the official Polymarket API response unchanged.

Price
$0.01USD / callFirst 100 calls per day free (shared per organization)
Method
POST
Response
JSON
Parameters
1 required · 11 optional
Production route

Try the model

Playground

Open playground
Input
Upper-bound timestamp (epoch seconds) for the activity window. Omit for the default (current time); rows newer than `end` are excluded. Minimum: 0.
Comma-separated list of event IDs. Mutually exclusive with market.
Excludes deposit and withdrawal records. The default `true` applies even when `type` requests those records, so to get deposits and withdrawals you must pass `false`.
0500
Page size. Values above the maximum are clamped to 500. Range: 0 to 500.
Comma-separated list of condition IDs. Mutually exclusive with eventId.
Starting index for pagination. Requests past the cap are rejected with a 400 (never silently clamped). To read history deeper than offset 5000, page inside `start`/`end` windows — each window has its own offset budget. Range: 0 to 5000.
side Allowed values: BUY, SELL.
sortBy Allowed values: TIMESTAMP, TOKENS, CASH.
`DESC` (default) returns the newest rows first; `ASC` the oldest first. Both orders are stable — the same query returns the same rows at any `limit`/`offset`, so pages compose without gaps or repeats. Allowed values: ASC, DESC.
Lower-bound timestamp (epoch seconds) for the activity window. Omit or pass `0` for the default window (most recent ~3 years); pass a positive epoch (e.g. `1`) to retrieve full history. With `sortDirection=ASC`, omitting `start` already reads from the beginning of the account's history (no default w Minimum: 0.
Comma-separated list of activity types to include. DEPOSIT and WITHDRAWAL records also require `excludeDepositsWithdrawals=false`.
User Profile Address (0x-prefixed, 40 hex chars)
OutputReady

Your output will appear here

Complete the inputs, then click Run.

Model card

Specifications

Pricing

Base price
$0.01 / run
Daily free calls
First 100 calls per day free (shared per organization)

Request & response

Method
POST
Request body
application/json
Response
application/json
Execution
sync

Parameters

user
string · required
end
integer · optional
eventId
array · optional
excludeDepositsWithdrawals
boolean · optional
limit
integer · optional
market
array · optional
offset
integer · optional
side
string (BUY, SELL) · optional
sortBy
string (TIMESTAMP, TOKENS, CASH) · optional
sortDirection
string (ASC, DESC) · optional
start
integer · optional
type
array · optional

Access

Provider
Polymarket
API
Platform API
Base URL
https://api.sandbase.ai
Endpoint
/v1/api/polymarket/activity
Authentication
Bearer API key

API README

Polymarket Get user activity API

Get user activity from Polymarket. Returns the official Polymarket API response unchanged.

The response is the official Polymarket API response, unchanged.

Request

curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "polymarket/activity", "user": "0xfe787d2da716d60e8acff57fb87eb13cd4d10319", "limit": 2}'

Parameters

NameTypeRequiredDescription
endintegerNoUpper-bound timestamp (epoch seconds) for the activity window. Omit for the default (current time); rows newer than end are excluded.
eventIdarrayNoComma-separated list of event IDs. Mutually exclusive with market.
excludeDepositsWithdrawalsbooleanNoExcludes deposit and withdrawal records. The default true applies even when type requests those records, so to get deposits and withdrawals you must pass `f
limitintegerNoPage size. Values above the maximum are clamped to 500.
marketarrayNoComma-separated list of condition IDs. Mutually exclusive with eventId.
offsetintegerNoStarting index for pagination. Requests past the cap are rejected with a 400 (never silently clamped). To read history deeper than offset 5000, page inside `sta
sidestringNoside
sortBystringNosortBy
sortDirectionstringNoDESC (default) returns the newest rows first; ASC the oldest first. Both orders are stable — the same query returns the same rows at any limit/offset, s
startintegerNoLower-bound timestamp (epoch seconds) for the activity window. Omit or pass 0 for the default window (most recent ~3 years); pass a positive epoch (e.g. 1)
typearrayNoComma-separated list of activity types to include. DEPOSIT and WITHDRAWAL records also require excludeDepositsWithdrawals=false.
userstringYesUser Profile Address (0x-prefixed, 40 hex chars)

Pricing

Flat price per call. Failed calls are not charged.

Start building

Send your first request

Platform API endpoint with unified authentication and usage tracking.

Production API
Platform API endpoint
https://api.sandbase.ai/v1/api/polymarket/activity
Authorization header
Authorization: Bearer $SANDBASE_API_KEY
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/api/polymarket/activity" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "user": "0x56687bf447db6ffa42ffe2204a05edaa20f55839",
  "limit": 2,
  "offset": 0,
  "sortBy": "TIMESTAMP",
  "sortDirection": "DESC",
  "excludeDepositsWithdrawals": true
}
SANDBASE_JSON
)
printf '%s\n' "$result"

Explore more

Related APIs

All APIs
APIPriceResponseReleased
Polymarket$0.01 per callJSONOct 30, 2026
Polymarket$0.01 per callJSONOct 30, 2026
Polymarket$0.01 per callJSONOct 30, 2026
Polymarket$0.01 per callJSONOct 30, 2026
Polymarket$0.01 per callJSONOct 30, 2026
Polymarket$0.01 per callJSONOct 30, 2026

Questions

FAQ

How do I use the Polymarket Get user activity API?

Send a POST request to https://api.sandbase.ai/v1/api/polymarket/activity with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the Polymarket Get user activity API cost?

$0.01 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

What parameters does the Polymarket Get user activity API accept?

Required: user (string). Optional: end (integer), eventId (array), excludeDepositsWithdrawals (boolean), limit (integer), market (array) and offset (integer) and 5 more. The Parameters table and the Playground on this page list every field.

What does the Polymarket Get user activity API return?

A JSON response returned in the same HTTP request (synchronous).

Do I need a Polymarket developer account or API key?

No. Polymarket Get user activity runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Polymarket API access separately.