Integration GuidesDocs
Coverage MatrixDocumentationChange LogLog InContact Us
Docs

Sport Event Mappings

Global Baseball Sport Event Mappings provides game id mapping between the Global Baseball API and the MLB API.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
⏱️

Update Frequency

TTL / Cache: 5 minutes

Recommended polling cadences for every feed are on the Update Frequencies chart of the Global Baseball Integration Guide.

📘

Resolving IDs Across Products

Learn how to use the Sport Event Mappings feed to map game IDs between the Global Baseball API and the MLB API in our ID Handling integration scenario.


Data Points

Mapping
AttributeParent ElementTypeDescription
external_idmappingStringUnique League Specific ID of a sport event

ex. 7bcf3fe5-c764-4e01-a9c4-4336d9dbe4df
idmappingStringUnique General Sport ID of a sport event

ex. sr:sport_event:49368837
Path Params
string
enum
required
Defaults to baseball

Sport type

baseball, softball

Allowed:
string
enum
required
Defaults to trial

The access level of your API key

trial, production

Allowed:
string
enum
required
Defaults to en

2-letter code for supported languages

en (English), es (Spanish), ja (Japanese), ko (Korean), zh (Chinese - simplified), zht (Chinese - traditional)

The above codes are the fully supported languages for this API. Click here for valid language codes and a tabular list of available languages per competition.

Allowed:
string
enum
required
Defaults to json

Format returned

json, xml

Allowed:
Query Params
int32

The number of items to skip before starting to collect the result set.
Default: 0

Example: start=1000 to receive a 2nd page of results (if necessary)

Note: You may alternatively use offset

int32

The number of items to return.
Maximum: 1000
Default value: 1000

Example: limit=200

Note: Pagination will often be required to pull all data within this feed. By default, the feed will return 1,000 sport event mappings.

Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json