Sand AISand AI MAGI-2MAGI-2 अब SandBase पर है: 1080p वीडियो, नेटीव ऑडियो के साथअभी आज़माएँ

Polymarket Get tags related to a tag slug

API दस्तावेज़
https://api.sandbase.ai/v1/api/polymarket/tags-slug-related-tags-tags

Get tags related to a tag slug from Polymarket. Returns the official Polymarket API response unchanged.

मूल्य
$0.00044USD / कॉल
मेथड
POST
प्रतिक्रिया
JSON
पैरामीटर
1 आवश्यक · 2 वैकल्पिक

प्लेग्राउंड

इनपुट
slug
omit_empty
status
आउटपुटतैयार

आपका आउटपुट यहाँ दिखाई देगा

इनपुट पूरा करें, फिर Run पर क्लिक करें।

API README

Polymarket Get tags related to a tag slug API

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.

Use cases

  • Build a topic navigation menu that suggests tags next to politics.
  • Rank related topics by activeEventsCount to find the busiest areas of Polymarket.
  • Expand a tag filter so a market browser also shows events from related tags.
  • Track when related tags were created or last changed using createdAt and updatedAt.

Request

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.

Parameters

NameTypeRequiredDescription
slugstringYesslug
omit_emptybooleanNoomit_empty
statusstringNostatus

Example response

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
  }
]

Response fields

FieldMeaning
[].labelDisplay name of the related tag, for example Trump or Midterms.
[].slugURL-style identifier of the related tag. Use it as the slug input in other tag calls.
[].idTag id as a string. Use it to look up the tag by id.
[].activeEventsCountNumber of active events that carry this tag.
[].createdAt / [].updatedAtISO 8601 timestamps for when the tag was created and last changed.
[].publishedAtPublish time of the tag. It appears only on some tags and uses a different format from createdAt.
[].forceShowBoolean flag on the tag. It is missing on some tags.
[].updatedByNumeric id of the user who last updated the tag. It appears only on some tags.

Notes

  • Use the slug of a tag from Polymarket List tags as the input.
  • omit_empty is a boolean and status accepts active, closed or all.
  • To look up related tags by numeric id instead, call Polymarket Get tags related to a tag id.
  • Some fields, such as forceShow, publishedAt and updatedBy, are missing on some items, so check for them before reading.

Pricing

$0.00044 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

और जानें

संबंधित APIs

सभी APIs
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

प्रश्न

FAQ

Polymarket Get tags related to a tag slug API का उपयोग कैसे करें?

https://api.sandbase.ai/v1/api/polymarket/tags-slug-related-tags-tags पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।

Polymarket Get tags related to a tag slug API की लागत कितनी है?

$0.00044 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।

Polymarket Get tags related to a tag slug API कौन-से parameters स्वीकार करती है?

आवश्यक: slug (string)। वैकल्पिक: omit_empty (boolean) और status (active, closed, all में से एक)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।

Polymarket Get tags related to a tag slug API क्या लौटाती है?

एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।

क्या मुझे एक Polymarket developer account या API key चाहिए?

नहीं। Polymarket Get tags related to a tag slug SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Polymarket API access के लिए आवेदन करने की आवश्यकता नहीं है।