Polymarket Account Activity API
Get Polymarket Account Activity data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Polymarket, pass parameters such as limit, user, and retrieve structured data including data, opaque continuation cursor, and response page-size context for account timelines, and activity controls, ready for production pipelines and AI agent automation.
- Selected price
- $0 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- 0Selected implementation · last 30 days
- Success rate · 30d
- —No requests in this period
Polymarket Account Activity API
Prepare your request, then continue with your agent.
Selected price
$0 / call
- Provider
- API
- Pricing
On this page
Overview
Polymarket Account Activity API
This user-anchored feed returns data plus pagination. The default excludes deposits and withdrawals and does not include TIP activity. Set type and exclude_deposits_withdrawals deliberately; keep sort direction consistent with the cursor.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | query: user, limit, cursor, type, condition, event_id, side, start, end, sort_by, sort_direction, exclude_deposits_withdrawals |
| Selected implementation | polymarket · Polymarket — List account activity |
| Billing | See the pricing area for the selected implementation and request options |
What You Can Build
- Account timelines: Collect supported activity for an explicitly selected wallet.
- Activity controls: Expose deliberate deposit, withdrawal and tip selection.
Documented Response Fields
| Field | Meaning |
|---|---|
data |
Account activity rows; the array can be empty |
pagination.has_more |
Whether another page is available |
pagination.next_cursor |
Opaque continuation cursor |
pagination.limit |
Response page-size context |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the supported inputs and set any required query value shown in the template.
- Check the HTTP response and business result before reading optional fields.
curl --request GET --get \
"https://api.openany.si/v1/agent-apis/polymarket/v2/activity" \
-H "Authorization: Bearer ${OPENANY_API_KEY}" \
-H 'Content-Type: application/json' \
--data-urlencode limit=2 \
--data-urlencode user=0x17eC161f126e82A8ba337f4022d574DBEaFef575
Request and Response Examples
The saved response is a published documentation example. Its values may be historical; the request is an independent calling template. Use current returned identifiers and optional fields for your chosen resource.
Published Polymarket Account Activity API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
PolymarketCurrent Polymarket — List account activity · GET · View API reference | $0 / call | 0 | —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: 4. Price update time: not supplied.
Total $0
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/polymarket/v2/activity- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
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 | Yes | Required; the feed is user-anchored. This execution profile requires an explicit non-null value. The original optional/nullable OpenAPI declarations remain in officialOperation. |
limit | URL query parametersquery | integer | null | No | Page size; default 100, max 1000, past-cap rejected. minimum: 0 · maximum: 1000 |
cursor | URL query parametersquery | string | null | No | Opaque cursor from a prior response's `next_cursor`; binds the sort direction it was minted under. |
type | URL query parametersquery | string | null | No | Activity type(s), comma-separated. Accepted values: `TRADE`, `SPLIT`, `MERGE`, `REDEEM` (automatic redemptions included), `CONVERSION`, `MIGRATION`, `REWARD`, `YIELD`, `MAKER_REBATE`, `TAKER_REBATE`, `REFERRAL_REWARD`, `DEPOSIT`, `WITHDRAWAL`, `TIP`. Any other value is rejected with `400`. Omitted, the feed returns every type except `TIP`. `DEPOSIT` and `WITHDRAWAL` rows are returned only with `exclude_deposits_withdrawals=false`. Under its default (`true`) they are dropped even when named here, so `type=DEPOSIT` or `type=WITHDRAWAL` alone returns an empty page. `TIP` is **opt-in**: it is never in the default set, so it is only returned when you name it here. A tip is a user↔user pUSD transfer that is not a trade-settlement leg; `size` is the amount and `side` carries the direction (`IN` received / `OUT` sent). |
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 | Gamma event id(s), comma-separated (at most 20 distinct values); resolves to the events' markets. Mutually exclusive with `condition`. |
side | URL query parametersquery | string | null | No | BUY or SELL. |
start | URL query parametersquery | integer | null | No | Window start on `block_timestamp`, epoch seconds (inclusive). Omitted or `0` floors to three years back; pass `start=1` for full history. |
end | URL query parametersquery | integer | null | No | Window end, epoch seconds (inclusive); omitted or `0` means now plus one day. |
sort_by | URL query parametersquery | string | null | No | Only `TIMESTAMP` is supported (v2 pages by keyset). |
sort_direction | URL query parametersquery | string | null | No | `ASC` or `DESC` (default). The keyset seeks in the chosen direction; the minted cursor binds it, so pass it consistently when paging. |
exclude_deposits_withdrawals | URL query parametersquery | boolean | null | No | Defaults to `true`, which drops `DEPOSIT` and `WITHDRAWAL` rows from the page, including when `type` names them. Pass `false` to include them. |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
dataunknown[]paginationobjecthas_morebooleanlimitintegernext_cursornulloffsetinteger
Agent integration
Copy the resource contract without sharing an API key.
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 12
Review these request fields before running. Keep the published provider and request method unchanged.
user- Required; the feed is user-anchored. This execution profile requires an explicit non-null value. The original optional/nullable OpenAPI declarations remain in officialOperation.
limit- Page size; default 100, max 1000, past-cap rejected.
cursor- Opaque cursor from a prior response's `next_cursor`; binds the sort direction it was minted under.
type- Activity type(s), comma-separated. Accepted values: `TRADE`, `SPLIT`, `MERGE`, `REDEEM` (automatic redemptions included), `CONVERSION`, `MIGRATION`, `REWARD`, `YIELD`, `MAKER_REBATE`, `TAKER_REBATE`, `REFERRAL_REWARD`, `DEPOSIT`, `WITHDRAWAL`, `TIP`. Any other value is rejected with `400`. Omitted, the feed returns every type except `TIP`. `DEPOSIT` and `WITHDRAWAL` rows are returned only with `exclude_deposits_withdrawals=false`. Under its default (`true`) they are dropped even when named here, so `type=DEPOSIT` or `type=WITHDRAWAL` alone returns an empty page. `TIP` is **opt-in**: it is never in the default set, so it is only returned when you name it here. A tip is a user↔user pUSD transfer that is not a trade-settlement leg; `size` is the amount and `side` carries the direction (`IN` received / `OUT` sent).
condition- Condition id(s), comma-separated (at most 20 distinct values). `condition_id` / `conditionId` are accepted aliases.
event_id- Gamma event id(s), comma-separated (at most 20 distinct values); resolves to the events' markets. Mutually exclusive with `condition`.
side- BUY or SELL.
start- Window start on `block_timestamp`, epoch seconds (inclusive). Omitted or `0` floors to three years back; pass `start=1` for full history.
end- Window end, epoch seconds (inclusive); omitted or `0` means now plus one day.
sort_by- Only `TIMESTAMP` is supported (v2 pages by keyset).
sort_direction- `ASC` or `DESC` (default). The keyset seeks in the chosen direction; the minted cursor binds it, so pass it consistently when paging.
exclude_deposits_withdrawals- Defaults to `true`, which drops `DEPOSIT` and `WITHDRAWAL` rows from the page, including when `type` names them. Pass `false` to include them.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/polymarket/v2/activity?limit=2&user=0x17eC161f126e82A8ba337f4022d574DBEaFef575' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "data": [], "pagination": { "has_more": false, "limit": 2, "next_cursor": null, "offset": 0 } }