Sand AISand AI MAGI-2MAGI-2 теперь на SandBase: видео 1080p с нативным звукомПопробовать сейчас

Polymarket Get comments by comment id

Документация 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.

Цена
$0.00044USD / вызов
Метод
POST
Ответ
JSON
Параметры
1 обязательных · 1 необязательных
100 бесплатных вызовов в деньПервые 100 вызовов в день — бесплатно (общий лимит для организации) · Сброс в 00:00 UTC. Далее оплата за каждый вызов.

Песочница

Ввод
id
get_positions
ВыходГотово

Ваш результат появится здесь

Заполните входные данные, затем нажмите «Запустить».

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.

Посмотреть больше

Связанные APIs

Все APIs
APIЦенаОтвет
Polymarket$0.00044 за запросJSON
Polymarket$0.012 за запросJSON
Polymarket$0.012 за запросJSON
Polymarket$0.012 за запросJSON
Polymarket$0.012 за запросJSON
Polymarket$0.012 за запросJSON

Вопросы

FAQ

Как использовать API Polymarket Get comments by comment id?

Отправьте POST-запрос на https://api.sandbase.ai/v1/api/polymarket/comments-by-id, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.

Сколько стоит API Polymarket Get comments by comment id?

$0.00044 за вызов. Каждой организации предоставляется 100 бесплатных вызовов в сутки по UTC, общих для всех подходящих API SandBase, включая этот; после этого каждый вызов тарифицируется по этой цене и списывается с баланса SandBase. Подписка не требуется.

Какие параметры принимает API Polymarket Get comments by comment id?

Обязательные: id (integer). Необязательные: get_positions (boolean). В таблице Parameters и в Playground на этой странице перечислены все поля.

Что возвращает API Polymarket Get comments by comment id?

JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.

Нужен ли мне аккаунт разработчика Polymarket или API key?

Нет. Polymarket Get comments by comment id работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Polymarket.