Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

Polymarket Get tag by id

API 文件
https://api.sandbase.ai/v1/api/polymarket/tags-by-id

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

價格
$0.00044美元/次呼叫
方法
POST
回應
JSON
參數
1 個必填 · 1 個選填

Playground

輸入
id
include_template
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

Polymarket Get tag by id API

Returns a single Polymarket tag for a numeric tag id. The response gives the tag label, slug, and creation and update timestamps. The request also accepts an optional boolean include_template.

Use cases

  • Turn a tag id from an event or market into a readable label for display.
  • Look up the slug of a tag to build a tag page URL or to call a slug-based lookup.
  • Check when a tag was created or last changed using createdAt and updatedAt.

Request

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

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

Parameters

NameTypeRequiredDescription
idintegerYesid
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
idThe tag id as a string. It matches the id you sent in the request.
labelThe display name of the tag, returned as stored.
slugThe URL-friendly name of the tag. Use it with the tag-by-slug lookup.
createdAtISO 8601 timestamp with a Z suffix for when the tag was created.
updatedAtISO 8601 timestamp with a Z suffix for the last update to the tag.

Notes

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.00044JSON
Polymarket每次呼叫 $0.012JSON
Polymarket每次呼叫 $0.012JSON
Polymarket每次呼叫 $0.012JSON
Polymarket每次呼叫 $0.012JSON
Polymarket每次呼叫 $0.012JSON

問題

常見問題

我要如何使用 Polymarket Get tag by id API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/polymarket/tags-by-id。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

Polymarket Get tag by id API 的費用是多少?

每次 $0.00044,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

Polymarket Get tag by id API 接受哪些參數?

必要:id (integer)。 選填:include_template (boolean)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Polymarket Get tag by id API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 Polymarket 開發者帳號或 API 金鑰嗎?

不需要。Polymarket Get tag by id 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Polymarket API 存取權。