ascendingboolean
ascending
https://api.sandbase.ai/v1/api/polymarket/commentsList comments from Polymarket. Returns the official Polymarket API response unchanged.
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
Returns a list of comments posted on a Polymarket event, series, or market. You pass the parent type with parent_entity_type and its numeric ID with parent_entity_id. Each comment includes the text, the author profile, and its reactions.
limit and offset paging.curl -X POST "https://api.sandbase.ai/v1/api/polymarket/comments" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"parent_entity_type": "Event", "parent_entity_id": 2890, "limit": 1}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
ascending | boolean | No | ascending |
get_positions | boolean | No | get_positions |
holders_only | boolean | No | holders_only |
limit | integer | No | limit |
offset | integer | No | offset |
order | string | No | Comma-separated list of fields to order by |
parent_entity_id | integer | No | parent_entity_id |
parent_entity_type | string | No | parent_entity_type |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
[
{
"body": "idor-poc-1792753844",
"createdAt": "2026-10-23T11:10:47.356694Z",
"id": "3305081",
"parentEntityID": 2890,
"parentEntityType": "Event",
"profile": {
"baseAddress": "0xc22d0f7c330d5cc00a92578ed876b8c34aa42dd6",
"bio": "",
"displayUsernamePublic": false,
"name": "Stable-Declaration",
"profileImage": "https://polymarket-upload.s3.us-east-2.amazonaws.com/profile-image-7727089-ebb22…",
"proxyWallet": "0x06892a304377a4334340678e2d36e19d679cca34",
"pseudonym": "Stable-Declaration"
},
"reactionCount": 2,
"reactions": [
{
"commentID": 3305081,
"id": "3198145",
"profile": {
"proxyWallet": "0x45bc5604d3285ac448ae4a39470b9e6085a0df83"
},
"reactionType": "HEART",
"userAddress": "0x936810690af85a4e357c7ac707e2b81e64a39582"
}
],
"reportCount": 0,
"updatedAt": "2026-10-23T11:10:56.48298Z",
"userAddress": "0xc22d0f7c330d5cc00a92578ed876b8c34aa42dd6"
}
]
| Field | Meaning |
|---|---|
body | The text of the comment. |
id | The comment ID, returned as a string. |
createdAt / updatedAt | ISO 8601 UTC timestamps for when the comment was created and last updated. |
parentEntityID / parentEntityType | The ID and type of the event, series, or market the comment belongs to. |
userAddress | The wallet address of the user who wrote the comment. |
profile.name / profile.pseudonym | The display name and pseudonym of the commenter. |
profile.proxyWallet | The proxy wallet address of the commenter. |
reactionCount | The number of reactions on the comment. |
reactions[].reactionType | The kind of reaction, such as HEART. |
reactions[].userAddress | The wallet address of the user who reacted. |
parent_entity_type accepts Event, Series, or market. Set parent_entity_id to the numeric ID of that parent.limit and offset. Use order and ascending to control sorting.$0.00044 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Commencer à construire
Point de terminaison de l'API de la plateforme avec authentification unifiée et suivi de l'utilisation.
curl -X POST "https://api.sandbase.ai/v1/api/polymarket/comments" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"limit": 1,
"parent_entity_id": 2890,
"parent_entity_type": "Event"
}'Définissez votre clé API SandBase dans l'environnement de votre serveur. Les requêtes utilisent l'authentification Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conservez votre clé côté serveur. Ne l'exposez pas dans le code du navigateur.
ascendingbooleanascending
get_positionsbooleanget_positions
holders_onlybooleanholders_only
limitintegerlimit
offsetintegeroffset
orderstringComma-separated list of fields to order by
parent_entity_idintegerparent_entity_id
parent_entity_typestringparent_entity_type
Valeurs possibles : Event, Series, market
Exemple de réponse enregistré pour cette API ; aucune requête en direct n'est effectuée lors de l'affichage.
Aucune réponse enregistrée n'a été publiée. Exécutez l'API dans Playground pour inspecter sa réponse.
Explorer plus
| API | Prix | Réponse |
|---|---|---|
Polymarket List commentsCette API Polymarket | $0.00044 par appel | JSON |
Polymarket | $0.012 par appel | JSON |
Polymarket | $0.012 par appel | JSON |
Polymarket | $0.012 par appel | JSON |
Polymarket | $0.012 par appel | JSON |
Polymarket | $0.012 par appel | JSON |
Questions
Envoyez une requête POST à https://api.sandbase.ai/v1/api/polymarket/comments avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.
$0.00044 par appel. Chaque organisation bénéficie de 100 appels gratuits par jour UTC, partagés entre les API SandBase éligibles, y compris celle-ci ; au-delà, chaque appel est facturé à ce tarif depuis votre solde SandBase. Aucun abonnement.
Aucun paramètre n’est requis. Facultatif : ascending (boolean), get_positions (boolean), holders_only (boolean), limit (integer), offset (integer) et order (string) et 2 de plus. Le tableau des paramètres et le Playground sur cette page listent tous les champs.
Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.
Non. Polymarket List comments fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Polymarket séparément.