ascendingboolean
ascending
https://api.sandbase.ai/v1/api/polymarket/commentsList comments from Polymarket. Returns the official Polymarket API response unchanged.
您的输出将显示在这里
完成输入,然后点击运行。
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.
开始构建
具备统一身份验证和使用情况跟踪的平台 API 端点。
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"
}'将您的 SandBase API 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_KEY"请将密钥保存在服务器端。不要在浏览器代码中暴露它。
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
可选值:Event, Series, market
这是该 API 保存的示例响应;查看时不会发起实时请求。
尚未发布已保存的响应。请在 Playground 中运行 API 以查看其响应。
探索更多
| 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 |
问题
向 https://api.sandbase.ai/v1/api/polymarket/comments 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
每次调用 $0.00044。每个组织在每个 UTC 日可获得 100 次免费调用,适用于包括此接口在内的所有符合条件的 SandBase APIs;超过后,每次调用将按此价格从您的 SandBase 余额中扣费。无需订阅。
无需参数。 可选:ascending (boolean), get_positions (boolean), holders_only (boolean), limit (integer), offset (integer) 和 order (string) 以及另外 2 项。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
不需要。Polymarket List comments 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Polymarket API 访问权限。