idintegerwymagane
id
https://api.sandbase.ai/v1/api/polymarket/markets-tagsGet market tags by id 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 market. Each tag has an id, a label, a slug and timestamps. The only input is the numeric market id.
slug to build category pages.id values for a market, then look up all other markets or events under the same tag.forceShow set to true before choosing which labels to display.curl -X POST "https://api.sandbase.ai/v1/api/polymarket/markets-tags" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"id": 559651}'
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.
[
{
"createdAt": "2026-02-10T00:17:21.422175Z",
"forceShow": false,
"id": "103715",
"isCarousel": false,
"label": "HFC",
"slug": "hfc",
"updatedAt": "2026-04-17T20:55:08.357992Z"
}
]
| Field | Meaning |
|---|---|
id | Tag ID as a string. Use it to look up the tag in other tag APIs. |
label | Display name of the tag, for example Geopolitics. |
slug | URL-style name of the tag, for example world-affairs. |
createdAt / updatedAt | ISO 8601 UTC timestamps for when the tag was created and last changed. |
publishedAt | Time the tag was published. Only some tags include it, and its format differs from createdAt. |
forceShow | Boolean flag on the tag. When true, the tag is marked to be shown. Not present on every tag. |
isCarousel | Boolean flag on the tag. Not present on every tag. |
forceShow, isCarousel and publishedAt appear only on some tags.id from Polymarket List markets or Polymarket Get market by slug.id to get details for a single tag.$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/markets-tags" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": 559651
}'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/markets-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 market tags by id 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.