curl --request POST \
--url https://api.aisa.one/apis/v1/baseballsavant-mlb-com/baseball-statcast/get-leaderboard \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"board": "expected_statistics",
"season": 2026
}
'import requests
url = "https://api.aisa.one/apis/v1/baseballsavant-mlb-com/baseball-statcast/get-leaderboard"
payload = {
"board": "expected_statistics",
"season": 2026
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({board: 'expected_statistics', season: 2026})
};
fetch('https://api.aisa.one/apis/v1/baseballsavant-mlb-com/baseball-statcast/get-leaderboard', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/baseballsavant-mlb-com/baseball-statcast/get-leaderboard",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'board' => 'expected_statistics',
'season' => 2026
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/baseballsavant-mlb-com/baseball-statcast/get-leaderboard"
payload := strings.NewReader("{\n \"board\": \"expected_statistics\",\n \"season\": 2026\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/baseballsavant-mlb-com/baseball-statcast/get-leaderboard")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"board\": \"expected_statistics\",\n \"season\": 2026\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/baseballsavant-mlb-com/baseball-statcast/get-leaderboard")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"board\": \"expected_statistics\",\n \"season\": 2026\n}"
response = http.request(request)
puts response.read_body{
"board": "expected_statistics",
"columns": [
"year",
"pa",
"bip",
"ba",
"est_ba",
"est_ba_minus_ba_diff",
"slg",
"est_slg",
"est_slg_minus_slg_diff",
"woba",
"est_woba",
"est_woba_minus_woba_diff"
],
"count": 5,
"min": "q",
"next_cursor": "5",
"observed_at_ms": 1791156867556,
"player_type": "batter",
"rows": [
{
"metrics": {
"ba": 0.28,
"bip": 444,
"est_ba": 0.264,
"est_ba_minus_ba_diff": 0.016000000000000014,
"est_slg": 0.508,
"est_slg_minus_slg_diff": 0.061999999999999944,
"est_woba": 0.374,
"est_woba_minus_woba_diff": 0.026000000000000023,
"pa": 726,
"slg": 0.57,
"woba": 0.4,
"year": 2026
},
"name": "Crow-Armstrong, Pete",
"player_id": 691718
},
{
"metrics": {
"ba": 0.241,
"bip": 472,
"est_ba": 0.249,
"est_ba_minus_ba_diff": -0.008000000000000007,
"est_slg": 0.39,
"est_slg_minus_slg_diff": -0.008000000000000007,
"est_woba": 0.336,
"est_woba_minus_woba_diff": -0.007000000000000006,
"pa": 717,
"slg": 0.382,
"woba": 0.329,
"year": 2026
},
"name": "Herrera, Iván",
"player_id": 671056
},
{
"metrics": {
"ba": 0.242,
"bip": 440,
"est_ba": 0.233,
"est_ba_minus_ba_diff": 0.00899999999999998,
"est_slg": 0.402,
"est_slg_minus_slg_diff": -0.009000000000000008,
"est_woba": 0.331,
"est_woba_minus_woba_diff": 0.0020000000000000018,
"pa": 710,
"slg": 0.393,
"woba": 0.333,
"year": 2026
},
"name": "Busch, Michael",
"player_id": 683737
},
{
"metrics": {
"ba": 0.278,
"bip": 509,
"est_ba": 0.264,
"est_ba_minus_ba_diff": 0.014000000000000012,
"est_slg": 0.445,
"est_slg_minus_slg_diff": -0.015000000000000013,
"est_woba": 0.355,
"est_woba_minus_woba_diff": 0.0020000000000000018,
"pa": 707,
"slg": 0.43,
"woba": 0.357,
"year": 2026
},
"name": "McGonigle, Kevin",
"player_id": 805808
},
{
"metrics": {
"ba": 0.289,
"bip": 503,
"est_ba": 0.296,
"est_ba_minus_ba_diff": -0.007000000000000006,
"est_slg": 0.5,
"est_slg_minus_slg_diff": -0.030000000000000027,
"est_woba": 0.379,
"est_woba_minus_woba_diff": -0.02100000000000002,
"pa": 704,
"slg": 0.47,
"woba": 0.358,
"year": 2026
},
"name": "Tatis Jr., Fernando",
"player_id": 665487
}
],
"season": 2026,
"source_url": "https://baseballsavant.mlb.com/leaderboard/expected_statistics?type=batter&year=2026&position=&team=&filterType=bip&min=q&sort=0&sortDir=asc&csv=true",
"total": 246
}Get leaderboard
Season-level rankings across players; take player_id into the player functions. Boards not listed here are not supported.
curl --request POST \
--url https://api.aisa.one/apis/v1/baseballsavant-mlb-com/baseball-statcast/get-leaderboard \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"board": "expected_statistics",
"season": 2026
}
'import requests
url = "https://api.aisa.one/apis/v1/baseballsavant-mlb-com/baseball-statcast/get-leaderboard"
payload = {
"board": "expected_statistics",
"season": 2026
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({board: 'expected_statistics', season: 2026})
};
fetch('https://api.aisa.one/apis/v1/baseballsavant-mlb-com/baseball-statcast/get-leaderboard', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/baseballsavant-mlb-com/baseball-statcast/get-leaderboard",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'board' => 'expected_statistics',
'season' => 2026
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/baseballsavant-mlb-com/baseball-statcast/get-leaderboard"
payload := strings.NewReader("{\n \"board\": \"expected_statistics\",\n \"season\": 2026\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/baseballsavant-mlb-com/baseball-statcast/get-leaderboard")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"board\": \"expected_statistics\",\n \"season\": 2026\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/baseballsavant-mlb-com/baseball-statcast/get-leaderboard")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"board\": \"expected_statistics\",\n \"season\": 2026\n}"
response = http.request(request)
puts response.read_body{
"board": "expected_statistics",
"columns": [
"year",
"pa",
"bip",
"ba",
"est_ba",
"est_ba_minus_ba_diff",
"slg",
"est_slg",
"est_slg_minus_slg_diff",
"woba",
"est_woba",
"est_woba_minus_woba_diff"
],
"count": 5,
"min": "q",
"next_cursor": "5",
"observed_at_ms": 1791156867556,
"player_type": "batter",
"rows": [
{
"metrics": {
"ba": 0.28,
"bip": 444,
"est_ba": 0.264,
"est_ba_minus_ba_diff": 0.016000000000000014,
"est_slg": 0.508,
"est_slg_minus_slg_diff": 0.061999999999999944,
"est_woba": 0.374,
"est_woba_minus_woba_diff": 0.026000000000000023,
"pa": 726,
"slg": 0.57,
"woba": 0.4,
"year": 2026
},
"name": "Crow-Armstrong, Pete",
"player_id": 691718
},
{
"metrics": {
"ba": 0.241,
"bip": 472,
"est_ba": 0.249,
"est_ba_minus_ba_diff": -0.008000000000000007,
"est_slg": 0.39,
"est_slg_minus_slg_diff": -0.008000000000000007,
"est_woba": 0.336,
"est_woba_minus_woba_diff": -0.007000000000000006,
"pa": 717,
"slg": 0.382,
"woba": 0.329,
"year": 2026
},
"name": "Herrera, Iván",
"player_id": 671056
},
{
"metrics": {
"ba": 0.242,
"bip": 440,
"est_ba": 0.233,
"est_ba_minus_ba_diff": 0.00899999999999998,
"est_slg": 0.402,
"est_slg_minus_slg_diff": -0.009000000000000008,
"est_woba": 0.331,
"est_woba_minus_woba_diff": 0.0020000000000000018,
"pa": 710,
"slg": 0.393,
"woba": 0.333,
"year": 2026
},
"name": "Busch, Michael",
"player_id": 683737
},
{
"metrics": {
"ba": 0.278,
"bip": 509,
"est_ba": 0.264,
"est_ba_minus_ba_diff": 0.014000000000000012,
"est_slg": 0.445,
"est_slg_minus_slg_diff": -0.015000000000000013,
"est_woba": 0.355,
"est_woba_minus_woba_diff": 0.0020000000000000018,
"pa": 707,
"slg": 0.43,
"woba": 0.357,
"year": 2026
},
"name": "McGonigle, Kevin",
"player_id": 805808
},
{
"metrics": {
"ba": 0.289,
"bip": 503,
"est_ba": 0.296,
"est_ba_minus_ba_diff": -0.007000000000000006,
"est_slg": 0.5,
"est_slg_minus_slg_diff": -0.030000000000000027,
"est_woba": 0.379,
"est_woba_minus_woba_diff": -0.02100000000000002,
"pa": 704,
"slg": 0.47,
"woba": 0.358,
"year": 2026
},
"name": "Tatis Jr., Fernando",
"player_id": 665487
}
],
"season": 2026,
"source_url": "https://baseballsavant.mlb.com/leaderboard/expected_statistics?type=batter&year=2026&position=&team=&filterType=bip&min=q&sort=0&sortDir=asc&csv=true",
"total": 246
}Request contract
- Method and path: POST /apis/v1/baseballsavant-mlb-com/baseball-statcast/get-leaderboard
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/baseballsavant-mlb-com/baseball-statcast/get-leaderboard
{
"operationId": "baseballsavant-mlb-com.baseball-statcast.get-leaderboard",
"method": "POST",
"path": "/apis/v1/baseballsavant-mlb-com/baseball-statcast/get-leaderboard",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"board": "expected_statistics",
"limit": 5,
"season": 2026
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"board": {
"description": "Which leaderboard.\n\nProvider reference: allowed values [\"expected_statistics\", \"statcast\", \"sprint_speed\", \"outs_above_average\", \"pitch_arsenals\"].",
"type": "string"
},
"cursor": {
"description": "Continuation cursor from a previous response's `next_cursor`; send it with the same other inputs to get the next page.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"limit": {
"default": 50,
"description": "Maximum rows per page (default 50, max 1000).\n\nProvider reference: minimum 1; maximum 1000; default 50.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"max": 1000,
"min": 1
}
},
"min": {
"description": "Qualification threshold as the site accepts it: `q` for qualified (default on `expected_statistics`, `statcast`, `outs_above_average`) or a number (plate appearances / batted balls / competitive runs / pitches; default 10 on `sprint_speed`, 100 on `pitch_arsenals`). Pattern: ^(q|[0-9]{1,5})$.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"player_type": {
"default": "batter",
"description": "`batter` (default) or `pitcher`; applies to `expected_statistics` and `statcast` only.\n\nProvider reference: allowed values [\"batter\", \"pitcher\"]; default \"batter\".",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body",
"oneOf": [
"batter",
"pitcher"
]
}
},
"season": {
"description": "Season year. Statcast pitch tracking starts in 2015; the pitch-level search covers 2008 onward.\n\nProvider reference: minimum 2008; maximum 2100.",
"type": "number"
}
},
"required": [
"board",
"season"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
Response
One Baseball Savant leaderboard as the site's CSV export (/leaderboard/{board}?...&csv=true): expected_statistics (xBA/xSLG/xwOBA, batters or pitchers), statcast (exit velocity and barrels, batters or pitchers), sprint_speed, outs_above_average (fielders) and pitch_arsenals (average velocity per pitch type, pitchers). All qualified rows are fetched and paged with limit/cursor; columns names the board-specific metric columns.
The response contains the tool result directly.
The provider identifies rows as the primary payload key.
| Documented field | Provider type | Description |
|---|---|---|
metrics | object | Every other CSV column of the board, keyed by the site's column name (e.g. est_woba, sprint_speed, outs_above_average, ff_avg_speed); numeric cells are numbers, blank cells null, anything else a string. Column names are listed in columns. |
name | string | Last, First as the board prints it. |
player_id | number | MLBAM player id. |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.