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

# Teams

> Retrieve a paginated list of teams. Use the `fields` parameter to customize response fields.



## OpenAPI

````yaml /api-reference/openapi.yml get /game-logs/opponents
openapi: 3.0.0
info:
  title: Elite Prospects API
  description: Elite Prospects API with data from https://www.eliteprospects.com
  contact:
    name: API Support
    email: api@eliteprospects.com
  version: '1.0'
servers:
  - description: Production server
    url: https://api.eliteprospects.com/v1
security:
  - ApiKeyAuth: []
tags:
  - name: Agency
  - name: Arena
  - name: Award
    description: Awards for player and staff
  - name: Country
  - name: Draft
    description: Drafted players and draft rankings
  - name: Game
  - name: Game Log
  - name: Game Log Aggregate
  - name: League
  - name: NHL Rights
  - name: Player
  - name: Player Stats
  - name: Player Style
  - name: Ranking
  - name: Retired Number
  - name: Search
  - name: Staff
  - name: Staff Stats
  - name: Star And Cult Player
  - name: Team
  - name: Team Stats
  - name: Transfer
externalDocs:
  description: More info at Elite Prospects website
  url: https://www.eliteprospects.com/api
paths:
  /game-logs/opponents:
    get:
      tags:
        - Game Log
      summary: Teams
      description: >-
        Retrieve a paginated list of teams. Use the `fields` parameter to
        customize response fields.
      operationId: listGameLogsOpponents
      parameters:
        - in: query
          name: fields
          schema:
            type: array
            items:
              type: string
              enum:
                - id
                - name
                - extraName
                - fullName
                - logo
                - logoUrl
                - founded
                - city
                - colors
                - status
                - league
                - secondaryLeague
                - teamType
                - teamClass
                - country
                - continent
                - flagUrl
                - defaultSeason
                - activeSeason
                - arena
                - secondaryArena
                - capHit
                - views
                - currentRosterSize
                - links
                - notes
                - eliteprospectsUrlPath
                - slug
                - updatedAt
                - _links
                - mhrRating
                - mhrId
                - mhrUrl
                - logo.*
                - league.*
                - secondaryLeague.*
                - country.*
                - flagUrl.*
                - defaultSeason.*
                - activeSeason.*
                - arena.*
                - secondaryArena.*
                - links.*
                - '*'
          style: form
          explode: false
          required: false
          description: "Specify custom response with available response fields.\r\n***\r\n*Fields included as default:* id, name, extraName, fullName, logo, logoUrl, founded, city, colors, status, league, secondaryLeague, teamType, teamClass, country, continent, flagUrl, defaultSeason, activeSeason, arena, secondaryArena, capHit, views, currentRosterSize, links, notes, eliteprospectsUrlPath, slug, updatedAt, _links, mhrRating, mhrId, mhrUrl"
        - $ref: '#/components/parameters/offsetParam'
        - $ref: '#/components/parameters/limitParam'
        - in: query
          name: player
          schema:
            type: array
            items:
              type: integer
          required: false
          description: Filter by player ID
          style: form
          explode: false
        - in: query
          name: player.nationality
          schema:
            type: array
            items:
              type: string
          required: false
          description: Filter by player.nationality
          style: form
          explode: false
        - in: query
          name: player.playerType
          schema:
            $ref: '#/components/schemas/PlayerType'
          required: false
          description: Filter by player.playerType
        - in: query
          name: player.position
          schema:
            type: array
            items:
              $ref: '#/components/schemas/DetailedPosition'
          required: false
          description: Filter by player.position
          style: form
          explode: false
        - in: query
          name: player.position:not
          schema:
            type: array
            items:
              $ref: '#/components/schemas/Position'
          required: false
          description: Filter by player.position not equal to
          style: form
          explode: false
        - in: query
          name: player.playerStyle
          schema:
            type: string
          required: false
          description: Filter by player.playerStyle slug
        - in: query
          name: player.age
          schema:
            type: string
          required: false
          description: Filter by player.age
        - in: query
          name: player.draftedInDraftType
          schema:
            type: array
            items:
              type: string
          required: false
          description: Filter by player.draftedInDraftType
          style: form
          explode: false
        - in: query
          name: player.nhlDrafted
          schema:
            type: boolean
          required: false
          description: Filter by player.nhlDrafted
          deprecated: true
        - in: query
          name: player.nhlDraftedByTeam
          schema:
            type: array
            items:
              type: integer
          required: false
          description: Filter by player.nhlDraftedByTeam
          style: form
          explode: false
        - in: query
          name: player.nhlRights.rights
          schema:
            type: array
            items:
              $ref: '#/components/schemas/NHLRights_Rights'
          required: false
          description: Filter by player.nhlRights.rights
          style: form
          explode: false
        - in: query
          name: player.nhlRights.team
          schema:
            type: array
            items:
              type: integer
          required: false
          description: Filter by player.nhlRights.team
          style: form
          explode: false
        - in: query
          name: player.draftStatus
          schema:
            $ref: '#/components/schemas/DraftStatus'
          required: false
          description: Filter by player.draftStatus
        - in: query
          name: player.nhlDraftProspect
          schema:
            $ref: '#/components/schemas/NhlDraftProspect'
          required: false
          description: Filter by player.nhlDraftProspect
          deprecated: true
        - in: query
          name: player.verified
          schema:
            type: boolean
          required: false
          description: Filter by player.verified
        - in: query
          name: game
          schema:
            type: array
            items:
              type: integer
          required: false
          description: Filter by game ID
          style: form
          explode: false
        - in: query
          name: game.league
          schema:
            type: array
            items:
              type: string
          required: false
          description: Filter by game.league slug
          style: form
          explode: false
        - in: query
          name: game.season
          schema:
            type: string
          required: false
          description: Filter by game.season slug
        - in: query
          name: game.seasonType
          schema:
            $ref: '#/components/schemas/SeasonType'
          required: false
          description: Filter by game.seasonType
        - in: query
          name: game.dateTime:from
          schema:
            type: string
            format: date-time
          required: false
          description: >-
            Filter by game.dateTime greater or equal to in ISO-8601 format for
            date and time
        - in: query
          name: game.dateTime:to
          schema:
            type: string
            format: date-time
          required: false
          description: >-
            Filter by game.dateTime less than or equal to in ISO-8601 format for
            date and time
        - in: query
          name: game.date:from
          schema:
            type: string
            format: date
          required: false
          description: Filter by game.date greater or equal to in ISO-8601 format for date
        - in: query
          name: game.date:to
          schema:
            type: string
            format: date
          required: false
          description: >-
            Filter by game.date less than or equal to in ISO-8601 format for
            date
        - in: query
          name: team
          schema:
            type: array
            items:
              type: integer
          required: false
          description: Filter by team ID
          style: form
          explode: false
        - in: query
          name: opponent
          schema:
            type: array
            items:
              type: integer
          required: false
          description: Filter by opponent
          style: form
          explode: false
        - in: query
          name: team-or-opponent
          schema:
            type: array
            items:
              type: integer
          required: false
          description: Filter by team-or-opponent
          style: form
          explode: false
        - in: query
          name: stats.G:min
          schema:
            type: integer
          required: false
          description: Filter by stats.G greater or equal to
        - in: query
          name: stats.PTS:min
          schema:
            type: integer
          required: false
          description: Filter by stats.PTS greater or equal to
        - in: query
          name: stats.SV:min
          schema:
            type: integer
          required: false
          description: Filter by stats.SV greater or equal to
        - in: query
          name: stats.TOI:min
          schema:
            type: string
          required: false
          description: Filter by stats.TOI greater or equal to
        - in: query
          name: createdAt:min
          schema:
            type: string
            format: date-time
          required: false
          description: >-
            Filter by createdAt greater or equal to in ISO-8601 format for date
            and time
        - in: query
          name: updatedAt:min
          schema:
            type: string
            format: date-time
          required: false
          description: >-
            Filter by updatedAt greater or equal to in ISO-8601 format for date
            and time
      responses:
        '200':
          description: A paginated list of teams.
          content:
            application/json:
              schema:
                type: object
                properties:
                  _meta:
                    allOf:
                      - $ref: '#/components/schemas/Meta'
                      - $ref: '#/components/schemas/ListMeta'
                  _links:
                    allOf:
                      - $ref: '#/components/schemas/PaginationLinks'
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Team'
          x-field-info:
            defaultFields:
              - id
              - name
              - status
              - league
              - teamType
              - teamClass
              - country
              - continent
              - _links
            extendedFields:
              - extraName
              - fullName
              - logo
              - logoUrl
              - founded
              - city
              - colors
              - secondaryLeague
              - flagUrl
              - defaultSeason
              - activeSeason
              - arena
              - secondaryArena
              - capHit
              - views
              - currentRosterSize
              - links
              - notes
              - eliteprospectsUrlPath
              - slug
              - updatedAt
              - mhrRating
              - mhrId
              - mhrUrl
components:
  parameters:
    offsetParam:
      in: query
      name: offset
      schema:
        type: integer
        minimum: 0
        default: 0
      required: false
      description: The number of items to skip before starting to collect the result set.
    limitParam:
      in: query
      name: limit
      schema:
        type: integer
        minimum: 0
        maximum: 1000
        default: 100
      required: false
      description: The number of items to return.
  schemas:
    PlayerType:
      type: string
      enum:
        - GOALTENDER
        - SKATER
    DetailedPosition:
      type: string
      enum:
        - G
        - D
        - F
        - C
        - W
        - LW
        - RW
    Position:
      type: string
      enum:
        - G
        - D
        - F
        - null
      nullable: true
    NHLRights_Rights:
      type: string
      enum:
        - unsigned
        - signed
    DraftStatus:
      type: string
      enum:
        - drafted-prospect
        - drafted-player
        - undrafted-prospect-u21
        - not-drafted
    NhlDraftProspect:
      type: string
      enum:
        - drafted-prospect
        - undrafted-prospect-u21
    SeasonType:
      type: string
      enum:
        - PRESEASON
        - REGULAR_SEASON
        - POSTSEASON
    Meta:
      type: object
      properties:
        generatedAt:
          type: string
    ListMeta:
      type: object
      properties:
        offset:
          type: integer
        limit:
          type: integer
        totalRecords:
          type: integer
    PaginationLinks:
      type: object
      properties:
        first:
          type: string
        last:
          type: string
        prev:
          type: string
          nullable: true
        next:
          type: string
          nullable: true
    Team:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
        extraName:
          type: string
          nullable: true
        fullName:
          type: string
          nullable: true
        logo:
          properties:
            small:
              type: string
            medium:
              type: string
            large:
              type: string
              nullable: true
            colors:
              type: array
              items:
                type: string
              nullable: true
            hasTransparency:
              type: boolean
          nullable: true
        logoUrl:
          type: string
          nullable: true
        founded:
          type: integer
          nullable: true
        city:
          type: string
          nullable: true
        colors:
          type: string
          nullable: true
        status:
          $ref: '#/components/schemas/TeamStatus'
        league:
          allOf:
            - $ref: '#/components/schemas/League'
          nullable: true
        secondaryLeague:
          allOf:
            - $ref: '#/components/schemas/League'
          nullable: true
        teamType:
          $ref: '#/components/schemas/TeamType'
        teamClass:
          $ref: '#/components/schemas/TeamClass'
        country:
          allOf:
            - $ref: '#/components/schemas/Country'
          nullable: true
        continent:
          $ref: '#/components/schemas/Continent'
        flagUrl:
          properties:
            small:
              type: string
            medium:
              type: string
        defaultSeason:
          $ref: '#/components/schemas/Season'
        activeSeason:
          allOf:
            - $ref: '#/components/schemas/Season'
          nullable: true
        arena:
          allOf:
            - $ref: '#/components/schemas/Arena'
          nullable: true
        secondaryArena:
          allOf:
            - $ref: '#/components/schemas/Arena'
          nullable: true
        capHit:
          type: string
          nullable: true
        views:
          type: integer
          nullable: true
        currentRosterSize:
          type: integer
        links:
          properties:
            eliteprospectsUrl:
              type: string
            officialWebUrl:
              type: string
              nullable: true
            newsUrl:
              type: string
              nullable: true
            newspaperUrl:
              type: string
              nullable: true
            tvUrl:
              type: string
              nullable: true
            radioUrl:
              type: string
              nullable: true
            blogUrl:
              type: string
              nullable: true
            forumUrl:
              type: string
              nullable: true
            facebook:
              type: string
              nullable: true
            x:
              type: string
              nullable: true
            twitter:
              type: string
              nullable: true
            instagram:
              type: string
              nullable: true
            youtube:
              type: string
              nullable: true
            capHitUrl:
              type: string
              nullable: true
            lineCombinationsUrl:
              type: string
              nullable: true
            nationNetworkUrl:
              type: string
              nullable: true
        notes:
          type: string
          nullable: true
        eliteprospectsUrlPath:
          type: string
        slug:
          type: string
        updatedAt:
          type: string
        _links:
          type: array
          items:
            type: string
        mhrRating:
          type: number
          format: float
          nullable: true
        mhrId:
          type: integer
          nullable: true
        mhrUrl:
          type: string
          nullable: true
    TeamStatus:
      type: string
      enum:
        - active
        - not-active
    League:
      type: object
      properties:
        slug:
          type: string
        name:
          type: string
        fullName:
          type: string
          nullable: true
        commonName:
          type: string
          nullable: true
        teamClass:
          $ref: '#/components/schemas/TeamClass'
        leagueType:
          type: string
          nullable: true
        leagueLevel:
          type: string
          nullable: true
        scheduleType:
          $ref: '#/components/schemas/ScheduleType'
        defaultSeason:
          $ref: '#/components/schemas/Season'
        activeSeason:
          allOf:
            - $ref: '#/components/schemas/Season'
          nullable: true
        country:
          allOf:
            - $ref: '#/components/schemas/Country'
          nullable: true
        continent:
          $ref: '#/components/schemas/Continent'
        region:
          type: string
          nullable: true
        flagUrl:
          properties:
            small:
              type: string
            medium:
              type: string
        logo:
          properties:
            url:
              type: string
              nullable: true
            colors:
              type: array
              items:
                type: string
              nullable: true
            hasTransparency:
              type: boolean
          nullable: true
        logoUrl:
          type: string
          nullable: true
        imageUrl:
          type: string
          nullable: true
        numberOfTeams:
          type: integer
          nullable: true
        primaryDraftType:
          allOf:
            - $ref: '#/components/schemas/DraftType'
          nullable: true
        existsInLeagueEndpoint:
          type: boolean
        hasProjectedStats:
          type: boolean
        historicalData:
          type: array
          items:
            properties:
              slug:
                type: string
              name:
                type: string
              fullName:
                type: string
                nullable: true
              firstSeason:
                $ref: '#/components/schemas/Season'
              lastSeason:
                allOf:
                  - $ref: '#/components/schemas/Season'
                nullable: true
        links:
          properties:
            eliteprospectsUrl:
              type: string
            officialWebUrl:
              type: string
            statsUrl:
              type: string
            newsUrls:
              type: array
              items:
                type: string
            forumUrl:
              type: string
            facebook:
              type: string
            x:
              type: string
              nullable: true
            twitter:
              type: string
            instagram:
              type: string
            youtube:
              type: string
          nullable: true
        eliteprospectsUrlPath:
          type: string
        updatedAt:
          type: string
          nullable: true
        _links:
          type: array
          items:
            type: string
          nullable: true
    TeamType:
      type: string
      enum:
        - club
        - international
    TeamClass:
      type: string
      enum:
        - men
        - women
    Country:
      type: object
      properties:
        slug:
          type: string
          description: ISO 3166-1 alpha-3
        name:
          type: string
        iso_3166_1_alpha_2:
          type: string
          nullable: true
          description: ISO 3166-1 alpha-2
        flagUrl:
          properties:
            small:
              type: string
            medium:
              type: string
        eliteprospectsUrlPath:
          type: string
        updatedAt:
          type: string
        _links:
          type: array
          items:
            type: string
    Continent:
      type: string
      enum:
        - INT
        - AF
        - AN
        - AS
        - EU
        - NA
        - OC
        - SA
        - null
      nullable: true
    Season:
      type: object
      properties:
        slug:
          type: string
        startYear:
          type: integer
        endYear:
          type: integer
    Arena:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
        location:
          type: string
          nullable: true
        yearOfConstruction:
          type: integer
          nullable: true
        capacity:
          type: integer
          nullable: true
        infoAsHTML:
          type: string
          nullable: true
        imageUrl:
          type: string
          nullable: true
        country:
          allOf:
            - $ref: '#/components/schemas/Country'
          nullable: true
        eliteprospectsUrlPath:
          type: string
        _links:
          type: array
          items:
            type: string
        updatedAt:
          type: string
    ScheduleType:
      type: string
      enum:
        - default
        - summer
        - null
      nullable: true
    DraftType:
      type: object
      properties:
        slug:
          type: string
        name:
          type: string
        league:
          $ref: '#/components/schemas/League'
        _links:
          type: array
          items:
            type: string
        eliteprospectsUrlPath:
          type: string
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: query
      name: apiKey

````