Sand AISand AI MAGI-2MAGI-2가 이제 SandBase에서 제공됩니다: 네이티브 오디오가 포함된 1080p 동영상지금 사용해 보기

Polymarket Wallet Activity

API 문서
https://api.sandbase.ai/v1/api/polymarket/activity

A wallet's activity feed: trades, splits, merges, redemptions, rewards and conversions, with time-range and type filters.

가격
$0.012USD / 호출
메서드
POST
응답
JSON
매개변수
필수 1개 · 선택 사항 11개

Playground

입력
Required; the feed is user-anchored.
01000
Page size; default 100, max 1000, past-cap rejected. 범위: 0~1000.
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`, `DIRECTIONAL_SPLIT`, `DIRECTIONAL_MERGE`, `THRESHOLD_COM
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.
출력준비됨

출력이 여기에 표시됩니다

입력을 완료한 다음 Run을 클릭하세요.

API README

Polymarket Wallet Activity API

Returns a Polymarket wallet's activity feed, newest first by default. Each row is one event such as a trade, split, merge, redemption or reward. The only required input is the wallet address in user.

Use cases

  • Track every trade a wallet makes on a given market by filtering on condition and type=TRADE.
  • Build a timeline of a wallet's buys and sells for a chosen date range using start and end.
  • Audit a wallet's redemptions, rewards and rebates by passing those values in type.
  • Copy-trade or monitor a large trader by polling the feed and reading new rows as they appear.

Request

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

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
userstringYesRequired; the feed is user-anchored.
conditionstringNoCondition id(s), comma-separated (at most 20 distinct values). condition_id / conditionId are accepted aliases.
cursorstringNoOpaque cursor from a prior response's next_cursor; binds the sort direction it was minted under.
endintegerNoWindow end, epoch seconds (inclusive); omitted or 0 means now plus one day.
event_idstringNoGamma event id(s), comma-separated (at most 20 distinct values); resolves to the events' markets. Mutually exclusive with condition.
exclude_deposits_withdrawalsbooleanNoDefaults to true, which drops DEPOSIT and WITHDRAWAL rows from the page, including when type names them. Pass false to include them.
limitintegerNoPage size; default 100, max 1000, past-cap rejected.
sidestringNoBUY or SELL.
sort_bystringNoOnly TIMESTAMP is supported (v2 pages by keyset).
sort_directionstringNoASC or DESC (default). The keyset seeks in the chosen direction; the minted cursor binds it, so pass it consistently when paging.
startintegerNoWindow start on block_timestamp, epoch seconds (inclusive). Omitted or 0 floors to three years back; pass start=1 for full history.
typestringNoActivity type(s), comma-separated. Accepted values: TRADE, SPLIT, MERGE, REDEEM (automatic redemptions included), CONVERSION, MIGRATION, REWARD, YIELD, MAKER_REBATE, TAKER_REBATE, REFERRAL_REWARD, `

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": [
    {
      "bio": "",
      "condition_id": "0xdbcc54e623b74b67ea5a8733639a9f5e43ea16bd9b264ddf8772c615a7790d62",
      "event_slug": "wta-yastrem-sonmez-2026-11-01",
      "icon": "https://polymarket-upload.s3.us-east-2.amazonaws.com/wta-logo-41f331bdf1.png",
      "name": "ferrariChampions2026",
      "outcome": "Zeynep Sonmez",
      "outcome_index": 1,
      "price": 0.9,
      "profile_image": "",
      "profile_image_optimized": "",
      "proxy_wallet": "0xfe787d2da716d60e8acff57fb87eb13cd4d10319",
      "pseudonym": "Glaring-Salt"
    }
  ],
  "pagination": {
    "has_more": true,
    "limit": 2,
    "next_cursor": "eyJkYXRhIjp7InR5cGUiOiJhY3Rpdml0eSIsInBhcmFtcyI6eyJsIjoyLCJ0cyI6MTc5MzY5MTYxMywi…",
    "offset": 0
  }
}

Response fields

FieldMeaning
data[].typeKind of activity for the row, such as TRADE.
data[].sideDirection of the trade, BUY or SELL.
data[].timestampTime of the activity as epoch seconds.
data[].pricePrice per share for the row. In the sample it is 0.9.
data[].size / data[].usdc_sizesize is the share quantity. usdc_size is the USDC value of the row.
data[].title / data[].event_slug / data[].slugMarket title and the slugs that identify the market and its event.
data[].condition_id / data[].token_idIdentify the market condition and the outcome token that was traded.
data[].outcome / data[].outcome_indexName of the outcome and its index within the market.
data[].transaction_hashHash of the on-chain transaction for the row.
data[].proxy_wallet / data[].pseudonym / data[].nameThe wallet address and the profile names tied to it.

Notes

  • Pass pagination.next_cursor back as cursor to get the next page. Keep sort_direction the same on every page, since the cursor binds it.
  • pagination.has_more shows whether more rows exist. limit accepts up to 1000.
  • DEPOSIT and WITHDRAWAL rows are dropped by default. Set exclude_deposits_withdrawals to false to include them.
  • To see what a wallet currently holds, call Polymarket Wallet Positions. For settled markets, call Polymarket Closed Positions.

Pricing

$0.012 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

더 살펴보기

관련 API

모든 API
API가격응답
Polymarket$0.012 / 호출JSON
Polymarket$0.012 / 호출JSON
Polymarket$0.012 / 호출JSON
Polymarket$0.012 / 호출JSON
Polymarket$0.012 / 호출JSON
Polymarket$0.012 / 호출JSON

질문

FAQ

Polymarket Wallet Activity API를 어떻게 사용하나요?

Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/polymarket/activity에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.

Polymarket Wallet Activity API 비용은 얼마인가요?

호출당 $0.012, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.

Polymarket Wallet Activity API는 어떤 매개변수를 받나요?

필수: user (string). 선택: limit (integer), cursor (string), type (string), condition (string), event_id (string) 및 side (string) 외 5개. 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.

Polymarket Wallet Activity API는 무엇을 반환하나요?

같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.

Polymarket 개발자 계정이나 API 키가 필요한가요?

아니요. Polymarket Wallet Activity은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. Polymarket API 액세스를 별도로 신청할 필요는 없습니다.