Properties
| Name | Type | Description |
|---|---|---|
| PitchID | integer | The unique ID of the pitch |
| PlayID | integer | The unique ID of the play assigned by SportsDataIO |
| PitchNumberThisAtBat | integernull | The number of pitches in the at bat in which the pitch occurred. |
| PitcherID | integernull | The PlayerID of the pitcher who threw the pitch |
| HitterID | integernull | The unique PlayerID of the hitter who represents the play |
| Outs | integernull | The number of outs when the pitch occurred |
| BallsBeforePitch | integernull | The number of balls the pitcher has thrown before the current pitch |
| StrikesBeforePitch | integernull | The number of strikes the pitcher has thrown before the current pitch |
| Strike | booleannull | Whether the pitch was a strike (true/false) |
| Ball | booleannull | Whether the pitch was a ball (true/false) |
| Foul | booleannull | Whether the pitch was hit foul (true/false) |
| Swinging | booleannull | Whether the hitter struck out swinging (true/false) |
| Looking | booleannull | Whether or not the hitter struck out looking (returns true/false) |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Pitch",
"title": "Pitch",
"properties": {
"PitchID": {
"type": "integer",
"description": "The unique ID of the pitch"
},
"PlayID": {
"type": "integer",
"description": "The unique ID of the play assigned by SportsDataIO"
},
"PitchNumberThisAtBat": {
"type": [
"integer",
"null"
],
"description": "The number of pitches in the at bat in which the pitch occurred."
},
"PitcherID": {
"type": [
"integer",
"null"
],
"description": "The PlayerID of the pitcher who threw the pitch"
},
"HitterID": {
"type": [
"integer",
"null"
],
"description": "The unique PlayerID of the hitter who represents the play"
},
"Outs": {
"type": [
"integer",
"null"
],
"description": "The number of outs when the pitch occurred"
},
"BallsBeforePitch": {
"type": [
"integer",
"null"
],
"description": "The number of balls the pitcher has thrown before the current pitch"
},
"StrikesBeforePitch": {
"type": [
"integer",
"null"
],
"description": "The number of strikes the pitcher has thrown before the current pitch"
},
"Strike": {
"type": [
"boolean",
"null"
],
"description": "Whether the pitch was a strike (true/false)"
},
"Ball": {
"type": [
"boolean",
"null"
],
"description": "Whether the pitch was a ball (true/false)"
},
"Foul": {
"type": [
"boolean",
"null"
],
"description": "Whether the pitch was hit foul (true/false)"
},
"Swinging": {
"type": [
"boolean",
"null"
],
"description": "Whether the hitter struck out swinging (true/false)"
},
"Looking": {
"type": [
"boolean",
"null"
],
"description": "Whether or not the hitter struck out looking (returns true/false)"
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/sportsdataio-pitch"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.