Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

Polymarket Get comments by comment id

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

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

Preis
$0.00044USD / Aufruf
Methode
POST
Antwort
JSON
Parameter
1 erforderlich · 1 optional
100 kostenlose Aufrufe / TagDie ersten 100 Aufrufe pro Tag kostenlos (organisationsweit geteilt) · Zurücksetzung um 00:00 UTC. Danach Abrechnung pro Aufruf.

Playground

Eingabe
id
get_positions
AusgabeBereit

Ihre Ausgabe wird hier angezeigt

Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.

API-README

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.

Mehr entdecken

Verwandte APIs

Alle APIs
APIPreisAntwort
Polymarket$0.00044 pro AufrufJSON
Polymarket$0.012 pro AufrufJSON
Polymarket$0.012 pro AufrufJSON
Polymarket$0.012 pro AufrufJSON
Polymarket$0.012 pro AufrufJSON
Polymarket$0.012 pro AufrufJSON

Fragen

FAQ

Wie verwende ich die Polymarket Get comments by comment id API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/polymarket/comments-by-id mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.

Was kostet die Polymarket Get comments by comment id API?

$0.00044 pro Aufruf. Jede Organisation erhält 100 kostenlose Aufrufe pro UTC-Tag, gemeinsam über alle berechtigten SandBase APIs einschließlich dieser hier; danach wird jeder Aufruf zu diesem Preis von Ihrem SandBase-Guthaben abgerechnet. Es gibt kein Abo.

Welche Parameter akzeptiert die Polymarket Get comments by comment id API?

Erforderlich: id (integer). Optional: get_positions (boolean). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.

Was gibt die Polymarket Get comments by comment id API zurück?

Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.

Benötige ich ein Polymarket-Entwicklerkonto oder einen API-Schlüssel?

Nein. Polymarket Get comments by comment id läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für Polymarket API beantragen.