ascendingboolean
ascending
https://api.sandbase.ai/v1/api/polymarket/tagsList tags from Polymarket. Returns the official Polymarket API response unchanged.
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp Run.
Returns a list of Polymarket tags. Each tag has an id, a label, a slug and creation and update timestamps. All inputs are optional, so you can call it with no body or use limit and offset to page through tags.
id values into a database so you can map events and markets to their tags.updatedAt and checking which categories changed.limit and offset to audit the tag catalog.curl -X POST "https://api.sandbase.ai/v1/api/polymarket/tags" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"limit": 1}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
ascending | boolean | No | ascending |
include_template | boolean | No | include_template |
is_carousel | boolean | No | is_carousel |
limit | integer | No | limit |
offset | integer | No | offset |
order | string | No | Comma-separated list of fields to order by |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
[
{
"createdAt": "2025-02-18T16:58:25.464578Z",
"id": "101867",
"label": "product marekt fit",
"slug": "product-marekt-fit",
"updatedAt": "2026-04-17T17:23:11.67487Z"
}
]
| Field | Meaning |
|---|---|
[].id | Tag ID as a string. Pass it to the tag-by-id and related-tags APIs. |
[].label | Display name of the tag, as people see it on Polymarket. |
[].slug | URL-style name of the tag. Use it to look up a tag by slug. |
[].createdAt | ISO 8601 UTC timestamp for when the tag was created. |
[].updatedAt | ISO 8601 UTC timestamp for the last change to the tag. |
limit and offset to page through it.order parameter takes a comma-separated list of fields, and ascending sets the sort direction.id, or Polymarket Get tag by slug with the slug.$0.00044 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
curl -X POST "https://api.sandbase.ai/v1/api/polymarket/tags" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"limit": 1
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
ascendingbooleanascending
include_templatebooleaninclude_template
is_carouselbooleanis_carousel
limitintegerlimit
offsetintegeroffset
orderstringComma-separated list of fields to order by
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
Chưa có phản hồi đã lưu nào được công bố. Chạy API trong Playground để xem phản hồi.
Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Polymarket List tagsAPI này Polymarket | $0.00044 mỗi lần gọi | JSON |
Polymarket | $0.012 mỗi lần gọi | JSON |
Polymarket | $0.012 mỗi lần gọi | JSON |
Polymarket | $0.012 mỗi lần gọi | JSON |
Polymarket | $0.012 mỗi lần gọi | JSON |
Polymarket | $0.012 mỗi lần gọi | JSON |
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/polymarket/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.
$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ý.
Không có tham số bắt buộc. Tùy chọn: ascending (boolean), include_template (boolean), is_carousel (boolean), limit (integer), offset (integer) và order (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.
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.
Không. Polymarket List tags 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.