SportWizzard Stats API

Box scores for players and competitors.

GitHub OpenAPI

Operations 3

GET /api/v1/players/{id}/stats Player box stats #
GET /api/v1/competitors/{id}/stats Competitor box stats #
GET /api/v1/stats/players Bulk player box stats #

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/sportwizzard-com:sportwizzard-com-stats-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

sportwizzard-com-stats-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SportWizzard Stats API
  version: 1.0.0
  description: '**Try any endpoint:** pick it in the sidebar, paste your API key under Authentication (create one free at sportwizzard.com/account), fill the highlighted parameters, and press Send. Each endpoint shows a real captured response before you send anything.


    The sports betting data API. Real-time odds from sportsbooks and DFS platforms, plus the underlying data to build your own models: players, teams, box-score stats, historical prices, and game context (weather, lineups, probable pitchers, venue, scores) in one canonical schema — and the full live snapshot. Edges and arbitrage are derived signals. Free signup is open, usage is not currently metered, and paid signup is paused; pricing limits and credit costs are planned. All responses use a consistent envelope ({success, data, nextCursor, meta}). Authenticate with the X-Api-Key header using a Clerk-issued API key. Pagination uses opaque cursors (pass meta/nextCursor back as ?cursor=). Reference endpoints (competitions, sportsbooks, competitors, players, markets) are uncounted. Authenticated responses include X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset (epoch seconds) headers.


    Who gets which fields: one set of endpoints serves everyone. Signed-out callers, website sessions and Free-plan keys get event participants'' names and sides; an API key on a paid plan also gets competitorId/playerId on participants, playerId on odds, edge and arbitrage rows, arbitrage selection source references, and event include=source_references. These routes send Vary: Authorization, X-Api-Key, and a paid-plan response is Cache-Control: private. /players, /competitors, stats and /source-references/lookup are keyed by IDs and return the same fields to everyone.'
  contact:
    name: SportWizzard
    url: https://sportwizzard.com/developers
    email: support@sportwizzard.com
  termsOfService: https://sportwizzard.com/terms
servers:
- url: https://api.sportwizzard.com
security:
- ApiKeyHeader: []
- BearerKey: []
tags:
- name: Stats
  description: Box scores for players and competitors.
paths:
  /api/v1/players/{id}/stats:
    get:
      tags:
      - Stats
      summary: Player box stats
      description: Per-event box stats for a player, optionally filtered to a season (year). The data field is the raw per-event stat JSON.
      operationId: playerStats
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          example: 7ebca2e5-138a-11f1-aba1-de512ebea802
        example: 7ebca2e5-138a-11f1-aba1-de512ebea802
        description: Player UUID. Get one from GET /api/v1/players.
      - name: season
        in: query
        description: Season year filter, e.g. 2025
        required: false
        schema:
          type: integer
          format: int32
          example: 2025
        example: 2025
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ApiResponsePlayerStatRow'
              example:
                success: true
                data:
                - eventId: 01d7ac6b-871e-4998-8847-d5fb1617be12
                  playerId: 000dce20-87f9-4592-b158-4f061be96d5b
                  competitorId: 7d0a8074-138a-11f1-aba1-de512ebea802
                  date: 2022-05-17T00:40Z
                  data:
                    batting_stats: {}
                    pitching_stats:
                      win: 0
                      loss: 0
                      save: 0
                      hold: 0
                      blown_save: 0
                      gs: 0
                      ip: 1.6666666666666665
                      h: 2
                      r: 1
                      er: 1
                      bb: 0
                      so: 1
                      hr: 1
                      hbp: 0
                      bk: 0
                      wp: 0
                      era: 3.09
                      bf: 6
                      pit: 19
                      str: 13
                      gb: 3
                      fb: 0
                      sb: 0
                      cs: 0
                      pickoffs: 0
                      ab: 6
                      2b: 0
                      3b: 0
                - eventId: 07a1b77b-78c8-4d6b-b3fe-db04dc533ae9
                  playerId: 000dce20-87f9-4592-b158-4f061be96d5b
                  competitorId: 7d0a7e8b-138a-11f1-aba1-de512ebea802
                  date: 2020-07-28T19:45Z
                  data:
                    batting_stats: {}
                    pitching_stats:
                      win: 0
                      loss: 0
                      save: 0
                      hold: 1
                      blown_save: 0
                      gs: 0
                      ip: 1.0
                      h: 2
                      r: 1
                      er: 1
                      bb: 0
                      so: 1
                      hr: 0
                      hbp: 0
                      bk: 0
                      wp: 0
                      era: 4.5
                      bf: 5
                      pit: 20
                      str: 13
                      gb: 1
                      fb: 1
                      sb: 0
                      cs: 0
                      pickoffs: 0
                      ab: 5
                      2b: 1
                      3b: 0
                meta:
                  count: 200
                  updated: '2026-08-18T14:43:26.874499302Z'
  /api/v1/competitors/{id}/stats:
    get:
      tags:
      - Stats
      summary: Competitor box stats
      description: Per-event team box stats, optionally filtered to a season (year). The stats field is the raw per-event team stat JSON.
      operationId: competitorStats
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          example: 7d0a7ec8-138a-11f1-aba1-de512ebea802
        example: 7d0a7ec8-138a-11f1-aba1-de512ebea802
        description: Competitor UUID. Get one from GET /api/v1/competitors.
      - name: season
        in: query
        description: Season year filter, e.g. 2025
        required: false
        schema:
          type: integer
          format: int32
          example: 2025
        example: 2025
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ApiResponseCompetitorStatRow'
              example:
                success: true
                data:
                - eventId: 0027e5a2-a222-43aa-b31d-f6450cfcd5eb
                  side1Id: 7d0a7d8f-138a-11f1-aba1-de512ebea802
                  side2Id: 7d0a7f42-138a-11f1-aba1-de512ebea802
                  competition: mlb
                  side2Score: 8
                  stats:
                    home_stats:
                      batting_stats:
                        pa: 37
                        ab: 32
                        r: 0
                        h: 7
                        2b: 1
                        3b: 0
                        hr: 0
                        rbi: 0
                        sb: 0
                        cs: 0
                        bb: 5
                        so: 7
                        avg: 0.219
                        obp: 0.324
                        slug: 0.25
                        ops: 0.574
                        tb: 8
                        gidp: 2
                        hbp: 0
                        sh: 0
                        sf: 0
                        ibb: 0
                        lob: 10
                      pitching_stats:
                        ip: 9.0
                        h: 10
                        r: 8
                        er: 8
                        hr: 2
                        bb: 8
                        so: 9
                        hbp: 0
                        era: 8.0
                        whip: 2.0
                        bf: 43
                        p: 183
                        s: 105
                        gb: 6
                        fb: 10
                        ibb: 0
                        bk: 0
                        wp: 0
                    away_stats:
                      batting_stats:
                        pa: 43
                        ab: 35
                        r: 8
                        h: 10
                        2b: 2
                        3b: 0
                        hr: 2
                        rbi: 8
                        sb: 1
                        cs: 0
                        bb: 8
                        so: 9
                        avg: 0.286
                        obp: 0.419
                        slug: 0.514
                        ops: 0.933
                        tb: 18
                        gidp: 1
                        hbp: 0
                        sh: 0
                        sf: 0
                        ibb: 0
                        lob: 8
                      pitching_stats:
                        ip: 9.0
                        h: 7
                        r: 0
                        er: 0
                        hr: 0
                        bb: 5
                        so: 7
                        hbp: 0
                        era: 0.0
                        whip: 1.33
                        bf: 37
                        p: 155
                        s: 101
                        gb: 12
                        fb: 6
                        ibb: 0
                        bk: 0
                        wp: 0
                - eventId: 0088ec08-c0d0-4fbe-8317-b9b1d87085cf
                  side1Id: 7d0a8036-138a-11f1-aba1-de512ebea802
                  side2Id: 7d0a7d8f-138a-11f1-aba1-de512ebea802
                  competition: mlb
                  side1Score: 6
                  side2Score: 3
                  stats:
                    away_stats:
                      batting_stats:
                        pa: 34
                        ab: 29
                        r: 3
                        h: 6
                        2b: 1
                        3b: 0
                        hr: 3
                        rbi: 3
                        sb: 0
                        cs: 1
                        bb: 4
                        so: 8
                        avg: 0.207
                        obp: 0.303
                        slug: 0.552
                        ops: 0.855
                        tb: 16
                        gidp: 2
                        hbp: 0
                        sh: 1
                        sf: 0
                        ibb: 0
                        lob: 4
                      pitching_stats:
                        ip: 8.0
                        h: 10
                        r: 6
                        er: 6
                        hr: 3
                        bb: 3
                        so: 5
                        hbp: 1
                        era: 6.75
                        whip: 1.63
                        bf: 38
                        p: 126
                        s: 79
                        gb: 9
                        fb: 10
                        ibb: 0
                        bk: 0
                        wp: 0
                    home_stats:
                      batting_stats:
                        pa: 38
                        ab: 34
                        r: 6
                        h: 10
                        2b: 1
                        3b: 0
                        hr: 3
                        rbi: 6
                        sb: 1
                        cs: 0
                        bb: 3
                        so: 5
                        avg: 0.294
                        obp: 0.368
                        slug: 0.588
                        ops: 0.956
                        tb: 20
                        gidp: 0
                        hbp: 1
                        sh: 0
                        sf: 0
                        ibb: 0
                        lob: 8
                      pitching_stats:
                        ip: 9.0
                        h: 6
                        r: 3
                        er: 3
                        hr: 3
                        bb: 4
                        so: 8
                        hbp: 0
                        era: 3.0
                        whip: 1.11
                        bf: 34
                        p: 132
                        s: 82
                        gb: 6
                        fb: 10
                        ibb: 0
                        bk: 0
                        wp: 0
                meta:
                  count: 824
                  updated: '2026-08-18T14:43:27.250811836Z'
  /api/v1/stats/players:
    get:
      tags:
      - Stats
      summary: Bulk player box stats
      description: Per-event player box stats filtered by event_id, competitor_id, and/or player_id (at least one required). Reads by indexed key and keyset-paginates over (eventId, playerId). Lets model builders pull stats in bulk without walking events one-by-one.
      operationId: statsPlayers
      parameters:
      - name: event_id
        in: query
        description: Event id filter
        required: false
        schema:
          type: string
        example: 7df442b5-426e-4df0-9ef5-9138819d831f
      - name: competitor_id
        in: query
        description: Competitor id filter
        required: false
        schema:
          type: string
        example: 7d0a7d8f-138a-11f1-aba1-de512ebea802
      - name: player_id
        in: query
        description: Player id filter
        required: false
        schema:
          type: string
          example: 7ebca2e5-138a-11f1-aba1-de512ebea802
        example: 7ebca2e5-138a-11f1-aba1-de512ebea802
      - name: cursor
        in: query
        description: Opaque cursor from the previous response's nextCursor. Leave empty for the first page.
        required: false
        schema:
          type: string
      - name: limit
        in: query
        description: Max rows per page (default 100, max 1000)
        required: false
        schema:
          type: integer
          format: int32
          example: 10
        example: 10
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ApiResponsePlayerStatRow'
              example:
                success: true
                data: []
                meta:
                  count: 0
components:
  schemas:
    JsonNode:
      type: object
    PlayerStatRow:
      type: object
      properties:
        eventId:
          type: string
        playerId:
          type: string
        competitorId:
          type: string
        date:
          type: string
        data:
          $ref: '#/components/schemas/JsonNode'
    ApiResponsePlayerStatRow:
      type: object
      properties:
        success:
          type: boolean
        data:
          type: array
          items:
            $ref: '#/components/schemas/PlayerStatRow'
        nextCursor:
          type: string
        meta:
          $ref: '#/components/schemas/Meta'
    CompetitorStatRow:
      type: object
      properties:
        eventId:
          type: string
        side1Id:
          type: string
        side2Id:
          type: string
        competition:
          type: string
        side1Score:
          type: integer
          format: int32
        side2Score:
          type: integer
          format: int32
        result:
          type: integer
          format: int32
        stats:
          $ref: '#/components/schemas/JsonNode'
    ApiResponseCompetitorStatRow:
      type: object
      properties:
        success:
          type: boolean
        data:
          type: array
          items:
            $ref: '#/components/schemas/CompetitorStatRow'
        nextCursor:
          type: string
        meta:
          $ref: '#/components/schemas/Meta'
    Meta:
      type: object
      properties:
        count:
          type: integer
          format: int32
        updated:
          type: string
          format: date-time
        note:
          type: string
  securitySchemes:
    ApiKeyHeader:
      type: apiKey
      in: header
      name: X-Api-Key
      description: Paste your API key (sw_live_…). Create one free at sportwizzard.com/account → API Keys. Reference endpoints work without a key.
    BearerKey:
      type: http
      scheme: bearer
      description: 'The same key as Authorization: Bearer sw_live_… (MCP-client convention).'