list_comments
Retrieve comments from Polymarket prediction markets by specifying parent entity type and ID, with filtering options for users, markets, and sorting.
Instructions
List comments from Gamma API /comments. Requires parent_entity_type and parent_entity_id in practice (use list_events/list_series/list_markets to get IDs); otherwise Gamma often returns 422. Example: parent_entity_type=Event, parent_entity_id=80505.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of comments to return (default: 20) | |
| offset | No | Pagination offset (default: 0) | |
| user | No | Filter by user address (0x...) | |
| market | No | Filter by market slug or ID | |
| order | No | Comma-separated list of fields to order by | |
| ascending | No | Sort ascending | |
| parent_entity_type | No | Filter by parent entity type | |
| parent_entity_id | No | Filter by parent entity ID | |
| get_positions | No | Include commenter's positions | |
| holders_only | No | Only include comments from holders |