PlayCaller Soccer API

Soccer match scores and league tables — EPL, MLS, La Liga, Bundesliga, Serie A, Champions League.

GitHub OpenAPI

Operations 7

GET /v1/soccer/players/{id}/game-log Soccer player game log (Build+) #
GET /v1/soccer/players Soccer player list with filters #
GET /v1/soccer/players/{id} Soccer player detail #
GET /v1/soccer/teams Soccer team list #
GET /v1/soccer/teams/{team}/roster Soccer team roster #
GET /v1/soccer/games Soccer match scores (EPL + MLS) #
GET /v1/soccer/standings Soccer league table (EPL, MLS, La Liga, Bundesliga, Serie A, UCL) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/playcallerapp-com:playcallerapp-com-soccer-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

playcallerapp-com-soccer-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PlayCaller Data Soccer API
  version: 1.4.0
  description: 'The PlayCaller Data API delivers real-time and historical sports intelligence for fantasy football, DFS, sports betting analytics, and AI-native applications.


    120 REST endpoints across NFL, MLB, NBA, NHL, College Football, Soccer, Tennis, Golf, and UFC — plus TypeScript SDK, Python SDK, and a native MCP server for AI agent and LLM workflow integration.


    ## Key capabilities

    - **9 sports** with live data pipelines: NFL, MLB, NBA, NHL, CFB, Soccer (EPL/MLS/La Liga/Bundesliga/Serie A/UCL), Tennis (ATP/WTA), Golf, UFC

    - **31,000+ canonical player identities** normalized across ESPN, Sleeper, Yahoo, and BallDontLie — import from any fantasy platform, resolve to one stable ID

    - **NFL injury reports**: active beat reporter signals refreshed every 2 hours — faster than mainstream aggregators

    - **Fantasy football & DFS signals**: waiver wire recommendations, start/sit analysis, player heat scores, opportunity trend detection

    - **AUC-validated ML models**: NFL opportunity trend (AUC 0.623 vs 0.560 gate), NBA confidence (AUC 0.847, 71× lift), MLB pitcher form (walk-forward validated) — all gated on model_registry ACTIVE status, never hollow heuristics

    - **Alpha metrics**: consistency score, momentum delta, opportunity ceiling per player

    - **Semantic similarity**: pgvector cosine search — find players with matching production profiles

    - **Real-time delivery**: SSE stream (Pro Insights+), HMAC-signed webhooks (Syndicate Alpha)

    - **AI-first / MCP-ready**: MCP server at `/mcp` — register as a tool in Claude Desktop, Cursor, Windsurf, or any MCP-compatible AI agent to query live sports data natively

    - **SDKs**: `npm install @playcaller/sdk` (TypeScript), `pip install playcaller-sdk` (Python)


    ## Authentication

    All data endpoints require an `X-PlayCaller-Key` header. Keys are issued at playcallerapp.com/developer. Sandbox keys work immediately — no credit card required.


    Key format by tier: `pc_sbx_...` (Sandbox), `pc_bld_...` (Build), `pc_pri_...` (Pro Insights), `pc_syn_...` (Syndicate Alpha). Legacy keys issued before the V2 tier restructure may still carry `pc_hob_...` (Hobbyist) or `pc_pro_...` (Pro) prefixes.


    ## Base URLs

    - Data endpoints (v1 prefix): `https://api.playcallerapp.com/v1`

    - Intelligence endpoints (no prefix): `https://api.playcallerapp.com/intelligence`

    - Analytics endpoint (no prefix): `https://api.playcallerapp.com/analytics`

    - MCP server: `https://api.playcallerapp.com/mcp`

    - Account endpoints: `https://api.playcallerapp.com/daas`


    ## Tiers


    | Plan | Price | Daily calls | Req/min | Endpoints |

    |------|-------|------------|---------|-----------|

    | Developer Sandbox | Free | 200 | 20 | 64 |

    | Build | $99/mo | 2,000 | 60 | 64 |

    | Growth | $199/mo | 6,000 | 180 | 98 |

    | Pro Insights | $499/mo | 20,000 | 300 | 116 |

    | Syndicate Alpha | $1499/mo | Unlimited | Unlimited | 120 |


    ## Rate Limiting

    - `X-RateLimit-Limit`: Requests allowed per minute

    - `X-RateLimit-Remaining`: Remaining this window

    - `X-RateLimit-Reset`: Unix timestamp when window resets

    - `429` responses include a `Retry-After` header in seconds'
  contact:
    name: PlayCaller Support
    url: https://playcallerapp.com/developer/docs
  termsOfService: https://playcallerapp.com/developer/terms
servers:
- url: https://api.playcallerapp.com
  description: Production
security:
- ApiKeyAuth: []
tags:
- name: Soccer
  description: Soccer match scores and league tables — EPL, MLS, La Liga, Bundesliga, Serie A, Champions League.
paths:
  /v1/soccer/players/{id}/game-log:
    get:
      tags:
      - Soccer
      summary: Soccer player game log (Build+)
      description: 'Per-match stats for a soccer player (EPL + MLS) from `soccer_player_match_stats`, populated by the same connector that powers Fantasy Soccer gameweek scoring (services/soccer-stats-connector.js). Coverage depends on completed matches synced since that pipeline went live 2026-08-08.


        **Tier access:** Build, Growth, Pro Insights, Syndicate Alpha'
      operationId: getSoccerPlayerGameLog
      security:
      - ApiKeyAuth: []
      parameters:
      - name: id
        in: path
        required: true
        description: 'PlayCaller soccer player ID (format: pc_soccer_XXXXX)'
        schema:
          type: string
        example: pc_soccer_152168
      responses:
        '200':
          description: Soccer game log
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  endpoint:
                    type: string
                  player:
                    type: object
                    properties:
                      id:
                        type: string
                      name:
                        type: string
                      position:
                        type: string
                      team:
                        type: string
                  count:
                    type: integer
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        match_id:
                          type: string
                        match_date:
                          type: string
                          format: date-time
                        league_key:
                          type: string
                        home_team:
                          type: string
                        away_team:
                          type: string
                        home_score:
                          type: integer
                        away_score:
                          type: integer
                        team:
                          type: string
                        position:
                          type: string
                        started:
                          type: boolean
                        minutes:
                          type: integer
                        goals:
                          type: integer
                        assists:
                          type: integer
                        clean_sheet:
                          type: boolean
                        saves:
                          type: integer
                        yellow_cards:
                          type: integer
                        red_cards:
                          type: integer
                        own_goals:
                          type: integer
                        penalty_miss:
                          type: integer
                  meta:
                    $ref: '#/components/schemas/ResponseMeta'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error_code: INVALID_API_KEY
                message: The provided API key is invalid or has been revoked.
                documentation_url: https://playcallerapp.com/developer/docs
        '402':
          description: Build tier or higher required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Player not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate limit or monthly quota exceeded
          headers:
            Retry-After:
              description: Seconds until rate limit resets
              schema:
                type: integer
              example: 42
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error_code: RATE_LIMIT_EXCEEDED
                message: Rate limit exceeded. Try again in 42 seconds.
                documentation_url: https://playcallerapp.com/developer/docs/rate-limits
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /v1/soccer/players:
    get:
      tags:
      - Soccer
      summary: Soccer player list with filters
      description: '2,500+ players across EPL, MLS, La Liga, Bundesliga, and Serie A. Supports ?search=, ?team=, ?league=, ?position= filters.


        **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha'
      operationId: getSoccerPlayers
      parameters:
      - name: search
        in: query
        description: Partial name search
        schema:
          type: string
        example: Salah
      - name: team
        in: query
        description: Team abbreviation (e.g. ARS)
        schema:
          type: string
        example: ARS
      - name: league
        in: query
        description: 'League key filter: eng.1, usa.1, esp.1, ger.1, ita.1'
        schema:
          type: string
        example: eng.1
      - name: position
        in: query
        description: 'Position filter: GK, D, M, F'
        schema:
          type: string
        example: F
      - name: limit
        in: query
        description: Results per page (default 50, max 200)
        schema:
          type: integer
      - name: offset
        in: query
        description: Pagination offset
        schema:
          type: integer
      responses:
        '200':
          description: Soccer players
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  total:
                    type: integer
                  count:
                    type: integer
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          example: pc_soccer_312182
                        full_name:
                          type: string
                        position:
                          type: string
                          example: F
                        team:
                          type: string
                        league:
                          type: string
                          example: eng.1
                  meta:
                    $ref: '#/components/schemas/ResponseMeta'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error_code: INVALID_API_KEY
                message: The provided API key is invalid or has been revoked.
                documentation_url: https://playcallerapp.com/developer/docs
        '429':
          description: Rate limit or monthly quota exceeded
          headers:
            Retry-After:
              description: Seconds until rate limit resets
              schema:
                type: integer
              example: 42
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error_code: RATE_LIMIT_EXCEEDED
                message: Rate limit exceeded. Try again in 42 seconds.
                documentation_url: https://playcallerapp.com/developer/docs/rate-limits
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /v1/soccer/players/{id}:
    get:
      tags:
      - Soccer
      summary: Soccer player detail
      description: 'Individual soccer player by PlayCaller ID. Returns full profile including league, club, position, and status.


        **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha'
      operationId: getSoccerPlayerById
      parameters:
      - name: id
        in: path
        required: true
        description: PlayCaller player ID (pc_soccer_XXXXXX)
        schema:
          type: string
        example: pc_soccer_312182
      responses:
        '200':
          description: Soccer player detail
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                      full_name:
                        type: string
                      position:
                        type: string
                      team:
                        type: string
                      league:
                        type: string
                        example: eng.1
                      status:
                        type: string
                  meta:
                    $ref: '#/components/schemas/ResponseMeta'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error_code: INVALID_API_KEY
                message: The provided API key is invalid or has been revoked.
                documentation_url: https://playcallerapp.com/developer/docs
        '404':
          description: Player not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate limit or monthly quota exceeded
          headers:
            Retry-After:
              description: Seconds until rate limit resets
              schema:
                type: integer
              example: 42
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error_code: RATE_LIMIT_EXCEEDED
                message: Rate limit exceeded. Try again in 42 seconds.
                documentation_url: https://playcallerapp.com/developer/docs/rate-limits
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /v1/soccer/teams:
    get:
      tags:
      - Soccer
      summary: Soccer team list
      description: 'All teams across covered leagues with player counts. Filter by ?league= (eng.1, usa.1, esp.1, ger.1, ita.1).


        **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha'
      operationId: getSoccerTeams
      parameters:
      - name: league
        in: query
        description: Filter by league key (eng.1, usa.1, esp.1, ger.1, ita.1)
        schema:
          type: string
        example: eng.1
      responses:
        '200':
          description: Soccer teams
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  count:
                    type: integer
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        abbreviation:
                          type: string
                        league:
                          type: string
                        league_name:
                          type: string
                        player_count:
                          type: integer
                  meta:
                    $ref: '#/components/schemas/ResponseMeta'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error_code: INVALID_API_KEY
                message: The provided API key is invalid or has been revoked.
                documentation_url: https://playcallerapp.com/developer/docs
        '429':
          description: Rate limit or monthly quota exceeded
          headers:
            Retry-After:
              description: Seconds until rate limit resets
              schema:
                type: integer
              example: 42
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error_code: RATE_LIMIT_EXCEEDED
                message: Rate limit exceeded. Try again in 42 seconds.
                documentation_url: https://playcallerapp.com/developer/docs/rate-limits
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /v1/soccer/teams/{team}/roster:
    get:
      tags:
      - Soccer
      summary: Soccer team roster
      description: 'Active roster for a soccer club. Includes position, nationality, and jersey number.


        **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha'
      operationId: getSoccerTeamRoster
      parameters:
      - name: team
        in: path
        required: true
        description: Team abbreviation (e.g. ARS)
        schema:
          type: string
        example: ARS
      - name: position
        in: query
        description: 'Filter by position: GK, D, M, F'
        schema:
          type: string
        example: GK
      responses:
        '200':
          description: Soccer roster
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  team:
                    type: string
                  league:
                    type: string
                  count:
                    type: integer
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        full_name:
                          type: string
                        position:
                          type: string
                        nationality:
                          type: string
                  meta:
                    $ref: '#/components/schemas/ResponseMeta'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error_code: INVALID_API_KEY
                message: The provided API key is invalid or has been revoked.
                documentation_url: https://playcallerapp.com/developer/docs
        '429':
          description: Rate limit or monthly quota exceeded
          headers:
            Retry-After:
              description: Seconds until rate limit resets
              schema:
                type: integer
              example: 42
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error_code: RATE_LIMIT_EXCEEDED
                message: Rate limit exceeded. Try again in 42 seconds.
                documentation_url: https://playcallerapp.com/developer/docs/rate-limits
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /v1/soccer/games:
    get:
      tags:
      - Soccer
      summary: Soccer match scores (EPL + MLS)
      description: 'Live and historical match scores for EPL and MLS. Includes team logos, venue, broadcast, and score state for display-ready applications.


        **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha'
      operationId: listSoccerGames
      parameters:
      - name: league
        in: query
        description: League filter (omit for both leagues)
        schema:
          type: string
          enum:
          - epl
          - mls
        example: epl
      - name: date
        in: query
        description: Match date (YYYY-MM-DD, defaults to today)
        schema:
          type: string
          format: date
        example: '2026-05-01'
      - name: state
        in: query
        description: Game state filter (matches the live state column exactly)
        schema:
          type: string
          enum:
          - scheduled
          - in_progress
          - final
        example: final
      - name: limit
        in: query
        description: Max matches (default 30, max 100)
        schema:
          type: integer
          minimum: 1
          maximum: 100
          default: 30
        example: 30
      responses:
        '200':
          description: Soccer matches
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  endpoint:
                    type: string
                  count:
                    type: integer
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/ESPNGame'
                  meta:
                    $ref: '#/components/schemas/ResponseMeta'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error_code: INVALID_API_KEY
                message: The provided API key is invalid or has been revoked.
                documentation_url: https://playcallerapp.com/developer/docs
        '429':
          description: Rate limit or monthly quota exceeded
          headers:
            Retry-After:
              description: Seconds until rate limit resets
              schema:
                type: integer
              example: 42
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error_code: RATE_LIMIT_EXCEEDED
                message: Rate limit exceeded. Try again in 42 seconds.
                documentation_url: https://playcallerapp.com/developer/docs/rate-limits
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /v1/soccer/standings:
    get:
      tags:
      - Soccer
      summary: Soccer league table (EPL, MLS, La Liga, Bundesliga, Serie A, UCL)
      description: 'Current league tables for EPL, MLS, La Liga, Bundesliga, Serie A, and Champions League. Includes points, goal difference, wins, draws, losses, and home/away splits.


        **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha'
      operationId: getSoccerStandings
      parameters:
      - name: league
        in: query
        description: League filter (epl, mls, la_liga, bundesliga, serie_a, champions_league; omit for all)
        schema:
          type: string
          enum:
          - epl
          - mls
          - la_liga
          - bundesliga
          - serie_a
          - champions_league
        example: epl
      - name: season
        in: query
        description: Season year (defaults to current)
        schema:
          type: integer
        example: 2026
      responses:
        '200':
          description: Soccer standings
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  endpoint:
                    type: string
                  league:
                    type: string
                    example: epl
                  season:
                    type: integer
                  count:
                    type: integer
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/ESPNStanding'
                  meta:
                    $ref: '#/components/schemas/ResponseMeta'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error_code: INVALID_API_KEY
                message: The provided API key is invalid or has been revoked.
                documentation_url: https://playcallerapp.com/developer/docs
        '429':
          description: Rate limit or monthly quota exceeded
          headers:
            Retry-After:
              description: Seconds until rate limit resets
              schema:
                type: integer
              example: 42
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error_code: RATE_LIMIT_EXCEEDED
                message: Rate limit exceeded. Try again in 42 seconds.
                documentation_url: https://playcallerapp.com/developer/docs/rate-limits
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    ESPNStanding:
      type: object
      properties:
        rank:
          type: integer
          example: 1
        league:
          type:
          - string
          - 'null'
          example: epl
          description: Soccer only (epl/mls)
        ties:
          type:
          - integer
          - 'null'
          description: Soccer only — NBA/CFB have no tie record
        team_id:
          type: string
          example: '2'
        team_name:
          type: string
          example: Boston Celtics
        team_abbr:
          type: string
          example: BOS
        team_logo:
          type:
          - string
          - 'null'
          format: uri
        conference:
          type:
          - string
          - 'null'
          example: East
        division:
          type:
          - string
          - 'null'
          example: Atlantic
        wins:
          type: integer
          example: 64
        losses:
          type: integer
          example: 18
        win_pct:
          type: number
          format: float
          example: 0.78
        games_back:
          type:
          - string
          - 'null'
          example: '-'
        streak:
          type:
          - string
          - 'null'
          example: W3
        home_record:
          type:
          - string
          - 'null'
          example: 36-5
        away_record:
          type:
          - string
          - 'null'
          example: 28-13
        conf_record:
          type:
          - string
          - 'null'
          example: 42-14
        points_for:
          type:
          - number
          - 'null'
          format: float
          example: 120.4
        points_against:
          type:
          - number
          - 'null'
          format: float
          example: 109.8
        last_updated:
          type:
          - string
          - 'null'
          format: date-time
    ESPNGame:
      type: object
      description: Game state from ESPN feed (NBA, CFB, Soccer)
      properties:
        event_id:
          type: string
          example: '740975'
        league:
          type:
          - string
          - 'null'
          example: epl
          description: Soccer only (epl/mls) — distinguishes league within the sport
        game_date:
          type: string
          format: date-time
          example: '2026-05-24T07:00:00.000Z'
        game_time:
          type: string
          format: date-time
          example: '2026-05-24T15:00:00.000Z'
        state:
          type: string
          enum:
          - scheduled
          - in_progress
          - final
          example: final
          description: Real values from espn_game_states — not the previously-documented pre/in/post
        home_team:
          type: object
          properties:
            id:
              type: string
              example: '18'
            name:
              type: string
              example: Los Angeles Lakers
            abbr:
              type: string
              example: LAL
            logo:
              type: string
              format: uri
              example: https://a.espncdn.com/i/teamlogos/nba/500/lal.png
            score:
              type:
              - integer
              - 'null'
              example: 112
        away_team:
          type: object
          properties:
            id:
              type: string
              example: '2'
            name:
              type: string
              example: Boston Celtics
            abbr:
              type: string
              example: BOS
            logo:
              type: string
              format: uri
              example: https://a.espncdn.com/i/teamlogos/nba/500/bos.png
            score:
              type:
              - integer
              - 'null'
              example: 108
        period:
          type:
          - integer
          - 'null'
          example: 4
        period_label:
          type:
          - string
          - 'null'
          example: Q4
        clock:
          type:
          - string
          - 'null'
          example: '2:14'
        venue:
          type:
          - string
          - 'null'
          example: Crypto.com Arena
        broadcast:
          type:
          - string
          - 'null'
          example: TNT
        is_final:
          type: boolean
          example: true
        last_polled:
          type: string
          format: date-time
          example: '2026-05-01T02:14:05Z'
    ErrorResponse:
      type: object
      required:
      - error_code
      - message
      - documentation_url
      properties:
        error_code:
          type: string
          example: RATE_LIMIT_EXCEEDED
        message:
          type: string
          example: Rate limit exceeded. Try again in 42 seconds.
        documentation_url:
          type: string
          format: uri
          example: https://playcallerapp.com/developer/docs
        upgrade_url:
          type:
          - string
          - 'null'
          format: uri
          example: https://playcallerapp.com/developer/checkout?tier=pro
    ResponseMeta:
      type: object
      properties:
        sport:
          type: string
          example: nfl
        league:
          type: string
          example: nfl
          description: 'Present on multi-sport (ESPN-backed) endpoints; mirrors sport unless a sport has sub-leagues (e.g. soccer: epl/mls).'
        tier:
          type: string
          example: pro
        calls_remaining_this_month:
          type: integer
          example: 9843
        documentation_url:
          type: string
          format: uri
          example: https://playcallerapp.com/developer/docs
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-PlayCaller-Key
      description: Your PlayCaller API key. Obtain one free at playcallerapp.com/developer.