Skip to main content
GET
/
api
/
workflows
/
polymarket
/
getTags
Get Tags
curl --request GET \
  --url https://api-v2.swaps.xyz/api/workflows/polymarket/getTags \
  --header 'x-api-key: <api-key>'
[
  {
    "id": "<string>",
    "label": "<string>",
    "slug": "<string>",
    "forceShow": true,
    "publishedAt": "<string>",
    "createdBy": 123,
    "updatedBy": 123,
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "forceHide": true,
    "isCarousel": true,
    "requiresTranslation": true
  }
]

Authorizations

x-api-key
string
header
required

API key for authentication. Contact Swaps.xyz to obtain an API key.

Query Parameters

limit
integer

Number of tags to return

Required range: 1 <= x <= 100
offset
integer
default:0

Zero-based index of first tag to return

Required range: x >= 0
slug
string

Filter by tag slug

Response

Array of tags

id
string
required

Unique tag identifier

label
string | null

Human-readable tag label

slug
string | null

URL-friendly tag identifier

forceShow
boolean | null

Whether to force show this tag

publishedAt
string | null

Tag publication timestamp (format: YYYY-MM-DD HH:mm:ss.SSS+00)

createdBy
integer | null

ID of user who created the tag

updatedBy
integer | null

ID of user who last updated the tag

createdAt
string<date-time> | null

Tag creation timestamp

updatedAt
string<date-time> | null

Tag last update timestamp

forceHide
boolean | null

Whether to force hide this tag

Whether this tag is a carousel tag

requiresTranslation
boolean | null

Whether this tag requires translation