Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Polymarket Get market tags by id

Tài liệu API
https://api.sandbase.ai/v1/api/polymarket/markets-tags

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

Giá
$0.00044USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 0 tùy chọn
100 lượt gọi miễn phí / ngày100 lượt gọi đầu tiên mỗi ngày miễn phí (chia sẻ theo tổ chức) · Đặt lại lúc 00:00 UTC. Sau đó tính phí theo mỗi lượt gọi.

Phòng thử nghiệm

Đầu vào
id
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

Polymarket Get market tags by id API

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.

Use cases

  • Show topic badges such as Geopolitics next to a market in a dashboard.
  • Group markets by tag slug to build category pages.
  • Collect tag id values for a market, then look up all other markets or events under the same tag.
  • Check which tags have forceShow set to true before choosing which labels to display.

Request

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.

Parameters

NameTypeRequiredDescription
idintegerYesid

Example response

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

Response fields

FieldMeaning
idTag ID as a string. Use it to look up the tag in other tag APIs.
labelDisplay name of the tag, for example Geopolitics.
slugURL-style name of the tag, for example world-affairs.
createdAt / updatedAtISO 8601 UTC timestamps for when the tag was created and last changed.
publishedAtTime the tag was published. Only some tags include it, and its format differs from createdAt.
forceShowBoolean flag on the tag. When true, the tag is marked to be shown. Not present on every tag.
isCarouselBoolean flag on the tag. Not present on every tag.

Notes

Pricing

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

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Polymarket$0.00044 mỗi lần gọiJSON
Polymarket$0.012 mỗi lần gọiJSON
Polymarket$0.012 mỗi lần gọiJSON
Polymarket$0.012 mỗi lần gọiJSON
Polymarket$0.012 mỗi lần gọiJSON
Polymarket$0.012 mỗi lần gọiJSON

Câu hỏi

FAQ

Làm thế nào để dùng API Polymarket Get market tags by id?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/polymarket/markets-tags với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Polymarket Get market tags by id có giá bao nhiêu?

$0.00044 mỗi lần gọi. Mỗi tổ chức được 100 lần gọi miễn phí mỗi ngày UTC, dùng chung cho các API SandBase đủ điều kiện, bao gồm API này; sau đó mỗi lần gọi sẽ được tính theo mức giá này từ số dư SandBase của bạn. Không có gói đăng ký.

API Polymarket Get market tags by id chấp nhận những tham số nào?

Bắt buộc: id (integer). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Polymarket Get market tags by id trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Polymarket không?

Không. Polymarket Get market tags by id chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Polymarket.