> ## Documentation Index
> Fetch the complete documentation index at: https://docs.polymarket.us/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Sport By Slug

> Retrieve a sport by its slug, with all leagues attached



## OpenAPI

````yaml /api-reference/oapi-schemas/sports-schema.json get /v2/sports/{slug}
openapi: 3.0.3
info:
  title: protos/gateway/sports/v2/sports.proto
  version: 1.0.0
servers:
  - url: https://gateway.polymarket.us
    description: Production server
security: []
tags:
  - name: SportsV2Service
paths:
  /v2/sports/{slug}:
    get:
      tags:
        - Sports
      summary: Get Sport By Slug
      description: Retrieve a sport by its slug, with all leagues attached
      operationId: SportsV2Service_GetSportBySlug
      parameters:
        - name: slug
          description: Sport slug
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Sport with leagues
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v2GetSportBySlugResponse'
        '404':
          description: Sport not found
          content:
            application/json:
              schema: {}
        '500':
          description: Internal server error
          content:
            application/json:
              schema: {}
components:
  schemas:
    v2GetSportBySlugResponse:
      type: object
      properties:
        sport:
          $ref: '#/components/schemas/v2SportWithLeagues'
    v2SportWithLeagues:
      type: object
      properties:
        name:
          type: string
          description: Sport name
        slug:
          type: string
          description: Sport slug
        image:
          type: string
          description: Sport image URL
          nullable: true
        leagues:
          type: array
          items:
            $ref: '#/components/schemas/v2League'
          description: Leagues for this sport
        id:
          type: integer
          format: int32
          description: Sport ID
    v2League:
      type: object
      properties:
        name:
          type: string
          description: League name (e.g., NFL, NBA)
        slug:
          type: string
          description: League slug
        image:
          type: string
          description: League image URL
          nullable: true
        isOperational:
          type: boolean
          description: Whether the league is operational
          nullable: true
        automaticResolution:
          type: boolean
          description: Whether the league has automatic resolution
          nullable: true
      description: Consumer-facing league representation

````