JUHE API Marketplace
Sports

MLB Records and Stats

An API for current and historical Major League Baseball statistics.

1
Endpoints
Status
Latency

CODE EXAMPLES

JavaScript (Fetch)

fetch('https://statsapi.mlb.com/api/v1/', {
  method: 'GET',
  headers: {},
})
  .then(response => response.json())
  .then(data => console.log(data));

cURL

curl -X GET 'https://statsapi.mlb.com/api/v1/'

MLB Records and Stats

0.0%
SPORTS

An API for current and historical Major League Baseball statistics.

PERFORMANCE TELEMETRY

RATE LIMITSCHECK DOCS

API TESTING INTERFACE

READY
SIGN IN TO EXECUTE TEST

Please sign in to test API endpoints

RESPONSE TELEMETRY

Execute API test to view telemetry data

Boost your free APIs with Wisdom Gate LLM API

Supporting GPT-5, Claude-4, DeepSeek v3, Gemini and more.

Enjoy a free trial and save 20%+ compared to official pricing.

MLB Records and Stats | Free API Explorer | JuheAPI