slugstringzorunlu
slug
https://api.sandbase.ai/v1/api/polymarket/tags-slug-related-tags-tagsGet tags related to a tag slug from Polymarket. Returns the official Polymarket API response unchanged.
Çıktınız burada görünecek
Girdileri tamamlayın, ardından Çalıştır'a tıklayın.
Returns a list of Polymarket tags that are related to a given tag slug. Each tag includes its label, slug, id, and a count of active events. The only required input is slug, such as politics.
politics.activeEventsCount to find the busiest areas of Polymarket.createdAt and updatedAt.curl -X POST "https://api.sandbase.ai/v1/api/polymarket/tags-slug-related-tags-tags" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"slug": "politics"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
slug | string | Yes | slug |
omit_empty | boolean | No | omit_empty |
status | string | No | status |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
[
{
"activeEventsCount": 334,
"createdAt": "2023-11-02T21:23:16.39Z",
"forceShow": false,
"id": "126",
"label": "Trump",
"publishedAt": "2023-11-02 21:23:16.384+00",
"slug": "trump",
"updatedAt": "2026-04-17T20:39:14.206724Z",
"updatedBy": 15
}
]
| Field | Meaning |
|---|---|
[].label | Display name of the related tag, for example Trump or Midterms. |
[].slug | URL-style identifier of the related tag. Use it as the slug input in other tag calls. |
[].id | Tag id as a string. Use it to look up the tag by id. |
[].activeEventsCount | Number of active events that carry this tag. |
[].createdAt / [].updatedAt | ISO 8601 timestamps for when the tag was created and last changed. |
[].publishedAt | Publish time of the tag. It appears only on some tags and uses a different format from createdAt. |
[].forceShow | Boolean flag on the tag. It is missing on some tags. |
[].updatedBy | Numeric id of the user who last updated the tag. It appears only on some tags. |
slug of a tag from Polymarket List tags as the input.omit_empty is a boolean and status accepts active, closed or all.forceShow, publishedAt and updatedBy, are missing on some items, so check for them before reading.$0.00044 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Geliştirmeye başlayın
Birleşik kimlik doğrulama ve kullanım takibi sunan Platform API uç noktası.
curl -X POST "https://api.sandbase.ai/v1/api/polymarket/tags-slug-related-tags-tags" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"slug": "politics"
}'SandBase API anahtarınızı sunucu ortamınıza ayarlayın. İstekler Bearer kimlik doğrulaması kullanır.
export SANDBASE_API_KEY="YOUR_API_KEY"Anahtarınızı sunucuda tutun. Tarayıcı kodunda açığa çıkarmayın.
slugstringzorunluslug
omit_emptybooleanomit_empty
statusstringstatus
Olası değerler: active, closed, all
Bu API için kaydedilmiş örnek yanıt; görüntülerken canlı istek yapılmaz.
Yayınlanmış bir kaydedilmiş yanıt yok. Yanıtını incelemek için API'yi Playground'da çalıştırın.
Daha fazlasını keşfedin
| API | Fiyat | Yanıt |
|---|---|---|
Polymarket | $0.00044 çağrı başına | JSON |
Polymarket | $0.012 çağrı başına | JSON |
Polymarket | $0.012 çağrı başına | JSON |
Polymarket | $0.012 çağrı başına | JSON |
Polymarket | $0.012 çağrı başına | JSON |
Polymarket | $0.012 çağrı başına | JSON |
Sorular
SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/polymarket/tags-slug-related-tags-tags adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.
çağrı başına $0.00044, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.
Gerekli: slug (string). İsteğe bağlı: omit_empty (boolean) ve status (active, closed, all arasından biri). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.
Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.
Hayır. Polymarket Get tags related to a tag slug, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. Polymarket API erişimi için ayrıca başvuru yapmanız gerekmez.