Pinnacle baseball / MLB odds API
Answer: sport slug baseball. REST: /v1/odds?sport=baseball. WebSocket subscribe "sports":["baseball"] on Builder (€99/mo). MLB shares the slug with other baseball leagues — use league.name to filter.
REST#
export PINNFEED_KEY="ps_live_..."
curl -sS -H "x-api-key: $PINNFEED_KEY" \
"https://pinnfeed.io/v1/odds?sport=baseball&market=moneyline,spread,total&main=true&live=false&limit=30"
Spreads on baseball are the run line. Team totals use market=team_total.
WebSocket#
{
"type": "subscribe",
"sports": ["baseball"],
"markets": ["moneyline", "spread", "total", "team_total"],
"live": true,
"main": true
}
Closing lines#
After first pitch, Builder can read GET /v1/closing/{eventId} for CLV. See closing-line answer.
Trial CTA#
Pricing. 3-day trial on paid plans; card required, charged after day 3 unless cancelled.
Related: MLB CLV tracker, Baseball run line API, historical MLB odds.
Questions people ask#
Is the slug mlb?#
No — baseball. Filter MLB via league.name.
Does Free include baseball?#
Pick it as one of your two Free sports in the dashboard, or upgrade.
Is this educational content for adults?#
Yes (18+).