APICrypto & DeFi

Polymarket — List account activity

List account activity with the Polymarket API. Supply a user and optionally set a pagination cursor and a sort order. Use it for on-chain or crypto market research. The GET request schema also lists limit. 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...
USE THIS API

Polymarket — List account activity

Prepare your request, then continue with your agent.

Selected price

$0 / call

Provider
Pricing
Connect your agent
On this page

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

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

Response result

Response structure

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

Sellers

SellerPricingRequests · 30dPerformanceAccess
PolymarketCurrent
Polymarket — List account activity · GET · View API reference
$0 / call—
—successP50—
Loading...
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: 3. 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
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'

Input parameters

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

ParameterLocationTypeRequiredDescription
userURL query parametersquerystringYesRequired; 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 | nullNoPage size; default 100, max 1000, past-cap rejected.

minimum: 0 · maximum: 1000

cursorURL query parametersquerystring | nullNoOpaque cursor from a prior response's `next_cursor`; binds the sort direction it was minted under.
typeURL query parametersquerystring | nullNoActivity 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 | nullNoCondition id(s), comma-separated (at most 20 distinct values). `condition_id` / `conditionId` are accepted aliases.
event_idURL query parametersquerystring | nullNoGamma event id(s), comma-separated (at most 20 distinct values); resolves to the events' markets. Mutually exclusive with `condition`.
sideURL query parametersquerystring | nullNoBUY or SELL.
startURL query parametersqueryinteger | nullNoWindow start on `block_timestamp`, epoch seconds (inclusive). Omitted or `0` floors to three years back; pass `start=1` for full history.
endURL query parametersqueryinteger | nullNoWindow end, epoch seconds (inclusive); omitted or `0` means now plus one day.
sort_byURL query parametersquerystring | nullNoOnly `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 | nullNoDefaults 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.

Sample response

Sample response · Documented HTTP 200 Published documentation example. Verify the actual response after an approved call.

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

Agent integration

Copy the resource contract without sharing an API key.

View API Markdown
API Markdown
# Polymarket — List account activity

List account activity with the Polymarket API. Supply a user and optionally set a pagination cursor and a sort order. Use it for on-chain or crypto market research. The GET request schema also lists limit. Use the data in market research, dashboard views, or scheduled data collection for the relevant markets.
## Available implementations
Polymarket · Polymarket — List account activity: https://openany.si/markets/apis/capabilities/polymarket-list-account-activity?offering=1ed081c0-c51f-4e6d-9774-5de9ebd9f4c4 · $0 / call

## Selected API contract
Documentation: https://openany.si/apis/1ed081c0-c51f-4e6d-9774-5de9ebd9f4c4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/polymarket/v2/activity
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/activity?limit=2&user=0x17eC161f126e82A8ba337f4022d574DBEaFef575' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## API contract
```json
{
  "resource_type": "api",
  "name": "Polymarket — List account activity",
  "endpoint": "https://api.openany.si/v1/agent-apis/polymarket/v2/activity",
  "method": "GET",
  "content_type": "none",
  "execution_mode": "sync",
  "authentication": {
    "type": "bearer",
    "environment_variable": "OPENANY_API_KEY"
  },
  "inputs": [
    {
      "description": "Required; the feed is user-anchored. This execution profile requires an explicit non-null value. The original optional/nullable OpenAPI declarations remain in officialOperation.",
      "location": "query",
      "name": "user",
      "nullable": false,
      "required": true,
      "type": "string"
    },
    {
      "description": "Page size; default 100, max 1000, past-cap rejected.",
      "location": "query",
      "maximum": "1000",
      "minimum": "0",
      "name": "limit",
      "nullable": true,
      "required": false,
      "type": "integer"
    },
    {
      "description": "Opaque cursor from a prior response's `next_cursor`; binds the sort\ndirection it was minted under.",
      "location": "query",
      "name": "cursor",
      "nullable": true,
      "required": false,
      "type": "string"
    },
    {
      "description": "Activity type(s), comma-separated. Accepted values: `TRADE`, `SPLIT`,\n`MERGE`, `REDEEM` (automatic redemptions included), `CONVERSION`,\n`MIGRATION`, `REWARD`, `YIELD`, `MAKER_REBATE`, `TAKER_REBATE`,\n`REFERRAL_REWARD`, `DEPOSIT`, `WITHDRAWAL`, `TIP`. Any other value is\nrejected with `400`. Omitted, the feed returns every type except `TIP`.\n\n`DEPOSIT` and `WITHDRAWAL` rows are returned only with\n`exclude_deposits_withdrawals=false`. Under its default (`true`) they are\ndropped even when named here, so `type=DEPOSIT` or `type=WITHDRAWAL`\nalone returns an empty page.\n\n`TIP` is **opt-in**: it is never in the default set, so it is only\nreturned when you name it here. A tip is a user↔user pUSD transfer that\nis not a trade-settlement leg; `size` is the amount and `side` carries the\ndirection (`IN` received / `OUT` sent).",
      "location": "query",
      "name": "type",
      "nullable": true,
      "required": false,
      "type": "string"
    },
    {
      "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": "Gamma event id(s), comma-separated (at most 20 distinct values);\nresolves to the events' markets. Mutually exclusive with `condition`.",
      "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"
    },
    {
      "description": "Window start on `block_timestamp`, epoch seconds (inclusive). Omitted\nor `0` floors to three years back; pass `start=1` for full history.",
      "location": "query",
      "name": "start",
      "nullable": true,
      "required": false,
      "type": "integer"
    },
    {
      "description": "Window end, epoch seconds (inclusive); omitted or `0` means now plus\none day.",
      "location": "query",
      "name": "end",
      "nullable": true,
      "required": false,
      "type": "integer"
    },
    {
      "description": "Only `TIMESTAMP` is supported (v2 pages by keyset).",
      "location": "query",
      "name": "sort_by",
      "nullable": true,
      "required": false,
      "type": "string"
    },
    {
      "description": "`ASC` or `DESC` (default). The keyset seeks in the chosen direction;\nthe minted cursor binds it, so pass it consistently when paging.",
      "location": "query",
      "name": "sort_direction",
      "nullable": true,
      "required": false,
      "type": "string"
    },
    {
      "description": "Defaults to `true`, which drops `DEPOSIT` and `WITHDRAWAL` rows from\nthe page, including when `type` names them. Pass `false` to include\nthem.",
      "location": "query",
      "name": "exclude_deposits_withdrawals",
      "nullable": true,
      "required": false,
      "type": "boolean"
    }
  ],
  "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,
          "user": "0x17eC161f126e82A8ba337f4022d574DBEaFef575"
        }
      },
      "response_body": {
        "data": [],
        "pagination": {
          "has_more": false,
          "limit": 2,
          "next_cursor": null,
          "offset": 0
        }
      }
    }
  ]
}
```

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

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 account activity with your agent

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