Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

Polymarket Get comments by comment id

Docs API
https://api.sandbase.ai/v1/api/polymarket/comments-by-id

Get comments by comment id from Polymarket. Returns the official Polymarket API response unchanged.

Prix
$0.00044USD / appel
Méthode
POST
Réponse
JSON
Paramètres
1 obligatoires · 1 facultatifs
100 appels gratuits / jourLes 100 premiers appels par jour sont gratuits (partagés par organisation) · Réinitialisation à 00:00 UTC. Ensuite, paiement à l'appel.

Bac à sable

Entrée
id
get_positions
SortiePrêt

Votre sortie apparaîtra ici

Complétez les entrées, puis cliquez sur Exécuter.

README de l'API

Polymarket Get comments by comment id API

Returns a single Polymarket comment by its numeric comment id. The response is a list that holds the comment text, the author profile, and the reactions on the comment. It needs the id of the comment. You can also send get_positions.

Use cases

  • Fetch the text and timestamps of a comment you saw in a feed or a link.
  • Check who wrote a comment and which wallet address is behind it.
  • Count the reactions and reports on a comment to judge how it was received.
  • Find the event a comment belongs to by reading its parent entity fields.

Request

curl -X POST "https://api.sandbase.ai/v1/api/polymarket/comments-by-id" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"id": 3305081}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
idintegerYesid
get_positionsbooleanNoget_positions

Example response

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"
  }
]

Response fields

FieldMeaning
bodyThe text of the comment.
idThe comment id, returned as a string.
createdAt / updatedAtISO 8601 UTC timestamps for when the comment was created and last updated.
parentEntityType / parentEntityIDThe kind of item the comment is attached to (here Event) and the id of that item.
userAddressThe wallet address of the comment author.
profile.name / profile.pseudonymThe public name and pseudonym of the author.
profile.proxyWalletThe proxy wallet address linked to the author profile.
reactionCount / reportCountThe number of reactions and the number of reports on the comment.
reactions[].reactionTypeThe type of reaction, for example HEART.
reactions[].userAddressThe wallet address of the user who reacted.

Notes

Pricing

$0.00044 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
Polymarket$0.00044 par appelJSON
Polymarket$0.012 par appelJSON
Polymarket$0.012 par appelJSON
Polymarket$0.012 par appelJSON
Polymarket$0.012 par appelJSON
Polymarket$0.012 par appelJSON

Questions

FAQ

Comment utiliser l’API Polymarket Get comments by comment id ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/polymarket/comments-by-id 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.

Combien coûte l’API Polymarket Get comments by comment id ?

$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.

Quels paramètres l’API Polymarket Get comments by comment id accepte-t-elle ?

Obligatoire : id (integer). Facultatif : get_positions (boolean). Le tableau des paramètres et le Playground sur cette page listent tous les champs.

Que renvoie l’API Polymarket Get comments by comment id ?

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.

Ai-je besoin d’un compte développeur ou d’une clé API Polymarket ?

Non. Polymarket Get comments by comment id 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.