How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Major League Baseball Config API

Config elements

Major League Baseball Config API is one of 34 APIs that Major League Baseball publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Config. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 49 operations across 47 paths, and defines 47 schemas. It is described by OpenAPI 3.0.1, at version 2.0.0.

Requests are made against 4 base URLs: https://statsapi.mlb.com, https://beta-statsapi.mlb.com, https://qa-statsapi.mlb.com, http://localhost:8080.

49 operations 47 paths 47 schemas 47 GET2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.1
API Version
2.0.0
Servers
https://statsapi.mlb.com
https://beta-statsapi.mlb.com
https://qa-statsapi.mlb.com
http://localhost:8080
Resource Areas
1

Paths & Operations 49

Across 47 paths, the API surfaces 49 operations — 47 GET, 2 POST. Each is listed below with its method, path, parameters, and response codes.

Config 49

Config elements

GET
/api/v1/jobTypes
List all job types
jobTypes 1 param → 200
POST
/api/v1/jobTypes
updateJobTypes → 200
GET
/api/v1/gameStatus
List all status types
gameStatus → 200
POST
/api/v1/gameStatus
Clear all status types
updateGameStatuses → 200
GET
/api/v1/windDirection
List all wind direction options
windDirection 1 param → 200
GET
/api/v1/weatherTrajectoryConfidences
List all weather trajectories
weatherTrajectoryConfidences → 200
GET
/api/v1/violationTypes
View available violationType options
violationTypes → 200
GET
/api/v1/transactionTypes
List all hit trajectories
transactionTypes 1 param → 200
GET
/api/v1/trackingVersions
List all tracking versions
trackingVersions → 200
GET
/api/v1/trackingVendors
List all tracking vendors
trackingVendors → 200
GET
/api/v1/stats/search/stats
List stat search stats
statSearchStats 1 param → 200
GET
/api/v1/stats/search/params
List stat search parameters
statSearchParams 1 param → 200
GET
/api/v1/stats/search/groupByTypes
List groupBy types
statSearchGroupByTypes 1 param → 200
GET
/api/v1/stats/search/config
Stats Search Config Endpoint
statSearchConfig 2 params → 200
GET
/api/v1/statcastPositionTypes
List all statcast position types
statcastPositionTypes → 200
GET
/api/v1/statTypes
List all stat types
statTypes → 200
GET
/api/v1/statGroups
List all stat groups
statGroups → 200
GET
/api/v1/statFields
List all stat fields
statFields → 200
GET
/api/v1/standingsTypes
List all standings types
standingsTypes → 200
GET
/api/v1/sortModifiers
List all stat fields
aggregateSortEnum → 200
GET
/api/v1/sky
List all sky options
sky 1 param → 200
GET
/api/v1/situationCodes
List all situation codes
sitCodes 3 params → 200
GET
/api/v1/scheduleTypes
List all possible schedule types
scheduleTypes → 200
GET
/api/v1/scheduleEventTypes
List all event types
scheduleEventTypes 1 param → 200
GET
/api/v1/runnerDetailTypes
List runner detail types
runnerDetailTypes → 200
GET
/api/v1/ruleSettings
List all ruleSettings
ruleSettings → 200
GET
/api/v1/rosterTypes
List all possible roster types
rosterTypes → 200
GET
/api/v1/roofTypes
List all roof types
roofTypes → 200
GET
/api/v1/reviewReasons
List all replay review reasons
reviewReasons 1 param → 200
GET
/api/v1/positions
List all possible positions
positions → 200
GET
/api/v1/playerStatusCodes
List all player status codes
playerStatusCodes 1 param → 200
GET
/api/v1/platforms
List all possible platforms
platforms → 200
GET
/api/v1/pitchTypes
List all pitch classification types
pitchTypes 1 param → 200
GET
/api/v1/pitchCodes
List all pitch codes
pitchCodes 1 param → 200
GET
/api/v1/performerTypes
List all possible performer types
performerTypes → 200
GET
/api/v1/metrics
List all possible metrics
metrics → 200
GET
/api/v1/lookup/values/all
View all lookup values
getLookupValues → 200
GET
/api/v1/logicalEvents
List all logical event types
logicalEvents 1 param → 200
GET
/api/v1/leagueLeaderTypes
List all possible player league leader types
leagueLeaderTypes → 200
GET
/api/v1/languages
List all support languages
languages → 200
GET
/api/v1/hitTrajectories
List all hit trajectories
hitTrajectories 1 param → 200
GET
/api/v1/groupByTypes
List groupBy types
groupByTypes → 200
GET
/api/v1/gamedayTypes
List all gameday types
gamedayTypes 1 param → 200
GET
/api/v1/gameTypes
List all game types
gameTypes 3 params → 200
GET
/api/v1/fielderDetailTypes
List fielder detail types
fielderDetailTypes → 200
GET
/api/v1/eventTypes
List all event types
eventTypes 1 param → 200
GET
/api/v1/eventStatus
List all possible event status types
eventStatus → 200
GET
/api/v1/coachingVideoTypes
List all tracking vendors
coachingVideoTypes → 200
GET
/api/v1/baseballStats
List all baseball stats
baseballStats → 200

Schemas 47

The contract defines 47 schemas that model the data the API accepts and returns. The most detailed are RuleSettingsRestObject (18 properties), StatSearchStatRestObject (13 properties), StatSearchSitCodeRestObject (10 properties), StatSearchGroupByRestObject (9 properties). Each schema is shown below with its type and property counts.

OrganizationType
string
Platform
string
SituationCodeRestObject
object
9 properties
RestObject
object
1 property
RunnerDetailType
string
ScheduleEventTypeRestObject
object
3 properties
RoofTypeRestObject
object
3 properties
LeagueLeaderTypeRestObject
object
1 property
StatField
string
TrackingVendor
string
RuleSettingsRestObject
object
18 properties
StatGroup
string
GeneralLookupRestObject
object
4 properties
StatFields
object
5 properties
ViolationType
object
6 properties
AggregateSortTypeRestObject
object
3 properties
StreakLevelEnum
string
TrackingVersion
string
PersonStatGroupRestObject
object
4 properties
PerformerType
object
1 property
IGameStatus
object
4 properties
RuleSettingsOptionRestObject
object
7 properties
ScheduleTypeEnum
string
StatType
string
StatcastPositionRestObject
object
3 properties
StandingsType
string
StatSearchSitCodeRestObject
object
10 properties
JobTypeRestObject
object
4 properties
StatSearchPersonFilterRestObject
object
5 properties
GameTypeEnum
string
HighLowTypeEnum
string
BaseballPosition
string
Language
string
FilterLevelEnumRestObject
object
3 properties
FielderDetailType
string
FilterLevelEnum
string
WeatherTrajectoryConfidenceTypeRestObject
object
3 properties
StatSearchStatGroupRestObject
object
6 properties
RosterType
string
StatSearchGroupByRestObject
object
9 properties
StatSearchParamRestObject
object
8 properties
GroupByEnum
string
FilterLevels
object
7 properties
BaseballStatsTypeRestObject
object
8 properties
StatSearchConfigRestObject
object
8 properties
GenericLookup
string
StatSearchStatRestObject
object
13 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

major-league-baseball-config-api-openapi.yml Raw ↑

Other APIs Major League Baseball publishes across the network.

MLB Stats API
MLB Data Lookup Service API
MLB Statcast (Baseball Savant)
Major League Baseball Analytics API
Major League Baseball Attendance API
Major League Baseball Awards API
Major League Baseball Bat Tracking API
Major League Baseball Biomechanics API
Major League Baseball Broadcast API
Major League Baseball Conference API
Major League Baseball Division API
Major League Baseball Draft API
Where this information came from

This is an independent, third-party profile of Major League Baseball Config API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.