OpenAny
Get API keyAPI Key
APICrypto & DeFi

polymarket logo
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
USE THIS API

Polymarket Account Activity API

Prepare your request, then continue with your agent.

Selected price

$0 / call

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
Polymarket Account Activity API

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

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the supported inputs and set any required query value shown in the template.
  3. Check the HTTP response and business result before reading optional fields.
bash
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

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
Required; the feed is user-anchored. This execution profile requires an explicit non-null value. The original optional/nullable OpenAPI declarations remain in officialOperation.
Optional parameters (11)
Page size; default 100, max 1000, past-cap rejected.
Opaque cursor from a prior response's `next_cursor`; binds the sort direction it was minted under.
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 id(s), comma-separated (at most 20 distinct values). `condition_id` / `conditionId` are accepted aliases.
Gamma event id(s), comma-separated (at most 20 distinct values); resolves to the events' markets. Mutually exclusive with `condition`.
BUY or SELL.
Window start on `block_timestamp`, epoch seconds (inclusive). Omitted or `0` floors to three years back; pass `start=1` for full history.
Window end, epoch seconds (inclusive); omitted or `0` means now plus one day.
Only `TIMESTAMP` is supported (v2 pages by keyset).
`ASC` or `DESC` (default). The keyset seeks in the chosen direction; the minted cursor binds it, so pass it consistently when paging.
Defaults to `true`, which drops `DEPOSIT` and `WITHDRAWAL` rows from the page, including when `type` names them. Pass `false` to include them.

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
PolymarketCurrent
Polymarket — List account activity · GET · View API reference
$0 / call0
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · PolymarketUSD / call
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.

calls

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
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
userURL query parametersquerystringYes

Required; the feed is user-anchored. This execution profile requires an explicit non-null value. The original optional/nullable OpenAPI declarations remain in officialOperation.

limitURL query parametersqueryinteger | nullNo

Page size; default 100, max 1000, past-cap rejected.

minimum: 0 · maximum: 1000

cursorURL query parametersquerystring | nullNo

Opaque cursor from a prior response's `next_cursor`; binds the sort direction it was minted under.

typeURL query parametersquerystring | nullNo

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).

conditionURL query parametersquerystring | nullNo

Condition id(s), comma-separated (at most 20 distinct values). `condition_id` / `conditionId` are accepted aliases.

event_idURL query parametersquerystring | nullNo

Gamma event id(s), comma-separated (at most 20 distinct values); resolves to the events' markets. Mutually exclusive with `condition`.

sideURL query parametersquerystring | nullNo

BUY or SELL.

startURL query parametersqueryinteger | nullNo

Window start on `block_timestamp`, epoch seconds (inclusive). Omitted or `0` floors to three years back; pass `start=1` for full history.

endURL query parametersqueryinteger | nullNo

Window end, epoch seconds (inclusive); omitted or `0` means now plus one day.

sort_byURL query parametersquerystring | nullNo

Only `TIMESTAMP` is supported (v2 pages by keyset).

sort_directionURL query parametersquerystring | nullNo

`ASC` or `DESC` (default). The keyset seeks in the chosen direction; the minted cursor binds it, so pass it consistently when paging.

exclude_deposits_withdrawalsURL query parametersqueryboolean | nullNo

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

Inferred from examples
  • dataunknown[]
  • paginationobject
    • has_moreboolean
    • limitinteger
    • next_cursornull
    • offsetinteger

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Documentation example

Published documentation example. Verify the actual response after an approved call.

  1. 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 / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. 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 · cURL
    curl \
      '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'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "data": [],
      "pagination": {
        "has_more": false,
        "limit": 2,
        "next_cursor": null,
        "offset": 0
      }
    }

Common questions

Why does type=DEPOSIT return no rows?

Deposits and withdrawals remain excluded by default even when named in type. Set exclude_deposits_withdrawals=false to include them. TIP is separately opt-in through type.

Can I filter by both condition and event_id?

No. These selectors are mutually exclusive. Each accepts up to 20 distinct comma-separated identifiers of its own type.

How do time and sorting work?

start and end are inclusive epoch-second bounds. Omitted or zero start means three years back; start=1 requests full history. Only sort_by=TIMESTAMP is supported, with ASC or DESC.

What should stay fixed while paging?

Use the returned cursor and keep the chosen sort direction consistent. limit has a maximum of 1000, and values above the cap are rejected.

Which API key should I use?

Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

Where can I check the current request price?

Check the pricing area for the selected implementation. Follow its billing unit and any request-dependent rules before sending the request.

Use Polymarket Account Activity API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.