Sand AISand AI MAGI-2MAGI-2 kini tersedia di SandBase: video 1080p dengan audio nativeCoba sekarang

Polymarket Get comments by comment id

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

Harga
$0.00044USD / panggilan
Metode
POST
Respons
JSON
Parameter
1 wajib · 1 opsional
100 panggilan gratis / hari100 panggilan pertama per hari gratis (dibagi per organisasi) · Direset pada 00:00 UTC. Setelah itu, bayar per panggilan.

Playground

Input
id
get_positions
OutputSiap

Output Anda akan muncul di sini

Lengkapi input, lalu klik Run.

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

Jelajahi lebih lanjut

API Terkait

Semua APIs
APIHargaRespons
Polymarket$0.00044 per panggilanJSON
Polymarket$0.012 per panggilanJSON
Polymarket$0.012 per panggilanJSON
Polymarket$0.012 per panggilanJSON
Polymarket$0.012 per panggilanJSON
Polymarket$0.012 per panggilanJSON

Pertanyaan

FAQ

Bagaimana cara menggunakan API Polymarket Get comments by comment id?

Kirim permintaan POST ke https://api.sandbase.ai/v1/api/polymarket/comments-by-id dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.

Berapa biaya API Polymarket Get comments by comment id?

$0.00044 per panggilan. Setiap organisasi mendapat 100 panggilan gratis per hari UTC, dibagi di seluruh API SandBase yang memenuhi syarat termasuk yang ini; setelah itu setiap panggilan ditagihkan dengan harga ini dari saldo SandBase Anda. Tidak ada langganan.

Parameter apa yang diterima API Polymarket Get comments by comment id?

Wajib: id (integer). Opsional: get_positions (boolean). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.

Apa yang dikembalikan API Polymarket Get comments by comment id?

Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.

Apakah saya memerlukan akun developer atau kunci API Polymarket?

Tidak. Polymarket Get comments by comment id berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Polymarket secara terpisah.