GET /comments
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/manifold/commentsCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeComments for a market or a user.
One selector is required: `contractId`, `contractSlug` or `userId` (all forwarded verbatim). `page` pairs with `limit`.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
contractId | query | str | required | 20-character contract id. example: INPLL9csg9 |
limit | query | int | optional | Rows to return (server maximum varies by route; 1000 on listings, 100 on ledgers). example: 5 |
order | query | strlikes | newest | oldest | optional | Comment ordering. default: newestexample: newest |
Response
type: array
pagination: none
sample: {
"[0]": "empty"
}
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/comments?contractId=INPLL9csg9&limit=5&order=newest"