Baseball APIs#
The Baseball APIs include data for the following leagues:
- MLB (League UUID:
e988f0c0-9903-11ed-acea-0698037d5bb6
)
Be sure you read the Getting Started guide for access to the apis.
Your API connection is secured by an API key. This key is secret and must not be shared with external parties or users. Always check to be sure the code you write does not inadvertently expose your API key.
Danger
The API key is a secret key associated with your account. Do not share it or expose it in public web pages. Doing so would allow anyone to make queries as if they were you. If you think your API key may have been compromised, contact your Quarter4 Account representative immediately to disable your current key and receive a new key.
To load data and distribute it to your users, you must:
- Query the Quarter4 API on a server-to-server layer of your application,
- store the result in a local database or similar storage system,
- and then send information to your users as they request it.
Tip
Please review the full Integration Guide to understand how to best formulate your queries and optimize requests.
Interactive Baseball Documentation#
The openAPI v3 spec is available here: https://api.quarter4.io/baseball/docs.json?spec_version=3
You can use the following interactive documentation to query the API manually using your trial or production API keys.