BaseballData API
Data
Coverage
MLB seasons held129MLB 2026 games2,469Postseason line scores40WBC and Premier12 games242Czech box scores1,430
See all coverage
DocsPricingStatus

Documentation/Account

GET /v1/usage | Baseball Data API

Your key's plan, calls today, limits, when they reset, and the days your plan can read. Not counted against your allowance.
GEThttps://api.baseballapi.net/v1/usage

Try it

Run calls the API with your key.
// The answer appears here.

Returns

FieldWhat it holds
planstring: the plan's name
calls_todayinteger: calls counted today (UTC)
per_dayinteger or null: calls allowed a day
per_minuteinteger or null: calls allowed a minute
resets_atstring: when today's allowance resets, ISO 8601 UTC
earliest_datestring or null: the earliest game day this plan can read (null: every season)

Example answer

The example is being collected; it appears here once the daily sample job has run.

Errors

Every endpoint can answer unauthorized, unknown_parameter, rate_limited, quota_exceeded and server_error. See Errors.