API docs

    Sports data API reference

    Read-only JSON over HTTPS. Every response is { data, meta }; errors are { error: { code, message } }. Times are ISO 8601 UTC. IDs and field names are ours and stay stable.

    Base URL
    https://kbnnabvbtcwwsytkjyhc.supabase.co/functions/v1/api/v1

    Auth header
    Authorization: Bearer vc_live_… (or vc_test_…)

    Sports
    nfl, nba, nhl, mma (UFC), ncaaf, pga, soccer
    Soccer covers the Premier League and Champions League: schedules, live scores and W-D-L standings. Results use the score after 90 minutes; extra time and penalties are separate fields. No soccer player stats (404 not_available).

    meta
    request_id, plan, remaining_month, remaining_minute, cache_seconds and freshness (when scores and schedules last updated).

    Sample data

    Try any endpoint with the sample key vc_test_sandbox_sample. It returns a frozen sample day of real games (Sunday, November 29, 2026 for NFL, NBA and NHL; the most recent results day for UFC and college football). It is not live, is not updated, and is for testing only.

    curl
    curl https://kbnnabvbtcwwsytkjyhc.supabase.co/functions/v1/api/v1/nba/schedule \
      -H "Authorization: Bearer vc_test_sandbox_sample"
    JavaScript
    const res = await fetch("https://kbnnabvbtcwwsytkjyhc.supabase.co/functions/v1/api/v1/nba/schedule", {
      headers: { Authorization: "Bearer vc_test_sandbox_sample" },
    });
    const { data, meta } = await res.json();
    console.log(data, meta.remaining_month);

    Ready for live data? Choose a plan.

    Endpoints

    Fantasy points, scoring rulesets, slates, projections and salaries are on the all-sports bundle and Enterprise plans; other keys get 403 upgrade. Projections are statistical estimates for fantasy games, not guarantees. Model v1: a recency-weighted average of the player's last 10 games (newest weighted 10, oldest 1), times a usage trend (last 3 games' minutes, or for NFL pass attempts + rushes + targets, vs the average, capped at ±20%), times an opponent factor from its rank in fantasy points allowed (0.90 for the stingiest to 1.10). Golfers: recency-weighted finishes and scoring, adjusted ±10% by greens in regulation and driving distance vs the field. Players listed out (out, injured list, suspended, sidelined) project 0. Every projection carries its model_version. No betting.

    GET/sports

    Sports we carry and each one's current season.

    Example (real data, lists shortened): GET /sports

    response
    {
      "data": [
        {
          "code": "nfl",
          "name": "Football",
          "current_season": {
            "id": 1,
            "name": "NFL 2026",
            "ends_on": "2027-02-15",
            "starts_on": "2026-09-01"
          }
        },
        {
          "code": "nba",
          "name": "Basketball",
          "current_season": {
            "id": 2,
            "name": "NBA 2026-27",
            "ends_on": "2027-04-12",
            "starts_on": "2026-10-20"
          }
        }
      ],
      "meta": {
        "request_id": "5f0c2a7e-3b1d-4c55-9a7e-2f1b8d0c9e11",
        "plan": "single",
        "remaining_month": 499812,
        "remaining_minute": 299,
        "cache_seconds": 600,
        "freshness": {
          "scores_updated_at": "2026-11-30T05:42:10Z",
          "schedule_updated_at": "2026-11-30T12:00:04Z"
        }
      }
    }

    GET/{sport}/teams

    All teams (fighters for UFC) in a sport.

    Example (real data, lists shortened): GET /nba/teams

    response
    {
      "data": [
        {
          "id": 1182,
          "abbr": "ATL",
          "name": "Atlanta Hawks",
          "color_primary": "#E03A3E",
          "color_secondary": "#C1D32F"
        },
        {
          "id": 1067,
          "abbr": "BOS",
          "name": "Boston Celtics",
          "color_primary": "#007A33",
          "color_secondary": "#BA9653"
        }
      ],
      "meta": {
        "request_id": "5f0c2a7e-3b1d-4c55-9a7e-2f1b8d0c9e11",
        "plan": "single",
        "remaining_month": 499812,
        "remaining_minute": 299,
        "cache_seconds": 600,
        "freshness": {
          "scores_updated_at": "2026-11-30T05:42:10Z",
          "schedule_updated_at": "2026-11-30T12:00:04Z"
        }
      }
    }

    GET/{sport}/teams/{id}

    One team.

    Example (real data, lists shortened): GET /nba/teams/1066

    response
    {
      "data": {
        "id": 1066,
        "abbr": "LAL",
        "name": "Los Angeles Lakers",
        "color_primary": "#552583",
        "color_secondary": "#FDB927"
      },
      "meta": {
        "request_id": "5f0c2a7e-3b1d-4c55-9a7e-2f1b8d0c9e11",
        "plan": "single",
        "remaining_month": 499812,
        "remaining_minute": 299,
        "cache_seconds": 600,
        "freshness": {
          "scores_updated_at": "2026-11-30T05:42:10Z",
          "schedule_updated_at": "2026-11-30T12:00:04Z"
        }
      }
    }

    GET/{sport}/players

    Players, sorted by name.

    • team: team id
    • active: true or false
    • limit: up to 500 (default 100)
    • offset

    Example (real data, lists shortened): GET /nba/players

    response
    {
      "data": [
        {
          "id": 200003195,
          "name": "Mike Conley",
          "team": {
            "id": 1067,
            "abbr": "BOS",
            "name": "Boston Celtics",
            "color_primary": "#007A33",
            "color_secondary": "#BA9653"
          },
          "active": true,
          "jersey": null,
          "position": "G",
          "short_name": "M. Conley"
        },
        {
          "id": 200003213,
          "name": "Al Horford",
          "team": {
            "id": 1177,
            "abbr": "GSW",
            "name": "Golden State Warriors",
            "color_primary": "#1D428A",
            "color_secondary": "#FFC72C"
          },
          "active": true,
          "jersey": null,
          "position": "C",
          "short_name": "A. Horford"
        }
      ],
      "meta": {
        "request_id": "5f0c2a7e-3b1d-4c55-9a7e-2f1b8d0c9e11",
        "plan": "single",
        "remaining_month": 499812,
        "remaining_minute": 299,
        "cache_seconds": 600,
        "freshness": {
          "scores_updated_at": "2026-11-30T05:42:10Z",
          "schedule_updated_at": "2026-11-30T12:00:04Z"
        }
      }
    }

    GET/{sport}/players/{id}

    One player's profile.

    Example (real data, lists shortened): GET /nba/players/200003195

    response
    {
      "data": {
        "id": 200003195,
        "name": "Mike Conley",
        "team": {
          "id": 1067,
          "abbr": "BOS",
          "name": "Boston Celtics",
          "color_primary": "#007A33",
          "color_secondary": "#BA9653"
        },
        "active": true,
        "jersey": null,
        "position": "G",
        "short_name": "M. Conley"
      },
      "meta": {
        "request_id": "5f0c2a7e-3b1d-4c55-9a7e-2f1b8d0c9e11",
        "plan": "single",
        "remaining_month": 499812,
        "remaining_minute": 299,
        "cache_seconds": 600,
        "freshness": {
          "scores_updated_at": "2026-11-30T05:42:10Z",
          "schedule_updated_at": "2026-11-30T12:00:04Z"
        }
      }
    }

    GET/{sport}/schedule

    Games for today by default (US Eastern day).

    • date=YYYY-MM-DD
    • or from= & to= (max 31 days)
    • or season= & week=

    Example (real data, lists shortened): GET /nba/schedule?date=2026-11-29

    response
    {
      "data": [
        {
          "id": 329467,
          "away": {
            "id": 1197,
            "abbr": "MIA",
            "name": "Miami Heat",
            "score": 124,
            "color_primary": "#98002E",
            "color_secondary": "#F9A01B"
          },
          "home": {
            "id": 1183,
            "abbr": "CLE",
            "name": "Cleveland Cavaliers",
            "score": 119,
            "color_primary": "#860038",
            "color_secondary": "#FDBB30"
          },
          "sport": "nba",
          "status": "final",
          "season_id": 2,
          "start_time": "2026-11-29T20:30:00Z",
          "season_type": "Regular Season",
          "score_by_period": {
            "away": [
              36,
              20
            ],
            "home": [
              29,
              29
            ],
            "labels": [
              "1",
              "2"
            ]
          }
        },
        {
          "id": 329464,
          "away": {
            "id": 1066,
            "abbr": "LAL",
            "name": "Los Angeles Lakers",
            "score": 103,
            "color_primary": "#552583",
            "color_secondary": "#FDB927"
          },
          "home": {
            "id": 1206,
            "abbr": "MEM",
            "name": "Memphis Grizzlies",
            "score": 95,
            "color_primary": "#5D76A9",
            "color_secondary": "#12173F"
          },
          "sport": "nba",
          "status": "final",
          "season_id": 2,
          "start_time": "2026-11-29T21:00:00Z",
          "season_type": "Regular Season",
          "score_by_period": {
            "away": [
              33,
              25
            ],
            "home": [
              16,
              24
            ],
            "labels": [
              "1",
              "2"
            ]
          }
        }
      ],
      "meta": {
        "request_id": "5f0c2a7e-3b1d-4c55-9a7e-2f1b8d0c9e11",
        "plan": "single",
        "remaining_month": 499812,
        "remaining_minute": 299,
        "cache_seconds": 600,
        "freshness": {
          "scores_updated_at": "2026-11-30T05:42:10Z",
          "schedule_updated_at": "2026-11-30T12:00:04Z"
        }
      }
    }

    GET/{sport}/games/{id}

    One game: status, score by period, clock.

    Example (real data, lists shortened): GET /nba/games/329464

    response
    {
      "data": {
        "id": 329464,
        "away": {
          "id": 1066,
          "abbr": "LAL",
          "name": "Los Angeles Lakers",
          "score": 103,
          "color_primary": "#552583",
          "color_secondary": "#FDB927"
        },
        "home": {
          "id": 1206,
          "abbr": "MEM",
          "name": "Memphis Grizzlies",
          "score": 95,
          "color_primary": "#5D76A9",
          "color_secondary": "#12173F"
        },
        "sport": "nba",
        "status": "final",
        "season_id": 2,
        "start_time": "2026-11-29T21:00:00Z",
        "season_type": "Regular Season",
        "score_by_period": {
          "away": [
            33,
            25
          ],
          "home": [
            16,
            24
          ],
          "labels": [
            "1",
            "2"
          ]
        }
      },
      "meta": {
        "request_id": "5f0c2a7e-3b1d-4c55-9a7e-2f1b8d0c9e11",
        "plan": "single",
        "remaining_month": 499812,
        "remaining_minute": 299,
        "cache_seconds": 15,
        "freshness": {
          "scores_updated_at": "2026-11-30T05:42:10Z",
          "schedule_updated_at": "2026-11-30T12:00:04Z"
        }
      }
    }

    GET/{sport}/scores/live

    Games in progress right now.

    Example (real data, lists shortened): GET /nba/scores/live

    response
    {
      "data": [
        {
          "id": 329467,
          "away": {
            "id": 1197,
            "abbr": "MIA",
            "name": "Miami Heat",
            "score": 124,
            "color_primary": "#98002E",
            "color_secondary": "#F9A01B"
          },
          "home": {
            "id": 1183,
            "abbr": "CLE",
            "name": "Cleveland Cavaliers",
            "score": 119,
            "color_primary": "#860038",
            "color_secondary": "#FDBB30"
          },
          "sport": "nba",
          "status": "final",
          "season_id": 2,
          "start_time": "2026-11-29T20:30:00Z",
          "season_type": "Regular Season",
          "score_by_period": {
            "away": [
              36,
              20
            ],
            "home": [
              29,
              29
            ],
            "labels": [
              "1",
              "2"
            ]
          }
        },
        {
          "id": 329464,
          "away": {
            "id": 1066,
            "abbr": "LAL",
            "name": "Los Angeles Lakers",
            "score": 103,
            "color_primary": "#552583",
            "color_secondary": "#FDB927"
          },
          "home": {
            "id": 1206,
            "abbr": "MEM",
            "name": "Memphis Grizzlies",
            "score": 95,
            "color_primary": "#5D76A9",
            "color_secondary": "#12173F"
          },
          "sport": "nba",
          "status": "final",
          "season_id": 2,
          "start_time": "2026-11-29T21:00:00Z",
          "season_type": "Regular Season",
          "score_by_period": {
            "away": [
              33,
              25
            ],
            "home": [
              16,
              24
            ],
            "labels": [
              "1",
              "2"
            ]
          }
        }
      ],
      "meta": {
        "request_id": "5f0c2a7e-3b1d-4c55-9a7e-2f1b8d0c9e11",
        "plan": "single",
        "remaining_month": 499812,
        "remaining_minute": 299,
        "cache_seconds": 15,
        "freshness": {
          "scores_updated_at": "2026-11-30T05:42:10Z",
          "schedule_updated_at": "2026-11-30T12:00:04Z"
        }
      }
    }

    GET/{sport}/games/{id}/boxscore

    The game plus every player's current stat line.

    Example (real data, lists shortened): GET /nba/games/329464/boxscore

    response
    {
      "data": {
        "id": 329464,
        "away": {
          "id": 1066,
          "abbr": "LAL",
          "name": "Los Angeles Lakers",
          "score": 103,
          "color_primary": "#552583",
          "color_secondary": "#FDB927"
        },
        "home": {
          "id": 1206,
          "abbr": "MEM",
          "name": "Memphis Grizzlies",
          "score": 95,
          "color_primary": "#5D76A9",
          "color_secondary": "#12173F"
        },
        "sport": "nba",
        "status": "final",
        "players": [
          {
            "name": "Luka Doncic",
            "stats": {
              "pf": 2,
              "ast": 6,
              "blk": 2,
              "fga": 27,
              "fgm": 13,
              "fta": 6,
              "ftm": 6,
              "min": 36,
              "pts": 38,
              "reb": 7,
              "stl": 1,
              "tov": 4,
              "tpa": 12,
              "tpm": 6,
              "plus_minus": 14
            },
            "team_id": 1066,
            "position": "G",
            "player_id": 203945274
          },
          {
            "name": "Austin Reaves",
            "stats": {
              "pf": 3,
              "ast": 6,
              "blk": 0,
              "fga": 13,
              "fgm": 5,
              "fta": 16,
              "ftm": 14,
              "min": 37,
              "pts": 27,
              "reb": 8,
              "stl": 1,
              "tov": 3,
              "tpa": 6,
              "tpm": 3,
              "plus_minus": 10
            },
            "team_id": 1066,
            "position": "G",
            "player_id": 204066457
          }
        ],
        "season_id": 2,
        "start_time": "2026-11-29T21:00:00Z",
        "season_type": "Regular Season",
        "score_by_period": {
          "away": [
            33,
            25
          ],
          "home": [
            16,
            24
          ],
          "labels": [
            "1",
            "2"
          ]
        }
      },
      "meta": {
        "request_id": "5f0c2a7e-3b1d-4c55-9a7e-2f1b8d0c9e11",
        "plan": "single",
        "remaining_month": 499812,
        "remaining_minute": 299,
        "cache_seconds": 15,
        "freshness": {
          "scores_updated_at": "2026-11-30T05:42:10Z",
          "schedule_updated_at": "2026-11-30T12:00:04Z"
        }
      }
    }

    GET/{sport}/players/{id}/gamelog

    A player's stat line in every game, newest first.

    • season: season id (default current)

    Example (real data, lists shortened): GET /nba/players/200003195/gamelog

    response
    {
      "data": {
        "games": [
          {
            "stats": {
              "pf": 1,
              "ast": 0,
              "blk": 0,
              "fga": 2,
              "fgm": 2,
              "fta": 0,
              "ftm": 0,
              "min": 7,
              "pts": 6,
              "reb": 1,
              "stl": 1,
              "tov": 0,
              "tpa": 2,
              "tpm": 2,
              "plus_minus": -2
            },
            "status": "final",
            "game_id": 329465,
            "team_id": 1067,
            "opponent": {
              "id": 1190,
              "abbr": "SAS",
              "name": "San Antonio Spurs",
              "color_primary": "#000000",
              "color_secondary": "#C4CED4"
            },
            "start_time": "2026-11-29T21:00:00Z"
          },
          {
            "stats": {
              "pf": 2,
              "ast": 4,
              "blk": 0,
              "fga": 5,
              "fgm": 2,
              "fta": 0,
              "ftm": 0,
              "min": 16,
              "pts": 6,
              "reb": 2,
              "stl": 1,
              "tov": 0,
              "tpa": 2,
              "tpm": 2,
              "plus_minus": 8
            },
            "status": "final",
            "game_id": 329425,
            "team_id": 1067,
            "opponent": {
              "id": 1177,
              "abbr": "GSW",
              "name": "Golden State Warriors",
              "color_primary": "#1D428A",
              "color_secondary": "#FFC72C"
            },
            "start_time": "2026-11-23T01:30:00Z"
          }
        ],
        "player": {
          "id": 200003195,
          "name": "Mike Conley",
          "team": {
            "id": 1067,
            "abbr": "BOS",
            "name": "Boston Celtics",
            "color_primary": "#007A33",
            "color_secondary": "#BA9653"
          },
          "active": true,
          "jersey": null,
          "position": "G",
          "short_name": "M. Conley"
        },
        "season_id": 2
      },
      "meta": {
        "request_id": "5f0c2a7e-3b1d-4c55-9a7e-2f1b8d0c9e11",
        "plan": "single",
        "remaining_month": 499812,
        "remaining_minute": 299,
        "cache_seconds": 120,
        "freshness": {
          "scores_updated_at": "2026-11-30T05:42:10Z",
          "schedule_updated_at": "2026-11-30T12:00:04Z"
        }
      }
    }

    GET/{sport}/standings

    Computed from our own final regular-season results.

    • season: season id (default current)

    Example (real data, lists shortened): GET /nba/standings

    response
    {
      "data": {
        "teams": [
          {
            "team": {
              "id": 1190,
              "abbr": "SAS",
              "name": "San Antonio Spurs",
              "color_primary": "#000000",
              "color_secondary": "#C4CED4"
            },
            "wins": 17,
            "losses": 4,
            "win_pct": 0.81,
            "points_for": 2453,
            "games_played": 21,
            "points_against": 2215
          },
          {
            "team": {
              "id": 1066,
              "abbr": "LAL",
              "name": "Los Angeles Lakers",
              "color_primary": "#552583",
              "color_secondary": "#FDB927"
            },
            "wins": 16,
            "losses": 4,
            "win_pct": 0.8,
            "points_for": 2348,
            "games_played": 20,
            "points_against": 2223
          }
        ],
        "source": "Computed from final regular-season results",
        "season_id": 2
      },
      "meta": {
        "request_id": "5f0c2a7e-3b1d-4c55-9a7e-2f1b8d0c9e11",
        "plan": "single",
        "remaining_month": 499812,
        "remaining_minute": 299,
        "cache_seconds": 300,
        "freshness": {
          "scores_updated_at": "2026-11-30T05:42:10Z",
          "schedule_updated_at": "2026-11-30T12:00:04Z"
        }
      }
    }

    GET/{sport}/stats/leaders

    Season leaders for one stat. List the stat keys with /{sport}/stats/keys.

    • stat: required, e.g. pts
    • season
    • limit: up to 100 (default 25)

    Example (real data, lists shortened): GET /nba/stats/leaders?stat=pts

    response
    {
      "data": {
        "stat": "pts",
        "label": "Points",
        "leaders": [
          {
            "rank": 1,
            "games": 6,
            "total": 216,
            "player": {
              "id": 205104157,
              "name": "Victor Wembanyama",
              "team": {
                "id": 1190,
                "abbr": "SAS",
                "name": "San Antonio Spurs",
                "color_primary": "#000000",
                "color_secondary": "#C4CED4"
              },
              "active": true,
              "jersey": null,
              "position": "F",
              "short_name": "V. Wembanyama"
            },
            "per_game": 36
          },
          {
            "rank": 2,
            "games": 6,
            "total": 187,
            "player": {
              "id": 203945274,
              "name": "Luka Doncic",
              "team": {
                "id": 1066,
                "abbr": "LAL",
                "name": "Los Angeles Lakers",
                "color_primary": "#552583",
                "color_secondary": "#FDB927"
              },
              "active": true,
              "jersey": null,
              "position": "G",
              "short_name": "L. Doncic"
            },
            "per_game": 31.17
          }
        ],
        "season_id": 2
      },
      "meta": {
        "request_id": "5f0c2a7e-3b1d-4c55-9a7e-2f1b8d0c9e11",
        "plan": "single",
        "remaining_month": 499812,
        "remaining_minute": 299,
        "cache_seconds": 300,
        "freshness": {
          "scores_updated_at": "2026-11-30T05:42:10Z",
          "schedule_updated_at": "2026-11-30T12:00:04Z"
        }
      }
    }

    GET/{sport}/injuries

    Current injury report (nfl, nba), refreshed every 6 hours. Depth charts are not offered: our data provider does not publish them.

    • team: team id

    Example (real data, lists shortened): GET /nfl/injuries?team=1708

    response
    {
      "data": {
        "injuries": [
          {
            "team": {
              "id": 1708,
              "abbr": "DEN",
              "name": "Denver Broncos",
              "color_primary": "#FB4F14",
              "color_secondary": "#002244"
            },
            "status": "Questionable",
            "player_id": 4039007,
            "updated_at": "2026-12-02T12:06:47Z",
            "description": "Quadriceps - Questionable for Week 13 vs. Miami",
            "player_name": "Taylor Rapp",
            "report_date": "2026-11-30"
          },
          {
            "team": {
              "id": 1708,
              "abbr": "DEN",
              "name": "Denver Broncos",
              "color_primary": "#FB4F14",
              "color_secondary": "#002244"
            },
            "status": "I.L.",
            "updated_at": "2026-12-02T12:06:47Z",
            "description": "I.L. - Foot",
            "player_name": "Caleb Lohner",
            "report_date": "2026-11-26"
          },
          {
            "team": {
              "id": 1708,
              "abbr": "DEN",
              "name": "Denver Broncos",
              "color_primary": "#FB4F14",
              "color_secondary": "#002244"
            },
            "status": "I.L.",
            "updated_at": "2026-12-02T12:06:47Z",
            "description": "I.L. - Hamstring",
            "player_name": "Sai'vion Jones",
            "report_date": "2026-11-26"
          }
        ],
        "updated_at": "2026-12-02T12:07:07Z"
      },
      "meta": {
        "request_id": "15a9548a-36a9-4e96-aa3c-6e763c6bcf3f",
        "plan": "bundle",
        "cache_seconds": 300
      }
    }

    GET/pga/schedule

    PGA Tour tournaments. Each tournament is one event id.

    • from=YYYY-MM-DD
    • to=YYYY-MM-DD

    Example (real data, lists shortened): GET /pga/schedule?from=2026-11-01&to=2026-12-31

    response
    {
      "data": [
        {
          "id": 600001060,
          "par": 71,
          "name": "VidantaWorld Mexico Open",
          "sport": "pga",
          "venue": "Vidanta Vallarta - Nuevo Vallarta, Mexico",
          "status": "final",
          "winner": "Andrew Novak",
          "end_date": "2026-11-01",
          "start_date": "2026-10-29",
          "round_status": "Final"
        },
        {
          "id": 600001011,
          "par": 71,
          "name": "World Wide Technology Championship",
          "sport": "pga",
          "venue": "El Cardonal at Diamante - Cabo San Lucas, Mexico",
          "status": "final",
          "winner": "Blades Brown",
          "end_date": "2026-11-08",
          "start_date": "2026-11-05",
          "round_status": "Final"
        },
        {
          "id": 600001786,
          "par": 71,
          "name": "Austin Championship pres. by Compliance Solutions",
          "sport": "pga",
          "venue": "Omni Barton Creek Resort & Spa (Fazio Canyons Course) - Austin, TX",
          "status": "final",
          "winner": "Chad Ramey",
          "end_date": "2026-11-16",
          "start_date": "2026-11-12",
          "round_status": "Final"
        }
      ],
      "meta": {
        "request_id": "2682b989-f71c-4fbf-8367-26fd510643cb",
        "plan": "bundle",
        "cache_seconds": 600
      }
    }

    GET/pga/tournaments/{id}

    Tournament leaderboard with every golfer's rounds, scoring and driving stats. Also: /pga/scores/live, /pga/players, /pga/players/{id}.

    Example (real data, lists shortened): GET /pga/tournaments/600001386

    response
    {
      "data": {
        "id": 600001386,
        "par": 71,
        "name": "The RSM Classic",
        "sport": "pga",
        "venue": "Sea Island Golf Club (Seaside Course) - Saint Simons Island, GA",
        "status": "final",
        "winner": "Marco Penge",
        "end_date": "2026-11-23",
        "start_date": "2026-11-19",
        "leaderboard": [
          {
            "name": "Marco Penge",
            "stats": {
              "r1": 68,
              "r2": 65,
              "r3": 68,
              "r4": 65,
              "pars": 48,
              "bogeys": 4,
              "eagles": 0,
              "to_par": -16,
              "birdies": 20,
              "gir_pct": 72.2,
              "earnings": 1332000,
              "made_cut": 1,
              "position": 1,
              "holes_played": 72,
              "position_text": "1",
              "putts_per_gir": 1.75,
              "total_strokes": 266,
              "drive_distance": 287.5,
              "scrambling_pct": 66.7,
              "doubles_or_worse": 0,
              "drive_accuracy_pct": 75
            },
            "player_id": 600014050
          },
          {
            "name": "Haotong Li",
            "stats": {
              "r1": 66,
              "r2": 68,
              "r3": 67,
              "r4": 65,
              "pars": 40,
              "bogeys": 8,
              "eagles": 0,
              "to_par": -16,
              "birdies": 24,
              "gir_pct": 77.8,
              "earnings": 559933,
              "made_cut": 1,
              "position": 2,
              "holes_played": 72,
              "position_text": "2",
              "putts_per_gir": 1.643,
              "total_strokes": 266,
              "drive_distance": 291.2,
              "scrambling_pct": 60,
              "doubles_or_worse": 0,
              "drive_accuracy_pct": 87.5
            },
            "player_id": 600002722
          },
          {
            "name": "Max Greyserman",
            "stats": {
              "r1": 65,
              "r2": 70,
              "r3": 65,
              "r4": 66,
              "pars": 47,
              "bogeys": 5,
              "eagles": 1,
              "to_par": -16,
              "birdies": 19,
              "gir_pct": 65.3,
              "earnings": 559933,
              "made_cut": 1,
              "position": 2,
              "holes_played": 72,
              "position_text": "2",
              "putts_per_gir": 1.617,
              "total_strokes": 266,
              "drive_distance": 291.8,
              "scrambling_pct": 100,
              "doubles_or_worse": 0,
              "drive_accuracy_pct": 80.4
            },
            "player_id": 600009492
          }
        ],
        "round_status": "Final"
      },
      "meta": {
        "request_id": "5ccc5aa7-4051-4c1c-8796-14d487de14dc",
        "plan": "bundle",
        "cache_seconds": 30
      }
    }

    GET/pga/players/{id}/gamelog

    A golfer's line in every tournament this season.

    Example (real data, lists shortened): GET /pga/players/600014050/gamelog

    response
    {
      "data": {
        "games": [
          {
            "stats": {
              "r1": 68,
              "r2": 65,
              "r3": 68,
              "r4": 65,
              "pars": 48,
              "bogeys": 4,
              "eagles": 0,
              "to_par": -16,
              "birdies": 20,
              "gir_pct": 72.2,
              "earnings": 1332000,
              "made_cut": 1,
              "position": 1,
              "holes_played": 72,
              "position_text": "1",
              "putts_per_gir": 1.75,
              "total_strokes": 266,
              "drive_distance": 287.5,
              "scrambling_pct": 66.7,
              "doubles_or_worse": 0,
              "drive_accuracy_pct": 75
            },
            "status": "final",
            "game_id": 600001386,
            "start_time": "2026-11-19T11:00:00Z",
            "tournament": "The RSM Classic"
          },
          {
            "stats": {
              "r1": 70,
              "r2": 69,
              "r3": 75,
              "r4": 75,
              "pars": 42,
              "bogeys": 12,
              "eagles": 0,
              "to_par": 1,
              "birdies": 16,
              "gir_pct": 65.3,
              "earnings": 13260,
              "made_cut": 1,
              "position": 63,
              "holes_played": 71,
              "position_text": "63",
              "putts_per_gir": 1.809,
              "total_strokes": 289,
              "drive_distance": 312.8,
              "scrambling_pct": 0,
              "doubles_or_worse": 1,
              "drive_accuracy_pct": 64.3
            },
            "status": "final",
            "game_id": 600001786,
            "start_time": "2026-11-12T11:00:00Z",
            "tournament": "Austin Championship pres. by Compliance Solutions"
          },
          {
            "stats": {
              "r1": 73,
              "r2": 73,
              "pars": 18,
              "bogeys": 5,
              "eagles": 1,
              "to_par": 2,
              "birdies": 9,
              "gir_pct": 72.2,
              "made_cut": 0,
              "holes_played": 35,
              "position_text": "-",
              "putts_per_gir": 1.808,
              "total_strokes": 146,
              "drive_distance": 318.2,
              "scrambling_pct": 0,
              "doubles_or_worse": 2,
              "drive_accuracy_pct": 78.6
            },
            "status": "final",
            "game_id": 600001011,
            "start_time": "2026-11-05T11:00:00Z",
            "tournament": "World Wide Technology Championship"
          }
        ],
        "player": {
          "id": 600014050,
          "name": "Marco Penge",
          "team": null,
          "active": true,
          "jersey": null,
          "position": null,
          "short_name": null
        },
        "season_id": 6
      },
      "meta": {
        "request_id": "c668e5f0-5c02-4767-8788-abd930489d3a",
        "plan": "bundle",
        "cache_seconds": 120
      }
    }

    GET/{sport}/games/{id}/fantasy-points

    Every player's fantasy points for one game, with a per-stat breakdown. Live during games; recomputed whenever stats change.

    • ruleset: preset (nfl standard, ppr, half_ppr; nba standard; pga standard) or your ruleset id. Default nfl ppr, nba/pga standard

    Example (real data, lists shortened): GET /nba/games/329487/fantasy-points?ruleset=standard

    response
    {
      "data": {
        "game": {
          "id": 329487,
          "away": {
            "id": 1202,
            "abbr": "MIN",
            "name": "Minnesota Timberwolves",
            "score": 113,
            "color_primary": "#0C2340",
            "color_secondary": "#236192"
          },
          "home": {
            "id": 1550,
            "abbr": "POR",
            "name": "Portland Trail Blazers",
            "score": 104,
            "color_primary": "#E03A3E",
            "color_secondary": "#000000"
          },
          "week": 7,
          "sport": "nba",
          "status": "final",
          "season_id": 2,
          "start_time": "2026-12-02T04:00:00Z",
          "season_type": "Regular Season",
          "score_by_period": {
            "away": [
              21,
              38,
              28
            ],
            "home": [
              29,
              30,
              27
            ],
            "labels": [
              "1",
              "2",
              "3"
            ]
          }
        },
        "ruleset": {
          "id": "standard",
          "name": "Standard",
          "version": 1
        },
        "players": [
          {
            "player_id": 204683021,
            "name": "Deni Avdija",
            "position": "F",
            "team_id": 1550,
            "fantasy_points": 52.5,
            "breakdown": {
              "ast": 10.5,
              "blk": 6,
              "pts": 20,
              "reb": 18,
              "stl": 3,
              "tov": -5
            },
            "stats": {
              "pf": 4,
              "ast": 7,
              "blk": 2,
              "fga": 14,
              "fgm": 5,
              "fta": 13,
              "ftm": 10,
              "min": 35,
              "pts": 20,
              "reb": 15,
              "stl": 1,
              "tov": 5,
              "tpa": 5,
              "tpm": 0,
              "plus_minus": 0
            }
          },
          {
            "player_id": 205105565,
            "name": "Donovan Clingan",
            "position": "C",
            "team_id": 1550,
            "fantasy_points": 47.6,
            "breakdown": {
              "ast": 3,
              "blk": 9,
              "pts": 17,
              "reb": 15.6,
              "stl": 3
            },
            "stats": {
              "pf": 2,
              "ast": 2,
              "blk": 3,
              "fga": 12,
              "fgm": 7,
              "fta": 5,
              "ftm": 3,
              "min": 35,
              "pts": 17,
              "reb": 13,
              "stl": 1,
              "tov": 0,
              "tpa": 3,
              "tpm": 0,
              "plus_minus": -13
            }
          },
          {
            "player_id": 204433247,
            "name": "Jonathan Kuminga",
            "position": "F",
            "team_id": 1202,
            "fantasy_points": 39.4,
            "breakdown": {
              "ast": 6,
              "pts": 20,
              "reb": 8.4,
              "stl": 9,
              "tov": -4
            },
            "stats": {
              "pf": 5,
              "ast": 4,
              "blk": 0,
              "fga": 15,
              "fgm": 7,
              "fta": 6,
              "ftm": 4,
              "min": 35,
              "pts": 20,
              "reb": 7,
              "stl": 3,
              "tov": 4,
              "tpa": 4,
              "tpm": 2,
              "plus_minus": 9
            }
          }
        ]
      },
      "meta": {
        "request_id": "cf8a1a82-c00c-407a-8b4d-fbe80f66bd0e",
        "plan": "bundle",
        "cache_seconds": 15
      }
    }

    GET/pga/tournaments/{id}/fantasy-points

    PGA standard: eagle 8, birdie 3, par 0.5, bogey -0.5, double or worse -1, plus finishing position (1st 30, 2nd 20, 3rd 18, 4th 16, 5th 14, 6th 12, 7th 10, 8th 9, 9th 8, 10th 7, 11–15th 6, 16–20th 5, 21–25th 4, 26–30th 3, 31–40th 2, 41–50th 1; ties share the tied place's points).

    Example (real data, lists shortened): GET /pga/tournaments/600001386/fantasy-points

    response
    {
      "data": {
        "game": {
          "id": 600001386,
          "par": 71,
          "name": "The RSM Classic",
          "sport": "pga",
          "venue": "Sea Island Golf Club (Seaside Course) - Saint Simons Island, GA",
          "status": "final",
          "winner": "Marco Penge",
          "end_date": "2026-11-23",
          "start_date": "2026-11-19",
          "round_status": "Final"
        },
        "ruleset": {
          "id": "standard",
          "name": "Standard",
          "version": 1
        },
        "players": [
          {
            "player_id": 600014050,
            "name": "Marco Penge",
            "fantasy_points": 112,
            "breakdown": {
              "birdies": 60,
              "bogeys": -2,
              "pars": 24,
              "finish_position": 30
            },
            "stats": {
              "r1": 68,
              "r2": 65,
              "r3": 68,
              "r4": 65,
              "pars": 48,
              "bogeys": 4,
              "eagles": 0,
              "to_par": -16,
              "birdies": 20,
              "gir_pct": 72.2,
              "earnings": 1332000,
              "made_cut": 1,
              "position": 1,
              "holes_played": 72,
              "position_text": "1",
              "putts_per_gir": 1.75,
              "total_strokes": 266,
              "drive_distance": 287.5,
              "scrambling_pct": 66.7,
              "doubles_or_worse": 0,
              "drive_accuracy_pct": 75
            }
          },
          {
            "player_id": 600002722,
            "name": "Haotong Li",
            "fantasy_points": 108,
            "breakdown": {
              "birdies": 72,
              "bogeys": -4,
              "pars": 20,
              "finish_position": 20
            },
            "stats": {
              "r1": 66,
              "r2": 68,
              "r3": 67,
              "r4": 65,
              "pars": 40,
              "bogeys": 8,
              "eagles": 0,
              "to_par": -16,
              "birdies": 24,
              "gir_pct": 77.8,
              "earnings": 559933,
              "made_cut": 1,
              "position": 2,
              "holes_played": 72,
              "position_text": "2",
              "putts_per_gir": 1.643,
              "total_strokes": 266,
              "drive_distance": 291.2,
              "scrambling_pct": 60,
              "doubles_or_worse": 0,
              "drive_accuracy_pct": 87.5
            }
          },
          {
            "player_id": 600009492,
            "name": "Max Greyserman",
            "fantasy_points": 106,
            "breakdown": {
              "birdies": 57,
              "bogeys": -2.5,
              "eagles": 8,
              "pars": 23.5,
              "finish_position": 20
            },
            "stats": {
              "r1": 65,
              "r2": 70,
              "r3": 65,
              "r4": 66,
              "pars": 47,
              "bogeys": 5,
              "eagles": 1,
              "to_par": -16,
              "birdies": 19,
              "gir_pct": 65.3,
              "earnings": 559933,
              "made_cut": 1,
              "position": 2,
              "holes_played": 72,
              "position_text": "2",
              "putts_per_gir": 1.617,
              "total_strokes": 266,
              "drive_distance": 291.8,
              "scrambling_pct": 100,
              "doubles_or_worse": 0,
              "drive_accuracy_pct": 80.4
            }
          }
        ]
      },
      "meta": {
        "request_id": "dcbe0422-d6b1-42ac-99b6-fb5939c1d48b",
        "plan": "bundle",
        "cache_seconds": 15
      }
    }

    GET/{sport}/players/{id}/fantasy-log

    A player's fantasy points in every game this season, with total and average.

    • ruleset
    • season

    Example (real data, lists shortened): GET /nba/players/204431736/fantasy-log

    response
    {
      "data": {
        "player": {
          "id": 204431736,
          "name": "Toumani Camara",
          "team": {
            "id": 1550,
            "abbr": "POR",
            "name": "Portland Trail Blazers",
            "color_primary": "#E03A3E",
            "color_secondary": "#000000"
          },
          "active": true,
          "jersey": null,
          "position": "F",
          "short_name": "T. Camara"
        },
        "season_id": 2,
        "ruleset": {
          "id": "standard",
          "name": "Standard",
          "version": 1
        },
        "games_played": 21,
        "total_points": 473.2,
        "average_points": 22.53,
        "games": [
          {
            "stats": {
              "pf": 1,
              "ast": 0,
              "blk": 0,
              "fga": 16,
              "fgm": 10,
              "fta": 0,
              "ftm": 0,
              "min": 38,
              "pts": 26,
              "reb": 4,
              "stl": 1,
              "tov": 1,
              "tpa": 10,
              "tpm": 6,
              "plus_minus": 7
            },
            "status": "final",
            "game_id": 329487,
            "team_id": 1550,
            "opponent": {
              "id": 1202,
              "abbr": "MIN",
              "name": "Minnesota Timberwolves",
              "color_primary": "#0C2340",
              "color_secondary": "#236192"
            },
            "start_time": "2026-12-02T04:00:00Z",
            "fantasy_points": 32.8,
            "breakdown": {
              "pts": 26,
              "reb": 4.8,
              "stl": 3,
              "tov": -1
            }
          },
          {
            "stats": {
              "pf": 3,
              "ast": 1,
              "blk": 2,
              "fga": 9,
              "fgm": 2,
              "fta": 2,
              "ftm": 2,
              "min": 33,
              "pts": 6,
              "reb": 5,
              "stl": 0,
              "tov": 1,
              "tpa": 7,
              "tpm": 0,
              "plus_minus": 4
            },
            "status": "final",
            "game_id": 329471,
            "team_id": 1550,
            "opponent": {
              "id": 1194,
              "abbr": "NOP",
              "name": "New Orleans Pelicans",
              "color_primary": "#0C2340",
              "color_secondary": "#C8102E"
            },
            "start_time": "2026-11-29T23:00:00Z",
            "fantasy_points": 18.5,
            "breakdown": {
              "ast": 1.5,
              "blk": 6,
              "pts": 6,
              "reb": 6,
              "tov": -1
            }
          },
          {
            "stats": {
              "pf": 5,
              "ast": 2,
              "blk": 0,
              "fga": 13,
              "fgm": 7,
              "fta": 2,
              "ftm": 2,
              "min": 31,
              "pts": 20,
              "reb": 8,
              "stl": 2,
              "tov": 0,
              "tpa": 8,
              "tpm": 4,
              "plus_minus": 19
            },
            "status": "final",
            "game_id": 329458,
            "team_id": 1550,
            "opponent": {
              "id": 1177,
              "abbr": "GSW",
              "name": "Golden State Warriors",
              "color_primary": "#1D428A",
              "color_secondary": "#FFC72C"
            },
            "start_time": "2026-11-28T02:30:00Z",
            "fantasy_points": 38.6,
            "breakdown": {
              "ast": 3,
              "pts": 20,
              "reb": 9.6,
              "stl": 6
            }
          }
        ]
      },
      "meta": {
        "request_id": "f944f079-1c22-4e21-a365-fa6eae671e8a",
        "plan": "bundle",
        "cache_seconds": 120
      }
    }

    POST/scoring-rulesets

    Save your own scoring: {sport, name, rules: {stat_key: points}, bonuses: [{stat_key, threshold, points}], position_points (optional)}. Also GET /scoring-rulesets, GET/PUT/DELETE /scoring-rulesets/{id}. Each PUT makes a new version; the same stats and version always give the same points. Private to your account.

    Example (real data, lists shortened): GET POST /scoring-rulesets

    response
    {
      "data": {
        "id": "6e6f3795-7751-4049-b9ed-13c6f643e006",
        "name": "My league",
        "rules": {
          "ast": 1.5,
          "blk": 2,
          "pts": 1,
          "reb": 1.25,
          "stl": 2,
          "tov": -0.5
        },
        "sport": "nba",
        "bonuses": [
          {
            "points": 3,
            "stat_key": "pts",
            "threshold": 40
          }
        ],
        "version": 1,
        "created_at": "2026-12-02T15:06:26Z",
        "updated_at": "2026-12-02T15:06:26Z"
      },
      "meta": {
        "request_id": "74622ff7-1f74-41a0-913b-1e66689880fc",
        "plan": "bundle"
      }
    }

    GET/{sport}/slates

    Slates (nfl, nba: all games on one US Eastern date; pga: one tournament). Without date: yesterday to 7 days ahead.

    • date=YYYY-MM-DD

    Example (real data, lists shortened): GET /nba/slates?date=2026-12-02

    response
    {
      "data": [
        {
          "id": 2,
          "date": "2026-12-02",
          "name": "NBA · all games",
          "sport": "nba",
          "game_ids": [
            329489,
            329490,
            329491
          ],
          "first_start": "2026-12-03T00:00:00Z",
          "salaries_locked": false
        }
      ],
      "meta": {
        "request_id": "9a9b4fec-8d7f-4715-8f00-3d9381a96a19",
        "plan": "bundle",
        "cache_seconds": 120
      }
    }

    GET/{sport}/slates/{id}/projections

    Projected stat line and projected fantasy points for every player on the slate. Recomputed nightly and again about 90 minutes before each game.

    • ruleset

    Example (real data, lists shortened): GET /nba/slates/2/projections?ruleset=standard

    response
    {
      "data": {
        "slate": {
          "id": 2,
          "date": "2026-12-02",
          "name": "NBA · all games",
          "sport": "nba",
          "game_ids": [
            329489,
            329490,
            329491
          ],
          "first_start": "2026-12-03T00:00:00Z",
          "salaries_locked": false
        },
        "ruleset": {
          "id": "standard",
          "name": "Standard",
          "version": 1
        },
        "note": "Projections are statistical estimates for fantasy games, not guarantees.",
        "players": [
          {
            "player_id": 205104157,
            "name": "Victor Wembanyama",
            "position": "F",
            "team_id": 1190,
            "opponent_team_id": 1212,
            "game_id": 329501,
            "projected_points": 67.52,
            "projected_stats": {
              "ast": 2.87,
              "blk": 3.41,
              "fga": 23.47,
              "fgm": 12.69,
              "fta": 7.33,
              "ftm": 5.46,
              "min": 31.31,
              "pts": 33.04,
              "reb": 13.41,
              "stl": 2,
              "tov": 2.15,
              "tpa": 6.91,
              "tpm": 2.21
            },
            "model_version": "v1.0",
            "games_used": 10,
            "factors": {
              "out": false,
              "opponent": 0.93,
              "usage_trend": 1.04,
              "opponent_rank": 5
            },
            "computed_at": "2026-12-02T15:06:04Z"
          },
          {
            "player_id": 203945274,
            "name": "Luka Doncic",
            "position": "G",
            "team_id": 1066,
            "opponent_team_id": 1194,
            "game_id": 329494,
            "projected_points": 54.8,
            "projected_stats": {
              "ast": 8.51,
              "blk": 0.48,
              "fga": 29.44,
              "fgm": 12.13,
              "fta": 7.59,
              "ftm": 6.76,
              "min": 40.69,
              "pts": 34.5,
              "reb": 5.02,
              "stl": 1.78,
              "tov": 5.27,
              "tpa": 13.56,
              "tpm": 3.49
            },
            "model_version": "v1.0",
            "games_used": 10,
            "factors": {
              "out": false,
              "opponent": 1.09,
              "usage_trend": 1.02,
              "opponent_rank": 28
            },
            "computed_at": "2026-12-02T15:06:04Z"
          },
          {
            "player_id": 203136195,
            "name": "Karl-Anthony Towns",
            "position": "C",
            "team_id": 1213,
            "opponent_team_id": 1184,
            "game_id": 329493,
            "projected_points": 53,
            "projected_stats": {
              "ast": 5.86,
              "blk": 1.5,
              "fga": 16.82,
              "fgm": 9.03,
              "fta": 5.46,
              "ftm": 3.84,
              "min": 36.3,
              "pts": 24.03,
              "reb": 13.32,
              "stl": 0.93,
              "tov": 3.09,
              "tpa": 5.96,
              "tpm": 2.14
            },
            "model_version": "v1.0",
            "games_used": 10,
            "factors": {
              "out": false,
              "opponent": 1.1,
              "usage_trend": 0.99,
              "opponent_rank": 30
            },
            "computed_at": "2026-12-02T15:06:04Z"
          }
        ]
      },
      "meta": {
        "request_id": "d4e761a7-836a-410a-a8ec-6547c41183b4",
        "plan": "bundle",
        "cache_seconds": 120
      }
    }

    GET/{sport}/slates/{id}/salaries

    A salary for every player, scaled from projected points: top projection gets 25% of the cap, zero gets the minimum (nfl/nba $3,000, pga $6,000 at a $50,000 cap; the minimum scales with the cap), rounded to $100. Fixed once the slate's first game starts.

    • ruleset
    • cap: 10000 to 1000000 (default 50000)

    Example (real data, lists shortened): GET /nfl/slates/9/salaries?ruleset=ppr

    response
    {
      "data": {
        "slate": {
          "id": 9,
          "date": "2026-12-06",
          "name": "NFL · all games",
          "sport": "nfl",
          "game_ids": [
            279203,
            279204,
            279205
          ],
          "first_start": "2026-12-06T18:00:00Z",
          "salaries_locked": false
        },
        "ruleset": {
          "id": "ppr",
          "name": "PPR",
          "version": 1
        },
        "cap": 50000,
        "min_salary": 3000,
        "max_salary": 12500,
        "locked": false,
        "note": "Projections are statistical estimates for fantasy games, not guarantees.",
        "players": [
          {
            "player_id": 4429795,
            "name": "Jahmyr Gibbs",
            "team_id": 1695,
            "game_id": 279203,
            "salary": 12500,
            "projected_points": 36.52
          },
          {
            "player_id": 4241478,
            "name": "DeVonta Smith",
            "team_id": 1686,
            "game_id": 279211,
            "injury_status": "Questionable",
            "salary": 10800,
            "projected_points": 29.92
          },
          {
            "player_id": 3915511,
            "name": "Joe Burrow",
            "team_id": 1679,
            "game_id": 279205,
            "injury_status": "Questionable",
            "salary": 9600,
            "projected_points": 25.19
          }
        ]
      },
      "meta": {
        "request_id": "8f6412f7-6b65-448d-bfa0-b9fd01c23749",
        "plan": "bundle",
        "cache_seconds": 120
      }
    }

    Errors and limits

    StatuscodeMeaning
    401missing_key, invalid_key, key_revokedNo key, an unknown key, or a revoked key.
    403sport_not_in_planYour plan doesn't include that sport.
    403upgradeFantasy points, projections and salaries need the all-sports bundle or Enterprise.
    403plan_inactiveNo active plan (or payment more than 7 days overdue).
    404not_found, unknown_sport, not_in_sampleNo such record or endpoint. Sample keys list the paths they cover.
    429rate_limited, monthly_quota_exceededToo many requests. Wait for the Retry-After seconds.

    Limits are per plan: single sport 300 requests a minute and 500,000 a month per sport; all-sports bundle 1,000 a minute and 3,000,000 a month. Sample keys: 60 a minute.

    Use it in Lovable, Base44 or Bolt

    Paste this prompt into your AI app builder. Keep your live key in the builder's secrets, never in the page code. The full walkthrough is in the AI app builder guide.

    prompt
    Add live sports data to my app using the Victorious sports data API.
    - Base URL: https://kbnnabvbtcwwsytkjyhc.supabase.co/functions/v1/api/v1
    - Send the header Authorization: Bearer <key>. Store the key as a secret named VICTORIOUS_API_KEY and call the API only from the backend, never from browser code.
    - While testing, use the sample key vc_test_sandbox_sample (frozen sample day).
    - Show tonight's NBA games from GET /nba/schedule, with team names, start times and scores.
    - Refresh live scores from GET /nba/scores/live every 30 seconds while a game is in progress.
    - Clicking a game opens GET /nba/games/{id}/boxscore and lists each player's stats.
    - Responses are { data, meta }; errors are { error: { code, message } }. On 429, wait for the Retry-After seconds.
    fetch
    const res = await fetch("https://kbnnabvbtcwwsytkjyhc.supabase.co/functions/v1/api/v1/nfl/schedule?date=2026-11-29", {
      headers: { Authorization: "Bearer vc_test_sandbox_sample" },
    });
    const { data, meta } = await res.json();
    console.log(data, meta.remaining_month);

    Connect Victorious sports data to Claude, Cursor or any MCP client

    The same data is available as a remote MCP server, using the same keys and plan limits. Tools: get_schedule, get_live_scores, get_boxscore, get_player, get_player_gamelog, get_standings, get_leaders, get_injuries, get_fantasy_points, get_projections, get_salaries.

    MCP config
    {
      "mcpServers": {
        "victorious-sports": {
          "url": "https://kbnnabvbtcwwsytkjyhc.supabase.co/functions/v1/api/v1/mcp",
          "headers": { "Authorization": "Bearer vc_live_YOUR_KEY" }
        }
      }
    }
    MCP URL
    https://kbnnabvbtcwwsytkjyhc.supabase.co/functions/v1/api/v1/mcp