Diamond Projections API

Same data that powers the Diamond Projections web app, available to your agents and applications over REST and MCP. OAuth 2.1 with PKCE, API keys, and Supabase JWTs all work as bearer tokens.

REST v1

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

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.

Auth

Pre-built integrations