get_period_odds
Get first-half / first-five / first-set lines and live progress for an NFL, NCAAF, NBA, NCAAB, MLB, soccer, or tennis event. Joins persisted first_half_spreads / first_half_totals mains to this-event period scores (1H = Q1+Q2, NCAAB or soccer native 1H; MLB F5 = innings 1–5; tennis S1 = first-set games) and grades the period, not the full game. GET /odds / get_odds stay on moneyline/spread/total. Returns available:false with no charge if no period mains have been ingested. Other sports return HTTP 400.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event_id | Yes | Event id, from list_events, query_events, or search results. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clock | No | Game clock from the live score snapshot. | |
| sport | No | Sport slug: nfl, ncaaf, nba, ncaab, mlb, soccer, or tennis. | |
| period | No | Current period from the live score snapshot. | |
| status | No | Event status (scheduled, inprogress, delayed, final, …). | |
| event_id | No | Lumify event ID. | |
| available | No | False when no first-half / first-five / first-set mains have been ingested; period_odds is empty and the call isn't billed. | |
| period_odds | No | One row per (scope, market, line). Fields: scope (1H, F5, or S1), market (first_half_spreads / first_half_totals), line (home-perspective for spreads), home_score, away_score, current (totals only), current_margin (spreads only), pct_of_line, settleable, scope_complete, result (totals), home_result / away_result (spreads), books ({book_slug: {home, away} or {over, under}}). |