Sand AISand AI MAGI-2MAGI-2 agora está na SandBase: vídeo em 1080p com áudio nativoExperimente agora

Polymarket Get tag by slug

Docs da API
https://api.sandbase.ai/v1/api/polymarket/tags-slug

Get tag by slug from Polymarket. Returns the official Polymarket API response unchanged.

Preço
$0.00044USD / chamada
Método
POST
Resposta
JSON
Parâmetros
1 obrigatórios · 1 opcionais

Playground

Entrada
slug
include_template
SaídaPronto

Sua saída aparecerá aqui

Preencha as entradas e clique em Executar.

README da API

Polymarket Get tag by slug API

Returns one Polymarket tag record for a given tag slug. The record holds the tag id, its display label, and creation and update timestamps.

Use cases

  • Convert a known tag slug into its numeric id for other Polymarket calls that filter by tag.
  • Check whether a tag exists on Polymarket before you build a link or filter around it.
  • Show the display label for a tag in your own app when you only store the slug.
  • Track when a tag was created or last changed using createdAt and updatedAt.

Request

curl -X POST "https://api.sandbase.ai/v1/api/polymarket/tags-slug" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"slug": "product-marekt-fit"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
slugstringYesslug
include_templatebooleanNoinclude_template

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "$schema": "https://gamma-api.polymarket.com/schemas/Tag.json",
  "createdAt": "2025-02-18T16:58:25.464578Z",
  "id": "101867",
  "label": "product marekt fit",
  "slug": "product-marekt-fit",
  "updatedAt": "2026-04-17T17:23:11.67487Z"
}

Response fields

FieldMeaning
idIdentifier of the tag, returned as a string. Use it in APIs that take a tag id.
labelHuman-readable name of the tag.
slugURL-style name of the tag. It matches the slug you sent in the request.
createdAt / updatedAtISO 8601 UTC timestamps for when the tag was created and when it was last updated.

Notes

Pricing

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

Explorar mais

APIs relacionadas

Todas as APIs
APIPreçoResposta
Polymarket$0.00044 por chamadaJSON
Polymarket$0.012 por chamadaJSON
Polymarket$0.012 por chamadaJSON
Polymarket$0.012 por chamadaJSON
Polymarket$0.012 por chamadaJSON
Polymarket$0.012 por chamadaJSON

Perguntas

FAQ

Como eu uso a API Polymarket Get tag by slug?

Envie uma solicitação POST para https://api.sandbase.ai/v1/api/polymarket/tags-slug com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.

Quanto custa a API Polymarket Get tag by slug?

$0.00044 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.

Quais parâmetros a API Polymarket Get tag by slug aceita?

Obrigatórios: slug (string). Opcionais: include_template (boolean). A tabela de Parâmetros e o Playground nesta página listam todos os campos.

O que a API Polymarket Get tag by slug retorna?

Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.

Preciso de uma conta de desenvolvedor Polymarket ou de uma chave de API?

Não. Polymarket Get tag by slug funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Polymarket separadamente.