Skip to content
On this page

API Overview

The Scottfree Sports API provides programmatic access to the same sports model data used by the Scottfree Sports web app: predictions, current odds, historical results, model summaries, team form, visualization payloads, account usage, and historical dataset refresh downloads.

Production base URL:

text
https://sports-api.scottfreellc.com

Production OpenAPI schema:

text
https://sports-api.scottfreellc.com/openapi.json

Who Can Use It

ProductREST API accessCLIMCP
Scottfree Sports AIYesYesYes

Scottfree Sports AI includes the web app, REST API, Python CLI, and MCP server for assistant workflows — all in one subscription. Legacy Scottfree Sports Data, Basic, and Premium subscribers keep their existing access, which now includes every feature above.

Quick Start

Set your key:

bash
export SFS_API_KEY="sk_alphapysports_PASTE_YOUR_KEY"

List sports and model types:

bash
curl -H "X-API-Key: $SFS_API_KEY" \
  https://sports-api.scottfreellc.com/api/v1/sports

Get MLB moneyline predictions:

bash
curl -H "X-API-Key: $SFS_API_KEY" \
  https://sports-api.scottfreellc.com/api/v1/predictions/mlb/won_on_points

Get recent results:

bash
curl -H "X-API-Key: $SFS_API_KEY" \
  "https://sports-api.scottfreellc.com/api/v1/results/mlb/won_on_points?limit=25"

Check usage:

bash
curl -H "X-API-Key: $SFS_API_KEY" \
  https://sports-api.scottfreellc.com/api/v1/customers/me/usage

Supported Leagues

CodeLeague
mlbMajor League Baseball
nbaNational Basketball Association
nflNational Football League
nhlNational Hockey League
ncaafNCAA Football
ncaabNCAA Basketball

Supported Markets

Model typeMarketAxis
over_underTotalOver vs. under
won_on_pointsMoneylineHome vs. away
won_on_spreadSpreadHome spread vs. away spread

For moneyline and spread, probabilities are home-team relative. For totals, probabilities are over-relative.

Main Endpoint Groups

GroupPath familyPurpose
Discovery/api/v1/sportsSupported sports and model types
Predictions/api/v1/predictions/{sport}/{model_type}Current slate model probabilities and line data
Free website ML predictions/api/v1/public/ml-picks/{sport}/{market}Public ML table feed, unauthenticated
Odds/api/v1/odds/{sport}Current odds
Results/api/v1/results/{sport}/{model_type}Recent graded results
Results visualizations/api/v1/results/{sport}/{model_type}/rolling, /density, /team-formApp chart payloads
Summary/api/v1/summary/{sport}/{model_type}Model summary tables
Account/api/v1/customers/me, /usage, /api-keysCustomer account and key management
Historical dataset refresh/api/v1/scottfree-sports-data/status, /refreshHistorical dataset refresh downloads

The older /picks/* and /edge-picks/* endpoints remain for compatibility, but they return explicit empty payloads because no validated betting selector is active.

Rate Limits

PlanMonthly API quotaPer-second limit
Scottfree Sports AI200,000 requests50 requests/second

Historical dataset refresh has a separate quota: 8 refreshes per calendar month.

Sports model data and research tools