Markets
GET /v1/market/{conditionId}/flow
5-min flow buckets for the trailing window (max 168h = 7d).
5-min flow buckets for the trailing window (max 168h = 7d).
AuthorizationBearer <token>
API key: Authorization: Bearer pk_live_… (mint at polyrank.app/api-keys)
In: header
Path Parameters
conditionId*string
Query Parameters
hours?integer
Response Body
application/json
curl -X GET "https://example.com/v1/market/string/flow"{ "condition_id": "string", "buckets": [ { "bucket_ts": "string", "total_volume_usdc": 0, "yes_buy_volume_usdc": 0, "no_buy_volume_usdc": 0, "fills_count": -9007199254740991 } ], "window_hours": -9007199254740991}GET /v1/market/{conditionId}/flow/cohort GET
Tagged-wallet flow: net YES-equivalent exposure flow split by Polyrank track-record tag (whale/sharp/early_bird/contrarian) vs untagged wallets, in 5-min buckets. Tag membership is mostly size- and behaviour-based, not forecasting-based.
GET /v1/market/{conditionId}/holders GET
Top current holders of a market (canonical avg-cost lineage) with live value + P&L.