ParlayAPI Field Guides

Can this sports-data row go in your report?

A price can look plausible and still belong to the wrong game. Start with the report you promised, then decide whether the evidence supports it. These 25 fictional exercises cover fixture identity, market rules, timing and reporting. All field names are illustrative.

Download the 75-record practice packet. It includes a blank answer sheet, a Python grader that runs offline and an answer key. For a blind review, start with the packet. The examples below show the reference decision for each variation.

Build a review sheet for your role. Choose a case, compare its records and download the matching rubric, diagram or handoff.

Event and identity

The return fixture

Select Juniper at Alder on April 18 for the report. Both clubs also meet April 11.

Inspect the evidence and decisions
{"away":"Juniper","home":"Alder","date":"2027-04-18"}

Use this record. The teams and requested date match.

If date is "2027-04-11", reject the record for this task. The same opponents played on a different day.

If date is missing, hold the decision. The return fixture cannot be identified without its date or a verified equivalent ID.

Two players named J. Lee

Attach the row to Jordan Lee, roster ID R17. Jamie Lee is R34 on the same team.

Inspect the evidence and decisions
{"fixture":"AL17","label":"J. Lee","market":"points","roster_id":"R17"}

Use this record. The verified roster ID resolves to Jordan.

If roster_id is "R34", reject the record for this task. R34 identifies Jamie.

If roster_id is missing, hold the decision. The abbreviation and team cannot distinguish the players.

A rescheduled event

Build an alert for the rescheduled April 22 19:00 UTC start of E19. The old start was April 21.

Inspect the evidence and decisions
{"event_id":"E19","start_utc":"2027-04-22T19:00:00Z"}

Use this record. Event ID and the revised schedule match.

If start_utc is "2027-04-21T19:00:00Z", reject the record for this task. The ID survived the move, but the time belongs to the old schedule.

If start_utc is missing, hold the decision. Recheck the current start before emitting a time-based alert.

Home label at a neutral site

Classify E21 as neutral-site. The competition lists Alder as nominal home even at a neutral site.

Inspect the evidence and decisions
{"event_id":"E21","nominal_home":"Alder","venue_role":"neutral"}

Use this record. The venue role explicitly establishes neutral-site play.

If venue_role is "home_ground", reject the record for this task. The venue is classified as a home ground.

If venue_role is missing, hold the decision. Nominal home does not identify where the game was played.

The evening game

Match the 19:10 UTC game in a pair of games with the same clubs and date.

Inspect the evidence and decisions
{"clubs":["Larch","Bay"],"date":"2027-05-02","start_utc":"19:10"}

Use this record. The later start uniquely identifies the requested game in this pair.

If start_utc is "13:10", reject the record for this task. 13:10 identifies the other game.

If start_utc is missing, hold the decision. Date and clubs match both games. Obtain a start time or a mapped game ID.

Senior league or development league?

Report senior league matches. Two competitions share the same sport and abbreviated club names.

Inspect the evidence and decisions
{"sport":"basketball","clubs":["Ald","Bay"],"competition_id":"LEAGUE-S"}

Use this record. LEAGUE-S is the senior competition specified for this example.

If competition_id is "LEAGUE-D", reject the record for this task. LEAGUE-D identifies the development competition.

If competition_id is missing, hold the decision. Sport and club labels cannot establish the competition.

Same brand, different region

Select Northbook prices offered in fictional jurisdiction East for game E38.

Inspect the evidence and decisions
{"event_id":"E38","brand":"Northbook","jurisdiction":"East"}

Use this record. Both the brand and regional offer match.

If jurisdiction is "West", reject the record for this task. The West offer is outside the requested region.

If jurisdiction is missing, hold the decision. A shared brand name leaves the offer jurisdiction unresolved.

Market and price

A two-way quote

Produce a two-sided Harbor versus Valley comparison using positive decimal prices from one source and snapshot.

Inspect the evidence and decisions
{"fixture":"HV09","source":"North","snapshot":"s14","harbor":1.92,"valley":1.98}

Use this record. Both sides have usable positive decimal prices from the same snapshot.

If valley is 0, reject the record for this task. Zero is an invalid decimal price.

If valley is missing, hold the decision. Only Harbor has a price. A fair two-sided comparison still needs Valley.

The third outcome

Report a three-way regulation market for Harbor versus Valley, including the draw price.

Inspect the evidence and decisions
{"fixture":"HV09","market":"regulation_1x2","home":2.1,"away":3.6,"draw":3.3}

Use this record. All three positive decimal prices belong to the specified regulation market.

If draw is -1, reject the record for this task. The draw value is outside the valid decimal price range.

If draw is missing, hold the decision. Only home and away are priced. The draw price is missing from the three-way report.

The missing threshold

Use the full-game over 19.5 points offer for R17.

Inspect the evidence and decisions
{"roster_id":"R17","period":"full_game","side":"over","price":1.91,"line":19.5}

Use this record. The threshold matches the requested 19.5.

If line is 20.5, reject the record for this task. 20.5 describes a different selection.

If line is missing, hold the decision. A price without its threshold cannot identify the offer.

Which total is the main line?

Select the explicitly designated main total at 43.5. An alternate row is 45.5.

Inspect the evidence and decisions
{"fixture":"BE04","offer":"main","total":43.5}

Use this record. Both the main designation and declared threshold match.

If total is 45.5, reject the record for this task. The threshold conflicts with the one requested.

If total is missing, hold the decision. A main-line label does not establish the missing threshold.

The first half

Return the first-half home spread for fixture CN08.

Inspect the evidence and decisions
{"fixture":"CN08","side":"home","line":-1.5,"period":"first_half"}

Use this record. The row names the required first half.

If period is "full_game", reject the record for this task. The full-game row settles over a different period.

If period is missing, hold the decision. The spread value cannot reveal its settlement period.

One team or the whole game?

Find a total for Alder alone. A game total is also present in this feed.

Inspect the evidence and decisions
{"fixture":"AL21","subject":"Alder","line":23.5,"market":"team_total"}

Use this record. The market and subject identify an Alder team total.

If market is "game_total", reject the record for this task. A game total includes both teams.

If market is missing, hold the decision. A team label on the row does not establish team-total settlement.

A cached price after suspension

Publish an available selection from fixture CA03. The source keeps its last price during suspension.

Inspect the evidence and decisions
{"fixture":"CA03","price":2.05,"status":"available"}

Use this record. The source marks this priced selection available.

If status is "suspended", reject the record for this task. The retained price belongs to a suspended selection.

If status is missing, hold the decision. A price value alone cannot establish current availability.

A line without a price

Supply an individual decimal price for R40 over 17.5 points. A DFS projection may contain only a multiplier.

Inspect the evidence and decisions
{"roster_id":"R40","line":17.5,"individual_decimal_price":1.93,"slip_multiplier":2.0}

Use this record. The individual decimal price is present for the requested line.

If individual_decimal_price is 0, reject the record for this task. Zero is an invalid individual decimal price.

If individual_decimal_price is missing, hold the decision. Only the line and slip multiplier remain. Neither supplies an individual price.

Two books with different rules

Compare a North regulation winner with a South price under the same regulation settlement rule.

Inspect the evidence and decisions
{"fixture":"E70","north_rule":"regulation_only","south_rule":"regulation_only"}

Use this record. Both prices use the same regulation rule.

If south_rule is "includes_overtime", reject the record for this task. Including overtime changes the outcome space.

If south_rule is missing, hold the decision. The second market name alone cannot establish its settlement treatment.

Time and continuity

Which clock sets freshness?

At 14:00:10 UTC, use a quote only if its source observation is at most five seconds old. The collector received the row at 14:00:09.

Inspect the evidence and decisions
{"quote":"Q7","received_utc":"14:00:09","source_observed_utc":"14:00:07"}

Use this record. The source observation is three seconds old.

If source_observed_utc is "13:59:55", reject the record for this task. The observed price is fifteen seconds old.

If source_observed_utc is missing, hold the decision. Recent receipt alone cannot establish source observation age.

A quote available by the cutoff

Rebuild the report at 15:00:00 UTC using only quotes already received by the collector.

Inspect the evidence and decisions
{"fixture":"E44","source_utc":"14:59:58","received_utc":"14:59:59"}

Use this record. The quote was in the collector before the decision.

If received_utc is "15:00:02", reject the record for this task. The quote arrived after the cutoff.

If received_utc is missing, hold the decision. An earlier source stamp does not establish when the collector knew the price.

What qualifies as closing?

Select the last available pre-start quote for E50 under a documented close rule. A latest archive row is also available.

Inspect the evidence and decisions
{"fixture":"E50","price":1.95,"selection_rule":"last_available_before_start"}

Use this record. The recorded selection rule implements the declared close.

If selection_rule is "most_recent_in_archive", reject the record for this task. Latest in the archive can have different timing and scope.

If selection_rule is missing, hold the decision. A price without a verified close rule is insufficient for the closing study.

The missing messages

Export the complete change history through sequence 105. Messages 102 and 103 were missed during disconnection.

Inspect the evidence and decisions
{"last_before_disconnect":101,"first_after_reconnect":104,"recovery":"replayed_102_and_103"}

Use this record. The missing sequence interval was replayed.

If recovery is "only_snapshot_105", reject the record for this task. A current snapshot cannot reconstruct intermediate changes.

If recovery is missing, hold the decision. Continuity remains unknown until the recovery evidence accounts for the missing interval.

Scope and reporting

One empty query

Answer whether the checked E60, Northbook, full-game points query returned a row at 09:00. Both empty and positive scoped answers are useful.

Inspect the evidence and decisions
{"at_utc":"09:00","query":"E60/Northbook/full_game_points","rows":[]}

Use this record. The checked query returned zero rows. Broader availability remains unknown.

If query is "E60/Southbook/full_game_points", reject the record for this task. The empty response came from a different bookmaker.

If query is missing, hold the decision. Without the effective query, an empty list cannot answer the scoped question.

A final score with an open result

Use records settled under the named full-game grading rule for the report.

Inspect the evidence and decisions
{"fixture":"E75","rule":"full_game","score":[88,84],"settlement_status":"settled"}

Use this record. The specified rule has a settled result.

If settlement_status is "pending", reject the record for this task. A pending grade cannot be used as settled.

If settlement_status is missing, hold the decision. The score alone does not prove settlement under the selected rule.

A week spans two time zones

Assign two fictional competitions to the correct local reporting days for the weekend of June 5 and 6. Coast and Metro both start at 01:00 UTC on June 6. Coast reports in New York and Metro reports in Paris. Require the export to retain both timezone identifiers and dates.

Inspect the evidence and decisions
{"start_utc":"2027-06-06T01:00:00Z","competitions":["Coast","Metro"],"local_schedule":"Coast: America/New_York, June 5. Metro: Europe/Paris, June 6."}

Use this record. The Coast event falls on Saturday evening in New York. The Metro event falls on Sunday morning in Paris. Both timezone identifiers and local dates were retained.

If local_schedule is "Coast: America/New_York, June 6. Metro: Europe/Paris, June 6.", reject the record for this task. The Coast event is assigned to Sunday although its stated UTC instant is Saturday evening in New York.

If local_schedule is missing, hold the decision. The export lacks its competition-local schedule. Calculate and retain both dated entries with their named timezones before accepting it.

Describe a missing cell

Write accessible text for a table with North at 1.95 and a missing South value. Preserve the missing value explicitly.

Inspect the evidence and decisions
{"north":1.95,"south":null,"caption":"North 1.95. South price unavailable."}

Use this record. The text preserves the observed price and states what is missing.

If caption is "North 1.95. South 0.00.", reject the record for this task. The text converts missing data into an observed zero.

If caption is missing, hold the decision. The requested text interpretation is missing.

Can another analyst reproduce the export?

Reproduce export X90 for E90 at North. Include first-half totals received by 18:00:00 UTC on October 9. Retain the exact market filter and receipt-time cutoff alongside the export.

Inspect the evidence and decisions
{"export":"X90","fixture":"E90","book":"North","date_utc":"2027-10-09","market":"first_half_total","cutoff_utc":"2027-10-09T18:00:00Z","received_utc":"2027-10-09T17:59:46Z"}

Use this record. The receipt precedes the saved cutoff and the retained first-half market matches the export brief.

If market is "full_game_total", reject the record for this task. The filter targets a different market.

If market is missing, hold the decision. The receipt is eligible by time, but the missing market filter prevents reproducibility.

When you can name the required fields, try a synthetic player-points response. To check a real selection for your project, set up your own API account.