Polymarket — Get market tags by id
Retrieve market tags by id with the Polymarket API. Supply a market ID. Sample fields include creation times and labels. Use it for on-chain or crypto market research. Use the data in market research, dashboard views, or scheduled data collection for the relevant markets.
- Selected price
- $0 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
Polymarket — Get market tags by id
Prepare your request, then continue with your agent.
Selected price
$0 / call
- Provider
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
responseobject[]createdAtstringidstringlabelstringslugstringupdatedAtstringforceHidebooleanforceShowbooleanpublishedAtstringupdatedByintegerisCarouselbooleancreatedByinteger
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = Array<{
createdAt?: string;
id?: string;
label?: string;
slug?: string;
updatedAt?: string;
forceHide?: boolean;
forceShow?: boolean;
publishedAt?: string;
updatedBy?: number;
isCarousel?: boolean;
createdBy?: number;
}>;Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
PolymarketCurrent Polymarket — Get market tags by id · GET · View API reference | $0 / call | — | —successP50— |
- Unit price
- $0
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.
Total $0
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/polymarket/query/market-discovery/get-market-tags-by-id-8edcab9a/{id}- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/polymarket/query/market-discovery/get-market-tags-by-id-8edcab9a/682705' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
id | URL path parameterspath | integer | Yes | id |
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Sample response · Documented HTTP 200 Published documentation example. Verify the actual response after an approved call.
[
{
"createdAt": "2026-04-28T19:50:03.260791Z",
"id": "104793",
"label": "Israel Election",
"slug": "israel-election",
"updatedAt": "2026-04-28T19:55:03.279458Z"
},
{
"createdAt": "2023-10-25T18:55:50.681Z",
"forceHide": true,
"forceShow": false,
"id": "2",
"label": "Politics",
"publishedAt": "2023-10-25 18:55:50.674+00",
"slug": "politics",
"updatedAt": "2026-04-17T20:39:54.201881Z",
"updatedBy": 13
},
{
"createdAt": "2023-11-02T21:24:31.198Z",
"forceHide": true,
"forceShow": false,
"id": "144",
"label": "Elections",
"publishedAt": "2023-11-02 21:24:31.008+00",
"slug": "elections",
"updatedAt": "2026-04-17T17:22:31.696566Z",
"updatedBy": 13
},
{
"createdAt": "2023-11-02T21:26:20.601Z",
"forceHide": true,
"forceShow": false,
"id": "154",
"label": "Middle East",
"publishedAt": "2023-11-02 21:26:20.585+00",
"slug": "middle-east",
"updatedAt": "2026-04-17T20:19:53.885899Z",
"updatedBy": 15
},
{
"createdAt": "2023-11-02T21:31:07.395Z",
"forceShow": false,
"id": "180",
"isCarousel": false,
"label": "Israel",
"publishedAt": "2023-11-02 21:31:07.39+00",
"slug": "israel",
"updatedAt": "2026-04-17T17:25:43.191023Z",
"updatedBy": 15
},
{
"createdAt": "2024-03-07T20:41:56.773Z",
"createdBy": 15,
"forceShow": true,
"id": "1597",
"label": "Global Elections",
"publishedAt": "2024-03-07 20:44:01.258+00",
"slug": "global-elections",
"updatedAt": "2026-04-17T21:08:23.096987Z",
"updatedBy": 15
},
{
"createdAt": "2024-06-12T20:13:03.615956Z",
"forceShow": true,
"id": "100265",
"label": "Geopolitics",
"slug": "geopolitics",
"updatedAt": "2026-04-17T20:49:04.209055Z"
},
{
"createdAt": "2025-03-19T23:36:08.498099Z",
"forceShow": false,
"id": "101970",
"label": "World",
"slug": "world",
"updatedAt": "2026-04-17T17:18:59.135061Z"
},
{
"createdAt": "2025-12-28T23:05:25.11347Z",
"forceShow": false,
"id": "103026",
"isCarousel": false,
"label": "Trump-Netanyahu",
"slug": "trump-netanyahu",
"updatedAt": "2026-04-17T20:39:54.179053Z"
},
{
"createdAt": "2024-11-07T23:07:25.512144Z",
"forceShow": false,
"id": "101206",
"label": "World Elections",
"slug": "world-elections",
"updatedAt": "2026-04-15T21:03:39.331022Z"
},
{
"createdAt": "2026-04-22T17:40:04.678394Z",
"id": "104743",
"label": "Main Election",
"slug": "main-election",
"updatedAt": "2026-04-22T17:45:02.315601Z"
}
]Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# Polymarket — Get market tags by id
Retrieve market tags by id with the Polymarket API. Supply a market ID. Sample fields include creation times and labels. Use it for on-chain or crypto market research. Use the data in market research, dashboard views, or scheduled data collection for the relevant markets.
## Available implementations
Polymarket · Polymarket — Get market tags by id: https://openany.si/markets/apis/capabilities/polymarket-get-market-tags-by-id?offering=5f61c93f-8bb6-4863-bc0a-a98b6bdabe98 · $0 / call
## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/polymarket-get-market-tags-by-id
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/polymarket/query/market-discovery/get-market-tags-by-id-8edcab9a/{id}
Price: $0 / call
Provider: Polymarket
Contract revision: 3
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'https://api.openany.si/v1/agent-apis/polymarket/query/market-discovery/get-market-tags-by-id-8edcab9a/682705' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'
```
## API contract
```json
{
"resource_type": "api",
"name": "Polymarket — Get market tags by id",
"endpoint": "https://api.openany.si/v1/agent-apis/polymarket/query/market-discovery/get-market-tags-by-id-8edcab9a/{id}",
"method": "GET",
"content_type": "none",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "id",
"location": "path",
"name": "id",
"nullable": false,
"required": true,
"type": "integer"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "0",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Documentation example",
"request": {
"body": null,
"headers": {},
"path": {
"id": 682705
},
"query": {}
},
"response_body": [
{
"createdAt": "2026-04-28T19:50:03.260791Z",
"id": "104793",
"label": "Israel Election",
"slug": "israel-election",
"updatedAt": "2026-04-28T19:55:03.279458Z"
},
{
"createdAt": "2023-10-25T18:55:50.681Z",
"forceHide": true,
"forceShow": false,
"id": "2",
"label": "Politics",
"publishedAt": "2023-10-25 18:55:50.674+00",
"slug": "politics",
"updatedAt": "2026-04-17T20:39:54.201881Z",
"updatedBy": 13
},
{
"createdAt": "2023-11-02T21:24:31.198Z",
"forceHide": true,
"forceShow": false,
"id": "144",
"label": "Elections",
"publishedAt": "2023-11-02 21:24:31.008+00",
"slug": "elections",
"updatedAt": "2026-04-17T17:22:31.696566Z",
"updatedBy": 13
},
{
"createdAt": "2023-11-02T21:26:20.601Z",
"forceHide": true,
"forceShow": false,
"id": "154",
"label": "Middle East",
"publishedAt": "2023-11-02 21:26:20.585+00",
"slug": "middle-east",
"updatedAt": "2026-04-17T20:19:53.885899Z",
"updatedBy": 15
},
{
"createdAt": "2023-11-02T21:31:07.395Z",
"forceShow": false,
"id": "180",
"isCarousel": false,
"label": "Israel",
"publishedAt": "2023-11-02 21:31:07.39+00",
"slug": "israel",
"updatedAt": "2026-04-17T17:25:43.191023Z",
"updatedBy": 15
},
{
"createdAt": "2024-03-07T20:41:56.773Z",
"createdBy": 15,
"forceShow": true,
"id": "1597",
"label": "Global Elections",
"publishedAt": "2024-03-07 20:44:01.258+00",
"slug": "global-elections",
"updatedAt": "2026-04-17T21:08:23.096987Z",
"updatedBy": 15
},
{
"createdAt": "2024-06-12T20:13:03.615956Z",
"forceShow": true,
"id": "100265",
"label": "Geopolitics",
"slug": "geopolitics",
"updatedAt": "2026-04-17T20:49:04.209055Z"
},
{
"createdAt": "2025-03-19T23:36:08.498099Z",
"forceShow": false,
"id": "101970",
"label": "World",
"slug": "world",
"updatedAt": "2026-04-17T17:18:59.135061Z"
},
{
"createdAt": "2025-12-28T23:05:25.11347Z",
"forceShow": false,
"id": "103026",
"isCarousel": false,
"label": "Trump-Netanyahu",
"slug": "trump-netanyahu",
"updatedAt": "2026-04-17T20:39:54.179053Z"
},
{
"createdAt": "2024-11-07T23:07:25.512144Z",
"forceShow": false,
"id": "101206",
"label": "World Elections",
"slug": "world-elections",
"updatedAt": "2026-04-15T21:03:39.331022Z"
},
{
"createdAt": "2026-04-22T17:40:04.678394Z",
"id": "104743",
"label": "Main Election",
"slug": "main-election",
"updatedAt": "2026-04-22T17:45:02.315601Z"
}
]
}
]
}
```Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Documentation example
Published documentation example. Verify the actual response after an approved call.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 1
Review these request fields before running. Keep the published provider and request method unchanged.
id- id
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/polymarket/query/market-discovery/get-market-tags-by-id-8edcab9a/682705' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response[ { "createdAt": "2026-04-28T19:50:03.260791Z", "id": "104793", "label": "Israel Election", "slug": "israel-election", "updatedAt": "2026-04-28T19:55:03.279458Z" }, { "createdAt": "2023-10-25T18:55:50.681Z", "forceHide": true, "forceShow": false, "id": "2", "label": "Politics", "publishedAt": "2023-10-25 18:55:50.674+00", "slug": "politics", "updatedAt": "2026-04-17T20:39:54.201881Z", "updatedBy": 13 }, { "createdAt": "2023-11-02T21:24:31.198Z", "forceHide": true, "forceShow": false, "id": "144", "label": "Elections", "publishedAt": "2023-11-02 21:24:31.008+00", "slug": "elections", "updatedAt": "2026-04-17T17:22:31.696566Z", "updatedBy": 13 }, { "createdAt": "2023-11-02T21:26:20.601Z", "forceHide": true, "forceShow": false, "id": "154", "label": "Middle East", "publishedAt": "2023-11-02 21:26:20.585+00", "slug": "middle-east", "updatedAt": "2026-04-17T20:19:53.885899Z", "updatedBy": 15 }, { "createdAt": "2023-11-02T21:31:07.395Z", "forceShow": false, "id": "180", "isCarousel": false, "label": "Israel", "publishedAt": "2023-11-02 21:31:07.39+00", "slug": "israel", "updatedAt": "2026-04-17T17:25:43.191023Z", "updatedBy": 15 }, { "createdAt": "2024-03-07T20:41:56.773Z", "createdBy": 15, "forceShow": true, "id": "1597", "label": "Global Elections", "publishedAt": "2024-03-07 20:44:01.258+00", "slug": "global-elections", "updatedAt": "2026-04-17T21:08:23.096987Z", "updatedBy": 15 }, { "createdAt": "2024-06-12T20:13:03.615956Z", "forceShow": true, "id": "100265", "label": "Geopolitics", "slug": "geopolitics", "updatedAt": "2026-04-17T20:49:04.209055Z" }, { "createdAt": "2025-03-19T23:36:08.498099Z", "forceShow": false, "id": "101970", "label": "World", "slug": "world", "updatedAt": "2026-04-17T17:18:59.135061Z" }, { "createdAt": "2025-12-28T23:05:25.11347Z", "forceShow": false, "id": "103026", "isCarousel": false, "label": "Trump-Netanyahu", "slug": "trump-netanyahu", "updatedAt": "2026-04-17T20:39:54.179053Z" }, { "createdAt": "2024-11-07T23:07:25.512144Z", "forceShow": false, "id": "101206", "label": "World Elections", "slug": "world-elections", "updatedAt": "2026-04-15T21:03:39.331022Z" }, { "createdAt": "2026-04-22T17:40:04.678394Z", "id": "104743", "label": "Main Election", "slug": "main-election", "updatedAt": "2026-04-22T17:45:02.315601Z" } ]