Skip to content

Browse Comments

GET /comments

Server: https://gamma.openfish.fun

Tags: Comments


NameInTypeDefaultDescription
parent_entity_typequerystringScope to a particular entity type (e.g. market, event)
parent_entity_idquerystringScope to a specific parent entity by ID
limitqueryinteger25Cap on the number of items returned (upper bound: 500)
offsetqueryinteger0Number of records to skip for pagination
orderquerystringcreated_atField used for sorting. Accepted values: created_at, reaction_count
ascendingquerybooleanfalseWhether to sort in ascending order
get_positionsquerybooleanfalseAttach the commenter’s token positions to each comment
holders_onlyquerybooleanfalseRestrict results to comments from users who hold tokens in the market

200 — A JSON array of Comment objects.

[
{
"id": "c123",
"content": "Great market!",
"userAddress": "0xabc...",
"parentEntityType": "market",
"parentEntityId": "12345",
"reactionCount": 5,
"createdAt": "2025-06-01T12:00:00Z"
}
]

Terminal window
curl "https://gamma.openfish.fun/comments?parent_entity_type=market&parent_entity_id=12345"