idintegerआवश्यक
id
https://api.sandbase.ai/v1/api/polymarket/tags-related-tags-tagsGet tags related to a tag id from Polymarket. Returns the official Polymarket API response unchanged.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
Returns a list of Polymarket tags that are related to a given tag. It needs a numeric tag id as input. Each result has the related tag's label, slug, and a count of active events.
Midterms or Senate Elections.activeEventsCount to see which linked topics have the most open events.id values to use when searching for events.curl -X POST "https://api.sandbase.ai/v1/api/polymarket/tags-related-tags-tags" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"id": 2}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | id |
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": 333,
"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 |
|---|---|
[].id | ID of the related tag, returned as a string. |
[].label | Display name of the related tag, such as Trump or Midterms. |
[].slug | URL-style name of the related tag. Use it to look up the tag by slug. |
[].activeEventsCount | Number of active events that carry this tag. |
[].createdAt / updatedAt | Timestamps for when the tag was created and last changed, in ISO 8601 format. |
[].publishedAt | Time the tag was published. It appears only on some tags and uses a different date 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. |
forceShow, publishedAt and updatedBy, are missing on some items.id from Polymarket List tags or Polymarket Get tag by slug.status accepts active, closed or all. omit_empty is a boolean filter.$0.00044 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/polymarket/tags-related-tags-tags" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": 2
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
idintegerआवश्यकid
omit_emptybooleanomit_empty
statusstringstatus
संभावित मान: active, closed, all
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| 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 |
प्रश्न
https://api.sandbase.ai/v1/api/polymarket/tags-related-tags-tags पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.00044 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: id (integer)। वैकल्पिक: omit_empty (boolean) और status (active, closed, all में से एक)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Polymarket Get tags related to a tag id SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Polymarket API access के लिए आवेदन करने की आवश्यकता नहीं है।