Use case: CLV trackers
Build a CLV tracking tool for graded bets
Grade every bet against the closing line at a sharp book and track the one metric that predicts long-term results.
Who this is for
Bettors and tool builders who log their bets and want each one graded against the close automatically. Positive CLV over a large sample is the most reliable sign a strategy has real edge.
- Log each bet with market, outcome, and taken odds
- Grade slips nightly with POST /v1/clv
- Backfill older bets with /v1/clv/history
- Chart CLV over time next to profit
The three endpoints this build uses
POST /v1/clvSend a bet slip, get per-bet CLV against the closing line at a sharp book. Defaults to Pinnacle and falls back to Novig when Pinnacle did not price the market.POST /v1/clv/historyBatch grader with date ranges for scoring a whole betting history in one call.GET /v1/sports/{sport_key}/closing-linesThe final pre-game snapshot per book when you want to grade or audit lines yourself.Working code
curl -X POST https://parlay-api.com/v1/clv \
-H 'X-API-Key: YOUR_KEY' -H 'Content-Type: application/json' \
-d '{"bets": [{"sport_key": "baseball_mlb", "market": "h2h",
"outcome": "Detroit Tigers", "taken_odds": -110}]}'
Which tier fits
CLV grading and the closing-line archive are available from the Pro tier up. Batch grading is priced in credits per bet, so a nightly grade of a normal slate stays inexpensive. Current limits are on the pricing page.
Example repo
Start from betting-model-starter, an open-source starting point for this exact build.
Build links
/answers/closing-line-api/answers/get-historical-closing-lines/pinnacle-coverage