ascendingboolean
ascending
https://api.sandbase.ai/v1/api/polymarket/commentsList comments from Polymarket. Returns the official Polymarket API response unchanged.
Twój wynik pojawi się tutaj
Uzupełnij dane wejściowe, a następnie kliknij Uruchom.
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.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
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"
}'Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
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
Możliwe wartości: Event, Series, market
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
Nie opublikowano zapisanego response. Uruchom API w Playground, aby sprawdzić jego odpowiedź.
Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
Polymarket List commentsTo API Polymarket | $0.00044 za wywołanie | JSON |
Polymarket | $0.012 za wywołanie | JSON |
Polymarket | $0.012 za wywołanie | JSON |
Polymarket | $0.012 za wywołanie | JSON |
Polymarket | $0.012 za wywołanie | JSON |
Polymarket | $0.012 za wywołanie | JSON |
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/polymarket/comments z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.
$0.00044 za wywołanie. Każda organizacja otrzymuje 100 bezpłatnych wywołań na dzień UTC, współdzielonych między kwalifikującymi się API SandBase, w tym to; potem każde wywołanie jest rozliczane według tej stawki z salda SandBase. Nie ma subskrypcji.
Nie są wymagane żadne parametry. Opcjonalne: ascending (boolean), get_positions (boolean), holders_only (boolean), limit (integer), offset (integer) i order (string) i jeszcze 2. Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.
Nie. Polymarket List comments działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Polymarket.