Skip to main content
GET
/
v2
/
polymarket
/
tag
/
{slug}
/
subtags
Get Tag Subtags
curl --request GET \
  --url https://api.predexon.com/v2/polymarket/tag/{slug}/subtags \
  --header 'x-api-key: <api-key>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.predexon.com/llms.txt

Use this file to discover all available pages before exploring further.

Ranked child subtags for a major tag, each with an event count — powers the category sidebar (e.g. /tag/politics/subtags → Trump, Midterms, Primaries…). Each count equals what List Events returns for ?tag=<child_slug>&status=<status>.
ParameterValue
statusScope for the per-subtag event count (default open).
limitMax subtags to return. 1–100 (default 30).

Authorizations

x-api-key
string
header
required

Path Parameters

slug
string
required

Query Parameters

status
enum<string>
default:open

Scope for the per-subtag event count (default: open)

Available options:
open,
closed
limit
integer
default:30

Max subtags to return

Required range: 1 <= x <= 100

Response

Successful Response