GET /market/{marketId}/positions
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/manifold/market/{marketId}/positionsCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freePosition ranking for one market (top/bottom or one user).
Optional `userId` and `answerId` narrow the ranking to one user or one answer; forwarded verbatim.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
marketId | path | str | required | 20-character contract id. example: INPLL9csg9 |
order | query | strshares | profit | optional | Position ranking field. default: profitexample: profit |
top | query | int | optional | How many top positions to return. example: 3 |
bottom | query | int | optional | How many bottom positions to return. example: 1 |
Response
type: array
pagination: none
sample: {
"[0]": "object"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/manifold/market/INPLL9csg9/positions?order=profit&top=3&bottom=1"