Polymarket
Prediction-market discovery and market data.
Get Polymarket Wallet Activity
Get one wallet's on-chain Polymarket activity — a per-address lookup, not a market-wide trade feed. The user parameter is required. Use it to reconstruct what a specific trader did — position splits, merges and redemptions, with size, price, and the transaction that settled them; narrow further with market_slug, condition_id, and the start_time / end_time Unix-second range. Returns activities[] with side (MERGE / SPLIT / REDEEM), market_slug, condition_id, shares, price, timestamp, and tx_hash, plus a pagination object whose key you pass back as pagination_key. For market-wide prices rather than one wallet's history, use get_polymarket_markets.
- 類型: stringuser必填
Wallet address or user identifier. Required by the runtime route.
- 類型: integerstart
_time Filter activity from this Unix timestamp in seconds (inclusive)
- 類型: integerend
_time Filter activity until this Unix timestamp in seconds (inclusive)
- 類型: stringmarket
_slug Filter activity by market slug
- 類型: stringcondition
_id Filter activity by condition ID
- 類型: integerlimit最小值:1最大值:1000
Number of activities to return (1-1000)
- 類型: stringpagination
_key Base64-encoded cursor for efficient pagination. Returned in the previous response's pagination object.
- 類型: object200
Activity response with pagination
- 類型: array object[]activities
- block類型: integer
_number Block number where the activity occurred
- condition類型: string
_id - log類型: integer
_index Log index of the activity event in the block
- market類型: string
_slug - order類型: string
_hash - price類型: number
- shares類型: number
Raw number of shares (from the blockchain)
- shares類型: number
_normalized Number of shares normalized (raw divided by 1000000)
- side類型: string 列舉值
- M
E R G E - S
P L I T - R
E D E E M
- timestamp類型: integer
Unix timestamp in seconds when the activity occurred
- title類型: string
- token類型: string
_id - tx類型: string
_hash - user類型: string
User wallet address
- 類型: objectpagination
- count類型: integer
Total number of activities matching the filters
- has類型: boolean
_more Whether there are more activities available
- limit類型: integer
Integer numbers.
- pagination類型: string
_key Base64-encoded cursor for the next page. Only present when there are more results.
application/json - 類型: object400
Bad Request - Invalid parameters or validation errors
- 類型: stringerror
- 類型: stringmessage
application/json - 401
A valid Felo API key is required.
- 402
The request cannot proceed because a billing requirement is not met.
- 403
The account is not permitted to perform this operation.
- 429
A request or spending limit has been reached.
- 類型: object500
Internal Server Error
- 類型: stringerror
- 類型: stringmessage
application/json - 502
The service could not complete the request.
- 503
The API or billing service is temporarily unavailable.
- 504
The service timed out while processing the request.
- default
The operation failed. Keep the response request ID when contacting Felo support.
curl 'https://openapi.felo.ai/v1/beta/polymarket/activity?user=0x7c3db723f1d4d8cb9c550095203b686cb11e5c6b' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"activities": [
{
"token_id": "",
"side": "REDEEM",
"market_slug": "will-the-doj-charge-boeing",
"condition_id": "0x92e4b1b8e0621fab0537486e7d527322569d7a8fd394b3098ff4bb1d6e1c0bbd",
"shares": 187722726,
"shares_normalized": 187.722726,
"price": 1,
"block_number": 123456789,
"log_index": 42,
"tx_hash": "0x028baff23a90c10728606781d15077098ee93c991ea204aa52a0bd2869187574",
"title": "Will the DOJ charge Boeing?",
"timestamp": 1721263049,
"order_hash": "",
"user": "0xfd9c3e7f8c56eb4186372f343c873cce154b3873"
}
],
"pagination": {
"limit": 50,
"count": 1250,
"has_more": true,
"pagination_key": "eyJibG9ja190aW1lc3RhbXAiOiIyMDI1LTAxLTE5VDEyOjAwOjAwLjAwMFoiLCJzaWRlIjoiU1BMSVQiLCJ0eF9oYXNoIjoiMHgxMjM0NTY3ODkwYWJjZGVmIiwibG9nX2luZGV4IjoxMCwidG90YWwiOjE5ODkwMTc3Nn0="
}
}