u/Termino1912

built a script that pulls every book's nfl spread in one api call and flags where the lines disagree

i've been building nfl spread models on and off for about 3 seasons now. the modeling part is fun. the datacollection part almost made me quit twice.last year i was scraping draftkings, fanduel, and espn bet individually. three different page structures, threedifferent ways of formatting odds, and every few weeks one of them would change their layout and break myscraper. i spent more time fixing scrapers than actually working on the model.this season i switched to propz api which gives me every book's lines in one json call:npx skills add paperandbeyond23-gif/propzapi-skills --alli hit /v1/odds with league=NFL and market=spreads and get back every game with every book's spread andprice lined up in the same json shape. no scraping, no parsing html, no dealing with cloudflare blocks at 2am ona sunday.the part that actually matters for the model is comparing lines across books programmatically. when draftkingshas the chiefs at -3.5 but fanduel has them at -2.5, that's a full point of disagreement on the same game. i flagthose and check where my model lands. if my model says -2.8 and one book is offering -2.5, that's the bet.last season tracking this across 5 books i found about 12 games where the line disagreement was big enoughto matter. went 8-4 on those which is a small sample but the logic is sound. the books that move last tend tohave softer numbers.honestly the hardest part of this hobby was never the math. it was spending my sundays debugging scrapersinstead of watching football.

reddit.com
u/Termino1912 — 4 days ago