Explore the sports data API quickstart
Concepts

The shared schema

Follow the relationships between a sport, a competition, an event, and its participants.

Place an event on the calendar

A sport defines the discipline. A competition groups events under a particular league or tournament. A season identifies an edition of that competition. A stage describes a part of the edition, such as a group stage or a postseason round.

A season can cross a calendar year. Use the competition's season identifier to group games when a report covers one edition of a league.

Identify the participants

An event is one scheduled contest. A participant is an entry in that contest. A team event can reference two organizations. An individual event can reference people, and a field event can involve many entries.

In the basketball example, event evt_example_001 belongs to competition cmp_nba. The organizations in the example are org_bos and org_nyk. Their home and away roles belong to that event.

Add detail when available

A scoreboard can use the event's identity, participants, state, and score. A box score adds sport-specific columns. A play-by-play view orders actions within the contest. Check the competition's coverage level when choosing a detail view. Coverage levels