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 free

Comments for a market or a user.

One selector is required: `contractId`, `contractSlug` or `userId` (all forwarded verbatim). `page` pairs with `limit`.

Parameters

nameintypedescription
contractIdquerystrrequired20-character contract id.
example: INPLL9csg9
limitqueryintoptionalRows to return (server maximum varies by route; 1000 on listings, 100 on ledgers).
example: 5
orderquerystr
likes | newest | oldest
optionalComment ordering.
default: newest
example: 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"