Projections API
Programmatic access to BluecollarDFS projection data for your scripts, spreadsheets, models, and AI agents. NFL, NBA, MLB, and Golf projections across DraftKings, FanDuel, and Yahoo — the same data that powers our lineup optimizer.
Every endpoint returns JSON with player projections, salaries, value metrics, and slate metadata. Updated throughout the day as lineups lock.
API access is included with premium
Premium subscribers get full API access to all sports and endpoints — the same subscription that unlocks expanded lineup builds and all sports in the optimizer. One subscription, everything included.
To get your API key: email bluecollardfs@gmail.com with your account email and what you're building. We'll set you up with a key. Self-service key management is coming soon.
Authentication
Include your API key in the X-API-Key header with every request. Requests without a valid key are rejected.
curl -H "X-API-Key: dk_live_your_key_here" \
https://bluecollardfs.com/api/nfl_draftkingsEndpoints
All endpoints accept GET requests and return application/json.
NFL
/api/nfl_draftkings/api/nfl_fanduel/api/nfl_yahooNBA
/api/nba_draftkings/api/nba_fanduelMLB
/api/mlb_draftkings/api/mlb_fanduel/api/mlb_yahooGolf
/api/golf_draftkings/api/golf_fanduelResponse Shape
Every endpoint returns a list of slates. Each slate includes metadata (type, start time, last update) and a player array with projections, salaries, and value metrics.
{
"slates": [
{
"slate": "Main",
"slate_type": "classic",
"date": "02_26_26",
"updated": "15:18:01 ET",
"info": [
{
"name": "Player Name",
"team": "NYK",
"position": "PG",
"opponent": "BOS",
"projection": "42.5",
"salary": "8200",
"value": "5.2"
}
]
}
]
}Code Examples
Python
import requests
resp = requests.get(
"https://bluecollardfs.com/api/nfl_draftkings",
headers={"X-API-Key": "dk_live_your_key_here"}
)
slates = resp.json()["slates"]
for slate in slates:
print(f"{slate['slate']} ({len(slate['info'])} players)")
for p in slate["info"][:3]:
print(f" {p['name']} {p['position']} - {p['projection']} pts")JavaScript
const resp = await fetch("https://bluecollardfs.com/api/nba_fanduel", {
headers: { "X-API-Key": "dk_live_your_key_here" }
});
const { slates } = await resp.json();
console.log(slates.map(s => s.slate));Google Apps Script
function getProjections() {
var resp = UrlFetchApp.fetch(
"https://bluecollardfs.com/api/nfl_fanduel",
{ headers: { "X-API-Key": "dk_live_your_key_here" } }
);
var slates = JSON.parse(resp.getContentText()).slates;
// Write to spreadsheet...
}Rate Limits & Errors
API keys include 200 requests per day across all endpoints. That's enough to pull every sport/site combination once per hour for a full day. Daily limits reset at midnight UTC.
| Status | Meaning |
|---|---|
200 | Success — projection data returned |
401 | Missing or invalid API key |
403 | API key does not include access to the requested sport |
429 | Daily request limit reached — retry after midnight UTC |
Best Practices
- Use the
updatedfield to check freshness before re-fetching. - Cache responses for at least 5 minutes — projections don't change more frequently than that.
- Projections are typically available starting 2-3 hours before slate lock and update as game time approaches.
- Attribution is appreciated when BluecollarDFS data powers published insights or tools.
About BluecollarDFS
BluecollarDFS is a daily fantasy sports (DFS) projection and lineup optimization platform. We produce proprietary player projections for NFL, NBA, MLB, and PGA Tour golf across DraftKings, FanDuel, and Yahoo contest platforms.
Our projections power an in-browser lineup optimizer that builds salary-cap-compliant lineups using linear programming. Users configure stacking rules, exposure limits, and position constraints — the optimizer handles the math.
The Projections API gives developers and tools the same data programmatically. Whether you're building a custom model, feeding a Google Sheet, or integrating projections into an AI agent — the API provides structured, up-to-date projection data with a single authenticated request.
Questions?
Need help integrating, have feature requests, or want to discuss a use case? Email bluecollardfs@gmail.com or reach out on Twitter.