idintegerobligatoire
id
https://api.sandbase.ai/v1/api/polymarket/markets-tagsGet market tags by id from Polymarket. Returns the official Polymarket API response unchanged.
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
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.
Commencer à construire
Point de terminaison de l'API de la plateforme avec authentification unifiée et suivi de l'utilisation.
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
}'Définissez votre clé API SandBase dans l'environnement de votre serveur. Les requêtes utilisent l'authentification Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conservez votre clé côté serveur. Ne l'exposez pas dans le code du navigateur.
idintegerobligatoireid
Exemple de réponse enregistré pour cette API ; aucune requête en direct n'est effectuée lors de l'affichage.
Aucune réponse enregistrée n'a été publiée. Exécutez l'API dans Playground pour inspecter sa réponse.
Explorer plus
| API | Prix | Réponse |
|---|---|---|
Polymarket Get market tags by idCette API Polymarket | $0.00044 par appel | JSON |
Polymarket | $0.012 par appel | JSON |
Polymarket | $0.012 par appel | JSON |
Polymarket | $0.012 par appel | JSON |
Polymarket | $0.012 par appel | JSON |
Polymarket | $0.012 par appel | JSON |
Questions
Envoyez une requête POST à https://api.sandbase.ai/v1/api/polymarket/markets-tags avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.
$0.00044 par appel. Chaque organisation bénéficie de 100 appels gratuits par jour UTC, partagés entre les API SandBase éligibles, y compris celle-ci ; au-delà, chaque appel est facturé à ce tarif depuis votre solde SandBase. Aucun abonnement.
Obligatoire : id (integer). Le tableau des paramètres et le Playground sur cette page listent tous les champs.
Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.
Non. Polymarket Get market tags by id fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Polymarket séparément.