Polymarket API endpoint
Returns one Polymarket tag by its required `id`: its id, label and slug. Optional `include_template` and `locale` adjust the lookup. An invalid id returns an invalid-parameter error.
/polymarket/tag/{id}Path parameters:
id: required path value. Polymarket identifier.Query parameters:
Notable response behavior:
| Field | In the sample | Value in the sample |
|---|---|---|
| tag.id | Has a value | |
| tag.slug | Has a value | |
| tag.label | Has a value | “Crypto” |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| id (path) | string | Yes | Polymarket tag id | 21 | |
| include_template | boolean | No | Include upstream template data when supported | ||
| locale | string | No | Optional upstream locale | en | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/polymarket/tag/21?include_template=true" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"source_url": "https://gamma-api.polymarket.com/...",
"fetched_at": "2026-06-07T11:00:00Z",
"tag": []
}
}Request schema
No body schema
Response schema
#/definitions/polymarket.tagResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | polymarket.TagResponse | No | ||||
| data.fetched_at | string | No | 2026-06-07T11:00:00Z | Time the data was fetched, in UTC (RFC 3339). | ||
| data.source_url | string | No | https://gamma-api.polymarket.com/tags/slug/crypto | URL the data was read from. | ||
| data.tag | object | No | Tag that was requested. | |||
| data.tag.id | string | No | 21 | Polymarket tag id. | ||
| data.tag.label | string | No | Crypto | Display name of the tag, for example `Crypto`. | ||
| data.tag.slug | string | No | crypto | URL slug of the tag, for example `crypto`. | ||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 404 | Not Found | #/definitions/app.Response |
| 429 | Too Many Requests | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/polymarket/tag/21?include_template=true" \
-H "x-api-key: $CRAWLORA_API_KEY"