ascendingboolean
ascending
https://api.sandbase.ai/v1/api/polymarket/commentsList comments from Polymarket. Returns the official Polymarket API response unchanged.
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp Run.
Returns a list of comments posted on a Polymarket event, series, or market. You pass the parent type with parent_entity_type and its numeric ID with parent_entity_id. Each comment includes the text, the author profile, and its reactions.
limit and offset paging.curl -X POST "https://api.sandbase.ai/v1/api/polymarket/comments" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"parent_entity_type": "Event", "parent_entity_id": 2890, "limit": 1}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
ascending | boolean | No | ascending |
get_positions | boolean | No | get_positions |
holders_only | boolean | No | holders_only |
limit | integer | No | limit |
offset | integer | No | offset |
order | string | No | Comma-separated list of fields to order by |
parent_entity_id | integer | No | parent_entity_id |
parent_entity_type | string | No | parent_entity_type |
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"
}
]
| Field | Meaning |
|---|---|
body | The text of the comment. |
id | The comment ID, returned as a string. |
createdAt / updatedAt | ISO 8601 UTC timestamps for when the comment was created and last updated. |
parentEntityID / parentEntityType | The ID and type of the event, series, or market the comment belongs to. |
userAddress | The wallet address of the user who wrote the comment. |
profile.name / profile.pseudonym | The display name and pseudonym of the commenter. |
profile.proxyWallet | The proxy wallet address of the commenter. |
reactionCount | The number of reactions on the comment. |
reactions[].reactionType | The kind of reaction, such as HEART. |
reactions[].userAddress | The wallet address of the user who reacted. |
parent_entity_type accepts Event, Series, or market. Set parent_entity_id to the numeric ID of that parent.limit and offset. Use order and ascending to control sorting.$0.00044 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
curl -X POST "https://api.sandbase.ai/v1/api/polymarket/comments" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"limit": 1,
"parent_entity_id": 2890,
"parent_entity_type": "Event"
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
ascendingbooleanascending
get_positionsbooleanget_positions
holders_onlybooleanholders_only
limitintegerlimit
offsetintegeroffset
orderstringComma-separated list of fields to order by
parent_entity_idintegerparent_entity_id
parent_entity_typestringparent_entity_type
Giá trị có thể dùng: Event, Series, market
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
Chưa có phản hồi đã lưu nào được công bố. Chạy API trong Playground để xem phản hồi.
Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Polymarket List commentsAPI này Polymarket | $0.00044 mỗi lần gọi | JSON |
Polymarket | $0.012 mỗi lần gọi | JSON |
Polymarket | $0.012 mỗi lần gọi | JSON |
Polymarket | $0.012 mỗi lần gọi | JSON |
Polymarket | $0.012 mỗi lần gọi | JSON |
Polymarket | $0.012 mỗi lần gọi | JSON |
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/polymarket/comments 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.
$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ý.
Không có tham số bắt buộc. Tùy chọn: ascending (boolean), get_positions (boolean), holders_only (boolean), limit (integer), offset (integer) và order (string) và 2 mục khác. Bảng Parameters và Playground trên trang này liệt kê mọi trường.
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.
Không. Polymarket List comments 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.