Diamond Projections API

Same data that powers the Diamond Projections web app, available to your agents and applications over REST and MCP — MLB and NFL, DraftKings and FanDuel, classic and showdown/single-game. OAuth 2.1 with PKCE, API keys, and Supabase JWTs all work as bearer tokens.

REST v1

Base URL: https://diamonddfs.com/api/v1

Every slate endpoint accepts sport (mlb default, nfl) and platform (dk default, fd). Weight keys differ per sport — MLB uses vsSP, recentTrend, parkFactor, weather, teamTotal, environmentalSplits; NFL uses opportunity, matchup, gameEnvironment, recentForm, weather, efficiency.

Full OpenAPI 3.1 spec →

Lineup strategies

POST /optimize and POST /lineup/swap accept two optional construction flags that compose with locks and excludes:

Both flags can be combined. Responses include scoringMode (mean or floor) and, when stacking succeeded, stackInfo with the chosen primary/mini teams and hitter counts.

MCP

Endpoint: https://diamonddfs.com/api/mcp (Streamable HTTP).

Tools: get_slates, get_player_pool, get_player_projection, build_optimal_lineup, build_stack_lineup, swap_player, apply_weight_preset, customize_weights, list_weight_presets, explain_projection, explain_lineup, get_player_form, get_sport_guide, get_nfl_matchups, get_nfl_injuries.

Auth

Pre-built integrations