idintegerwymagane
id
https://api.sandbase.ai/v1/api/polymarket/events-tagsGet event tags 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 the list of tags attached to one Polymarket event. You send the numeric event id and get back an array of tag objects with an id, label, slug and update time.
slug to build topic filters.curl -X POST "https://api.sandbase.ai/v1/api/polymarket/events-tags" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"id": 2890}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | id |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
[
{
"forceShow": false,
"id": "100215",
"label": "All",
"slug": "all",
"updatedAt": "2026-04-17T20:23:54.340488Z"
}
]
| Field | Meaning |
|---|---|
[].id | Tag id as a string. Pass it to the tag lookup APIs to get more detail. |
[].label | Display name of the tag, such as All. |
[].slug | URL-friendly name of the tag. Use it to look up the tag by slug. |
[].forceShow | Boolean flag on the tag. In this response it is false. |
[].updatedAt | UTC timestamp in ISO 8601 format for the last update to the tag. |
id parameter is the event id. Get event ids from Polymarket List events or Polymarket Get event by slug.id values are strings, while the request id is an integer.$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/events-tags" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": 2890
}'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.
idintegerwymaganeid
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 | $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/events-tags 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.
Wymagane: id (integer). 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 Get event tags 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.