> ## 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.

# Get Tag Subtags

> Ranked child subtags for a major tag, each with an event count

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](/api-reference/markets/events) returns for `?tag=<child_slug>&status=<status>`.

| Parameter | Value                                                  |
| --------- | ------------------------------------------------------ |
| `status`  | Scope for the per-subtag event count (default `open`). |
| `limit`   | Max subtags to return. 1–100 (default 30).             |


## OpenAPI

````yaml GET /v2/polymarket/tag/{slug}/subtags
openapi: 3.1.0
info:
  title: Predexon API
  description: Prediction market data aggregation and matching API
  version: 2.0.0
servers:
  - url: https://api.predexon.com
security:
  - apiKey: []
paths:
  /v2/polymarket/tag/{slug}/subtags:
    get:
      tags:
        - polymarket
      summary: Get Tag Subtags
      description: >-
        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

        ``GET /events?tag=<child_slug>&status=<status>`` returns. ``source`` is

        ``"gamma"`` for Polymarket's curated graph or ``"fallback"`` when
        derived

        locally from co-occurring tags.
      operationId: get_tag_subtags_v2_polymarket_tag__slug__subtags_get
      parameters:
        - name: slug
          in: path
          required: true
          schema:
            type: string
            title: Slug
        - name: status
          in: query
          required: false
          schema:
            $ref: '#/components/schemas/StatusOption'
            description: 'Scope for the per-subtag event count (default: open)'
            default: open
          description: 'Scope for the per-subtag event count (default: open)'
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 100
            minimum: 1
            description: Max subtags to return
            default: 30
            title: Limit
          description: Max subtags to return
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    StatusOption:
      type: string
      enum:
        - open
        - closed
      title: StatusOption
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key

````