Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Polymarket Get comments by comment id

Tài liệu 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.

Giá
$0.00044USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 1 tùy chọn
100 lượt gọi miễn phí / ngày100 lượt gọi đầu tiên mỗi ngày miễn phí (chia sẻ theo tổ chức) · Đặt lại lúc 00:00 UTC. Sau đó tính phí theo mỗi lượt gọi.

Phòng thử nghiệm

Đầu vào
id
get_positions
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp 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.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Polymarket$0.00044 mỗi lần gọiJSON
Polymarket$0.012 mỗi lần gọiJSON
Polymarket$0.012 mỗi lần gọiJSON
Polymarket$0.012 mỗi lần gọiJSON
Polymarket$0.012 mỗi lần gọiJSON
Polymarket$0.012 mỗi lần gọiJSON

Câu hỏi

FAQ

Làm thế nào để dùng API Polymarket Get comments by comment id?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/polymarket/comments-by-id với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Polymarket Get comments by comment id có giá bao nhiêu?

$0.00044 mỗi lần gọi. Mỗi tổ chức được 100 lần gọi miễn phí mỗi ngày UTC, dùng chung cho các API SandBase đủ điều kiện, bao gồm API này; sau đó mỗi lần gọi sẽ được tính theo mức giá này từ số dư SandBase của bạn. Không có gói đăng ký.

API Polymarket Get comments by comment id chấp nhận những tham số nào?

Bắt buộc: id (integer). Tùy chọn: get_positions (boolean). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Polymarket Get comments by comment id trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Polymarket không?

Không. Polymarket Get comments by comment id chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Polymarket.