GET /events/{id}/comments/count
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/polymarket/events/{id}/comments/countCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeGet the comment count for an event.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
id | path | str | required | Numeric event id (gamma event `id` field) example: 848491 |
Response
type: object
count key: count
pagination: offset
sample: {
"$schema": "str",
"count": "int"
}
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/polymarket/events/848491/comments/count"