MLB API

API ID 15957

Dados de beisebol: jogos e placares ao vivo, súmulas, jogada a jogada lance a lance, probabilidade de vitória, equipes, elencos, estatísticas dos jogadores, classificações, líderes, draft e notícias.

Documentação da API

Endpoints

Requisição
Retorna o placar de cada equipe: totais de rebatidas, arremessos e defesa de cada equipe, todos os jogadores com suas posições, ordem de rebatida e estatísticas do jogo e da temporada, os rebatedores, arremessadores, reservas e bullpen, as observações sobre rebatidas e defesa e as informações do jogo (árbitros, clima, duração, público)
Endpoint ID: 44465
GET https://zylalabs.com/api/15957/mlb+api/44465/get+mlb+game+boxscore
PARÂMETROS DE ENTRADA

Obter boxscore do jogo da MLB — Recursos do endpoint

Objeto Descrição
game_id Obrigatório Game id (e.g. "849815"). Use the /game/list endpoint to list valid values.

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

game_id
RESPOSTA DE EXEMPLO DA API
JSON
{
    "teams": {
        "away": {
            "team": {
                "springLeague": {
                    "id": 114,
                    "name": "Cactus League",
                    "abbreviation": "CL"
                },
                "allStarStatus": "N",
                "id": 114,
                "name": "Cleveland Guardians"
            },
            "teamStats": {
                "batting": {
                    "flyOuts": 10,
                    "groundOuts": 6,
                    "airOuts": 16,
                    "runs": 3,
                    "doubles": 2,
                    "triples": 0,
                    "homeRuns": 0,
                    "strikeOuts": 4,
                    "baseOnBalls": 5,
                    "intentionalWalks": 0,
                    "hits": 7,
                    "hitByPitch": 1,
                    "avg": ".234",
                    "atBats": 33,
                    "obp": ".298",
                    "slg": ".325",
                    "ops": ".623",
                    "caughtStealing": 0,
                    "stolenBases": 0,
                    "stolenBasePercentage": ".---",
                    "groundIntoDoublePlay": 1,
                    "groundIntoTriplePlay": 0,
                    "plateAppearances": 39,
                    "totalBases": 9,
                    "rbi": 3,
                    "leftOnBase": 18,
                    "sacBunts": 0,
                    "sacFlies": 0,
                    "catchersInterference": 0,
                    "pickoffs": 0,
                    "atBatsPerHomeRun": "-.--",
                    "popOuts": 4,
                    "lineOuts": 2
                },
                "pitching": {
                    "flyOuts": 5,
                    "groundOuts": 11,
                    "airOuts": 10,
                    "runs": 7,
                    "doubles": 1,
                    "triples": 0,
                    "homeRuns": 2,
                    "strikeOuts": 3,
                    "baseOnBalls": 6,
                    "intentionalWalks": 0,
                    "hits": 7,
                    "hitByPitch": 2,
                    "atBats": 30,
                    "obp": ".385",
                    "caughtStealing": 0,
                    "stolenBases": 2,
                    "stolenBasePercentage": "1.000",
                    "caughtStealingPercentage": ".000",
                    "numberOfPitches": 124,
                    "era": "3.63",
                    "inningsPitched": "8.0",
                    "saveOpportunities": 0,
                    "earnedRuns": 7,
                    "whip": "1.21",
                    "battersFaced": 39,
                    "outs": 24,
                    "completeGames": 0,
                    "shutouts": 0,
                    "pitchesThrown": 124,
                    "balls": 53,
                    "strikes": 71,
                    "strikePercentage": ".570",
                    "hitBatsmen": 2,
                    "balks": 0,
                    "wildPitches": 0,
                    "pickoffs": 0,
                    "groundOutsToAirouts": "1.10",
                    "rbi": 7,
                    "pitchesPerInning": "15.50",
                    "runsScoredPer9": "7.88",
                    "homeRunsPer9": "2.25",
                    "inheritedRunners": 0,
                    "inheritedRunnersScored": 0,
                    "catchersInterference": 0,
                    "sacBunts": 0,
                    "sacFlies": 1,
                    "passedBall": 0,
                    "popOuts": 2,
                    "lineOuts": 3
                },
                "fielding": {
                    "caughtStealing": 0,
                    "stolenBases": 2,
                    "stolenBasePercentage": "1.000",
                    "caughtStealingPercentage": ".---",
                    "assists": 7,
                    "putOuts": 24,
                    "errors": 0,
                    "chances": 31,
                    "passedBall": 0,
                    "pickoffs": 0
                }
            }
        }
    }
}
Obter boxscore do jogo da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44465/get+mlb+game+boxscore?game_id=849815' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna a aparição no bastão em andamento em um jogo ao vivo (ou a última de um jogo encerrado): rebatedor, arremessador, contagem, corredores, todos os arremessos até o momento e as zonas quentes e frias do rebatedor e do arremessador
Endpoint ID: 44466
GET https://zylalabs.com/api/15957/mlb+api/44466/get+mlb+game+current+play
PARÂMETROS DE ENTRADA

Obter a jogada atual do jogo da MLB — Recursos do endpoint

Objeto Descrição
game_id Obrigatório Game id (e.g. "849815"). Use the /game/list endpoint to list valid values.

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

game_id
RESPOSTA DE EXEMPLO DA API
JSON
{
    "result": {
        "type": "atBat",
        "event": "Pop Out",
        "eventType": "field_out",
        "description": "Chase DeLauter pops out softly to catcher Liam Hicks in foul territory.",
        "rbi": 0,
        "awayScore": 3,
        "homeScore": 7,
        "isOut": true
    },
    "about": {
        "atBatIndex": 77,
        "halfInning": "top",
        "isTopInning": true,
        "inning": 9,
        "startTime": "2026-10-20T03:02:15.267Z",
        "endTime": "2026-10-20T03:03:39.174Z",
        "isComplete": true,
        "isScoringPlay": false,
        "hasReview": false,
        "hasOut": true,
        "captivatingIndex": 0
    },
    "count": {
        "balls": 0,
        "strikes": 2,
        "outs": 3
    },
    "matchup": {
        "batter": {
            "id": 800050,
            "fullName": "Chase DeLauter",
            "nameSlug": "chase-delauter-800050"
        },
        "batSide": {
            "code": "L",
            "description": "Left"
        },
        "pitcher": {
            "id": 641329,
            "fullName": "Bryan Baker",
            "nameSlug": "bryan-baker-641329"
        },
        "pitchHand": {
            "code": "R",
            "description": "Right"
        },
        "batterHotColdZones": [],
        "pitcherHotColdZones": [],
        "splits": {
            "batter": "vs_RHP",
            "pitcher": "vs_LHB",
            "menOnBase": "Empty"
        }
    },
    "pitchIndex": [
        0,
        1,
        2
    ],
    "actionIndex": [],
    "runnerIndex": [
        0
    ],
    "runners": [
        {
            "movement": {
                "originBase": null,
                "start": null,
                "end": null,
                "outBase": "1B",
                "isOut": true,
                "outNumber": 3
            },
            "details": {
                "event": "Pop Out",
                "eventType": "field_out",
                "movementReason": null,
                "runner": {
                    "id": 800050,
                    "fullName": "Chase DeLauter",
                    "nameSlug": "chase-delauter-800050"
                },
                "responsiblePitcher": null,
                "isScoringEvent": false,
                "rbi": false,
                "earned": false,
                "teamUnearned": false,
                "playIndex": 2
            },
            "credits": [
                {
                    "player": {
                        "id": 689414
                    },
                    "position": {
                        "code": "2",
                        "name": "Catcher",
                        "type": "Catcher",
                        "abbreviation": "C"
                    },
                    "credit": "f_putout"
                }
            ]
        }
    ],
    "playEvents": [
        {
            "details": {
                "call": {
                    "code": "C",
                    "description": "Called Strike"
                },
                "description": "Called Strike",
                "code": "C",
                "ballColor": "rgba(170, 21, 11, 1.0)",
                "trailColor": "rgba(0, 85, 254, 1.0)",
                "isInPlay": false,
                "isStrike": true,
                "isBall": false,
                "type": {
                    "code": "CH",
                    "description": "Changeup"
                },
                "isOut": false,
                "hasReview": false
            },
            "count": {
                "balls": 0,
                "strikes": 1,
                "outs": 2
            },
            "pitchData": {
                "startSpeed": 79.2,
                "endSpeed": 72.9,
                "strikeZoneTop": 3.339,
                "strikeZoneBottom": 1.685,
                "strikeZoneWidth": 17,
                "strikeZoneDepth": 8.5,
                "coordinates": {
                    "aY": 21.154104751131893,
                    "aZ": -25.126737597686223,
                    "pfxX": -9.222351329673671,
                    "pfxZ": 5.221373342189565,
                    "pX": -0.05967200775100452,
                    "pZ": 3.224783576142939,
                    "vX0": 4.6822524941621415,
                    "vY0": -115.34921997758086,
                    "vZ0": -1.9925222359698949,
                    "x": 119.27,
                    "y": 151.71,
                    "x0": -0.916073438510844,
                    "y0": 50.003353744596076,
                    "z0": 6.5189296726770865,
                    "aX": -12.446539232435025
                },
                "breaks": {
                    "breakAngle": 24,
                    "breakLength": 8.4,
                    "breakY": 24,
                    "breakVertical": -34.2,
                    "breakVerticalInduced": 9.2,
                    "breakHorizontal": 15.6,
                    "spinRate": 1644,
                    "spinDirection": 218
                },
                "zone": 2,
                "typeConfidence": 0.91,
                "plateTime": 0.47458668681512783,
                "extension": 6.2009809193839
            },
            "index": 0,
            "playId": "5935a1be-8658-3970-8752-14d151d9ffd0",
            "pitchNumber": 1,
            "startTime": "2026-10-20T03:02:34.242Z",
            "endTime": "2026-10-20T03:02:38.252Z",
            "isPitch": true,
            "type": "pitch"
        }
    ],
    "playEndTime": "2026-10-20T03:03:39.174Z",
    "atBatIndex": 77
}
Obter a jogada atual do jogo da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44466/get+mlb+game+current+play?game_id=849815' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna um jogo com seu tipo série data e hora status equipes local clima público e duração arremessadores prováveis anotador oficial contagens de revisões e desafios o placar por entradas os arremessadores vencedor perdedor e salvador e os destaques do jogo
Endpoint ID: 44467
GET https://zylalabs.com/api/15957/mlb+api/44467/get+mlb+game+details
PARÂMETROS DE ENTRADA

Obter detalhes do jogo da MLB — Recursos do endpoint

Objeto Descrição
game_id Obrigatório Game id (e.g. "849815"). Use the /game/list endpoint to list valid values.

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

game_id
RESPOSTA DE EXEMPLO DA API
JSON
{
    "game": {
        "pk": 849815,
        "type": "L",
        "doubleHeader": "N",
        "id": "2026/10/19/clemlb-tbamlb-1",
        "gamedayType": "P",
        "tiebreaker": "N",
        "gameNumber": 1,
        "calendarEventID": "14-849815-2026-10-19",
        "season": "2026",
        "seasonDisplay": "2026"
    },
    "datetime": {
        "dateTime": "2026-10-20T00:08:00Z",
        "originalDate": "2026-10-19",
        "officialDate": "2026-10-19",
        "dayNight": "night",
        "time": "8:08",
        "ampm": "PM"
    },
    "status": {
        "abstractGameState": "Final",
        "codedGameState": "F",
        "detailedState": "Final",
        "statusCode": "F",
        "startTimeTBD": false,
        "abstractGameCode": "F"
    },
    "teams": {
        "away": {
            "springLeague": {
                "id": 114,
                "name": "Cactus League",
                "abbreviation": "CL"
            },
            "allStarStatus": "N",
            "id": 114,
            "name": "Cleveland Guardians",
            "season": 2026,
            "venue": {
                "id": 5,
                "name": "Progressive Field"
            },
            "springVenue": {
                "id": 3834
            },
            "teamCode": "cle",
            "fileCode": "cle",
            "abbreviation": "CLE",
            "teamName": "Guardians",
            "locationName": "Cleveland",
            "firstYearOfPlay": "1901",
            "league": {
                "id": 103,
                "name": "American League"
            },
            "division": {
                "id": 202,
                "name": "American League Central"
            },
            "sport": {
                "id": 1,
                "name": "Major League Baseball"
            },
            "shortName": "Cleveland",
            "record": {
                "gamesPlayed": 6,
                "wildCardGamesBack": "-",
                "leagueGamesBack": "-",
                "springLeagueGamesBack": "-",
                "sportGamesBack": "-",
                "divisionGamesBack": "-",
                "conferenceGamesBack": "-",
                "leagueRecord": {
                    "wins": 2,
                    "losses": 4,
                    "ties": 0,
                    "pct": ".333"
                },
                "records": [],
                "divisionLeader": false,
                "wins": 2,
                "losses": 4,
                "winningPercentage": ".333"
            },
            "franchiseName": "Cleveland",
            "clubName": "Guardians",
            "active": true
        },
        "home": {
            "springLeague": {
                "id": 115,
                "name": "Grapefruit League",
                "abbreviation": "GL"
            },
            "allStarStatus": "N",
            "id": 139,
            "name": "Tampa Bay Rays",
            "season": 2026,
            "venue": {
                "id": 12,
                "name": "Tropicana Field"
            },
            "springVenue": {
                "id": 2534
            },
            "teamCode": "tba",
            "fileCode": "tb",
            "abbreviation": "TB",
            "teamName": "Rays",
            "locationName": "St. Petersburg",
            "firstYearOfPlay": "1996",
            "league": {
                "id": 103,
                "name": "American League"
            },
            "division": {
                "id": 201,
                "name": "American League East"
            },
            "sport": {
                "id": 1,
                "name": "Major League Baseball"
            },
            "shortName": "Tampa Bay",
            "record": {
                "gamesPlayed": 6,
                "wildCardGamesBack": "-",
                "leagueGamesBack": "-",
                "springLeagueGamesBack": "-",
                "sportGamesBack": "-",
                "divisionGamesBack": "-",
                "conferenceGamesBack": "-",
                "leagueRecord": {
                    "wins": 4,
                    "losses": 2,
                    "ties": 0,
                    "pct": ".667"
                },
                "records": [],
                "divisionLeader": false,
                "wins": 4,
                "losses": 2,
                "winningPercentage": ".667"
            },
            "franchiseName": "Tampa Bay",
            "clubName": "Rays",
            "active": true
        }
    },
    "venue": {
        "id": 12,
        "name": "Tropicana Field",
        "location": {
            "address1": "One Tropicana Drive",
            "city": "St. Petersburg",
            "state": "Florida",
            "stateAbbrev": "FL",
            "postalCode": "33705",
            "defaultCoordinates": {
                "latitude": 27.767778,
                "longitude": -82.6525
            },
            "azimuthAngle": 359,
            "elevation": 15,
            "country": "USA",
            "phone": "(727) 825-3137"
        },
        "timeZone": {
            "tz": "EST",
            "id": "America/New_York",
            "offset": -5,
            "offsetAtGameTime": -4
        },
        "fieldInfo": {
            "capacity": 25025,
            "turfType": "Artificial Turf",
            "roofType": "Dome",
            "leftLine": 315,
            "left": 370,
            "leftCenter": 410,
            "center": 404,
            "rightCenter": 404,
            "right": 370,
            "rightLine": 322
        },
        "active": true,
        "season": "2026"
    },
    "officialVenue": {
        "id": 12
    },
    "weather": {
        "condition": "Dome",
        "temp": "72",
        "wind": "0 mph, None"
    },
    "gameInfo": {
        "attendance": 40230,
        "firstPitch": "2026-10-20T00:08:00.000Z",
        "gameDurationMinutes": 175
    },
    "review": {
        "hasChallenges": true,
        "away": {
            "used": 1,
            "remaining": 2
        },
        "home": {
            "used": 0,
            "remaining": 2
        }
    }
}
Obter detalhes do jogo da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44467/get+mlb+game+details?game_id=849815' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna os melhores momentos em vídeo de uma partida, cada um com seu título, descrição, data, duração, imagem, links MP4 e HLS e etiquetas, e o resumo da partida
Endpoint ID: 44468
GET https://zylalabs.com/api/15957/mlb+api/44468/get+mlb+game+highlights
PARÂMETROS DE ENTRADA

Confira os melhores momentos dos jogos da MLB — Recursos do endpoint

Objeto Descrição
game_id Obrigatório Game id (e.g. "849815"). Use the /game/list endpoint to list valid values.

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

game_id
RESPOSTA DE EXEMPLO DA API
JSON
{
    "recap": {
        "headline": "Rays finish off Guards to set up World Series clash vs. Crew",
        "subhead": null,
        "blurb": "ST. PETERSBURG -- The Rays are headed to the World Series, champions of the American League after a night this team and these fans will never forget.\nIt was 18 years ago on this exact date -- Oct. 19, 2008 -- when the Rays punched their ticket to their first",
        "date": "2026-10-20T05:23:00Z",
        "url": "https://www.mlb.com/news/rays-win-alcs-2026",
        "slug": "rays-win-alcs-2026"
    },
    "videos": [
        {
            "id": "69931119-17a357d3-9c870837-csvm-diamondgcp-asset",
            "slug": "guardians-vs-rays-game-6-highlights",
            "url": "https://www.mlb.com/video/guardians-vs-rays-game-6-highlights",
            "headline": "Guardians vs. Rays Game 6 Highlights",
            "description": "Junior Caminero and Yandy Díaz homer, and Freddy Peralta allows one run over 5 1/3 innings to help the Rays win Game 6 and advance to the World Series",
            "date": "2026-10-20T05:04:11.239Z",
            "duration": "00:02:54",
            "image": "https://img.mlbstatic.com/mlb-images/image/upload/w_1920,h_1080,f_jpg,c_fill,g_auto/mlb/mvjllui1gaza2delu2nu.jpg",
            "mp4": "https://mlb-cuts-diamond.mlb.com/FORGE/2026/2026-10/19/69931119-17a357d3-9c870837-csvm-diamondgcp-asset_1280x720_59_4000K.mp4",
            "hls": "https://mlb-cuts-diamond.mlb.com/FORGE/2026/2026-10/19/69931119-17a357d3-9c870837-csvm-diamondgcp-asset.m3u8",
            "tags": [
                "Game Recap",
                "MLBCOM_GAME_RECAP"
            ]
        },
        {
            "id": "9b5c54dc-82e37c30-e3315b39-csvm-diamondgcp-asset",
            "slug": "condensed-game-cle-tb-game-6",
            "url": "https://www.mlb.com/video/condensed-game-cle-tb-game-6",
            "headline": "Condensed Game: CLE@TB - Game 6",
            "description": "Condensed Game: Nathaniel Lowe and the Guardians take on Junior Caminero and the Rays in Game 6 of the ALCS",
            "date": "2026-10-20T04:25:10.811Z",
            "duration": "00:21:17",
            "image": "https://img.mlbstatic.com/mlb-images/image/upload/w_1920,h_1080,f_jpg,c_fill,g_auto/mlb/bfgmqyobqtnw4heeh8e6.jpg",
            "mp4": "https://mlb-cuts-diamond.mlb.com/FORGE/2026/2026-10/19/9b5c54dc-82e37c30-e3315b39-csvm-diamondgcp-asset_1280x720_59_4000K.mp4",
            "hls": "https://mlb-cuts-diamond.mlb.com/FORGE/2026/2026-10/19/9b5c54dc-82e37c30-e3315b39-csvm-diamondgcp-asset.m3u8",
            "tags": [
                "Condensed Game",
                "MLBCOM_CONDENSED_GAME"
            ]
        },
        {
            "id": "e3679ce2-cf65945d-5b4baa44-csvm-diamondgcp-asset",
            "slug": "rays-advance-to-the-world-series",
            "url": "https://www.mlb.com/video/rays-advance-to-the-world-series",
            "headline": "Rays advance to the 2026 World Series!",
            "description": "Bryan Baker secures the Rays' 7-3 win over the Guardians as Tampa Bay clinches the 2026 AL pennant and advances to the World Series",
            "date": "2026-10-20T03:05:36.043Z",
            "duration": "00:00:45",
            "image": "https://img.mlbstatic.com/mlb-images/image/upload/w_1920,h_1080,f_jpg,c_fill,g_auto/mlb/mmgzpzp3uqi5apzukjxz.jpg",
            "mp4": "https://mlb-cuts-diamond.mlb.com/FORGE/2026/2026-10/19/e3679ce2-cf65945d-5b4baa44-csvm-diamondgcp-asset_1280x720_59_4000K.mp4",
            "hls": "https://mlb-cuts-diamond.mlb.com/FORGE/2026/2026-10/19/e3679ce2-cf65945d-5b4baa44-csvm-diamondgcp-asset.m3u8",
            "tags": []
        },
        {
            "id": "96da69e6-814dd836-d0329b44-csvm-diamondgcp-asset",
            "slug": "junior-caminero-homers-1-on-a-fly-ball-to-left-field-liam-hicks-scores",
            "url": "https://www.mlb.com/video/junior-caminero-homers-1-on-a-fly-ball-to-left-field-liam-hicks-scores",
            "headline": "Junior Caminero's two-run homer",
            "description": "Junior Caminero lifts a two-run home run to left field, extending the Rays' lead to 5-1 in the 7th",
            "date": "2026-10-20T02:22:32.034Z",
            "duration": "00:00:32",
            "image": "https://img.mlbstatic.com/mlb-images/image/upload/w_1920,h_1080,f_jpg,c_fill,g_auto/mlb/szs8wtkdtckfpmytl6f1.jpg",
            "mp4": "https://mlb-cuts-diamond.mlb.com/FORGE/2026/2026-10/19/96da69e6-814dd836-d0329b44-csvm-diamondgcp-asset_1280x720_59_4000K.mp4",
            "hls": "https://mlb-cuts-diamond.mlb.com/FORGE/2026/2026-10/19/96da69e6-814dd836-d0329b44-csvm-diamondgcp-asset.m3u8",
            "tags": []
        },
        {
            "id": "6f9a4f14-cadfbb84-9aa68c27-csvm-diamondgcp-asset",
            "slug": "yandy-diaz-homers-2-on-a-fly-ball-to-left-field-taylor-walls-scores",
            "url": "https://www.mlb.com/video/yandy-diaz-homers-2-on-a-fly-ball-to-left-field-taylor-walls-scores",
            "headline": "Yandy Díaz's two-run homer",
            "description": "Yandy Díaz launches a two-run home run in the bottom of the 8th inning to extend the Rays' lead to 7-3 over the Guardians",
            "date": "2026-10-20T02:55:10.106Z",
            "duration": "00:00:30",
            "image": "https://img.mlbstatic.com/mlb-images/image/upload/w_1920,h_1080,f_jpg,c_fill,g_auto/mlb/f5dqdlhu0vxfylkcev0m.jpg",
            "mp4": "https://mlb-cuts-diamond.mlb.com/FORGE/2026/2026-10/19/6f9a4f14-cadfbb84-9aa68c27-csvm-diamondgcp-asset_1280x720_59_4000K.mp4",
            "hls": "https://mlb-cuts-diamond.mlb.com/FORGE/2026/2026-10/19/6f9a4f14-cadfbb84-9aa68c27-csvm-diamondgcp-asset.m3u8",
            "tags": []
        }
    ]
}
Confira os melhores momentos dos jogos da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44468/get+mlb+game+highlights?game_id=849815' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna as corridas, rebatidas, erros e corredores deixados em base de cada equipe, entrada por entrada e no total, com a entrada atual, contagem, eliminações, rebatedor, arremessador e corredores em base
Endpoint ID: 44469
GET https://zylalabs.com/api/15957/mlb+api/44469/get+mlb+game+linescore
PARÂMETROS DE ENTRADA

Obter o placar por entrada do jogo da MLB — Recursos do endpoint

Objeto Descrição
game_id Obrigatório Game id (e.g. "849815"). Use the /game/list endpoint to list valid values.

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

game_id
RESPOSTA DE EXEMPLO DA API
JSON
{
    "currentInning": 9,
    "currentInningOrdinal": "9th",
    "inningState": "Top",
    "inningHalf": "Top",
    "isTopInning": true,
    "scheduledInnings": 9,
    "innings": [
        {
            "num": 1,
            "ordinalNum": "1st",
            "home": {
                "runs": 0,
                "hits": 0,
                "errors": 0,
                "leftOnBase": 0
            },
            "away": {
                "runs": 0,
                "hits": 1,
                "errors": 0,
                "leftOnBase": 1
            }
        },
        {
            "num": 2,
            "ordinalNum": "2nd",
            "home": {
                "runs": 2,
                "hits": 2,
                "errors": 0,
                "leftOnBase": 3
            },
            "away": {
                "runs": 0,
                "hits": 0,
                "errors": 0,
                "leftOnBase": 0
            }
        },
        {
            "num": 3,
            "ordinalNum": "3rd",
            "home": {
                "runs": 1,
                "hits": 2,
                "errors": 0,
                "leftOnBase": 2
            },
            "away": {
                "runs": 0,
                "hits": 1,
                "errors": 0,
                "leftOnBase": 2
            }
        },
        {
            "num": 4,
            "ordinalNum": "4th",
            "home": {
                "runs": 0,
                "hits": 0,
                "errors": 0,
                "leftOnBase": 2
            },
            "away": {
                "runs": 0,
                "hits": 1,
                "errors": 0,
                "leftOnBase": 1
            }
        },
        {
            "num": 5,
            "ordinalNum": "5th",
            "home": {
                "runs": 0,
                "hits": 0,
                "errors": 0,
                "leftOnBase": 0
            },
            "away": {
                "runs": 0,
                "hits": 0,
                "errors": 0,
                "leftOnBase": 1
            }
        },
        {
            "num": 6,
            "ordinalNum": "6th",
            "home": {
                "runs": 0,
                "hits": 1,
                "errors": 0,
                "leftOnBase": 1
            },
            "away": {
                "runs": 1,
                "hits": 2,
                "errors": 0,
                "leftOnBase": 1
            }
        },
        {
            "num": 7,
            "ordinalNum": "7th",
            "home": {
                "runs": 2,
                "hits": 1,
                "errors": 0,
                "leftOnBase": 0
            },
            "away": {
                "runs": 0,
                "hits": 0,
                "errors": 0,
                "leftOnBase": 0
            }
        },
        {
            "num": 8,
            "ordinalNum": "8th",
            "home": {
                "runs": 2,
                "hits": 1,
                "errors": 0,
                "leftOnBase": 0
            },
            "away": {
                "runs": 2,
                "hits": 2,
                "errors": 0,
                "leftOnBase": 3
            }
        },
        {
            "num": 9,
            "ordinalNum": "9th",
            "home": {
                "hits": 0,
                "errors": 0,
                "leftOnBase": 0
            },
            "away": {
                "runs": 0,
                "hits": 0,
                "errors": 0,
                "leftOnBase": 0
            }
        }
    ],
    "teams": {
        "home": {
            "runs": 7,
            "hits": 7,
            "errors": 0,
            "leftOnBase": 8
        },
        "away": {
            "runs": 3,
            "hits": 7,
            "errors": 0,
            "leftOnBase": 9
        }
    },
    "defense": {
        "pitcher": {
            "id": 641329,
            "fullName": "Bryan Baker",
            "nameSlug": "bryan-baker-641329"
        },
        "catcher": {
            "id": 689414,
            "fullName": "Liam Hicks",
            "nameSlug": "liam-hicks-689414"
        },
        "first": {
            "id": 666018,
            "fullName": "Jonathan Aranda",
            "nameSlug": "jonathan-aranda-666018"
        },
        "second": {
            "id": 680700,
            "fullName": "Richie Palacios",
            "nameSlug": "richie-palacios-680700"
        },
        "third": {
            "id": 691406,
            "fullName": "Junior Caminero",
            "nameSlug": "junior-caminero-691406"
        },
        "shortstop": {
            "id": 670764,
            "fullName": "Taylor Walls",
            "nameSlug": "taylor-walls-670764"
        },
        "left": {
            "id": 802415,
            "fullName": "Chandler Simpson",
            "nameSlug": "chandler-simpson-802415"
        },
        "center": {
            "id": 676356,
            "fullName": "Jonny DeLuca",
            "nameSlug": "jonny-deluca-676356"
        },
        "right": {
            "id": 683748,
            "fullName": "Victor Mesa Jr.",
            "nameSlug": "victor-mesa-jr-683748"
        },
        "batter": {
            "id": 691406,
            "fullName": "Junior Caminero",
            "nameSlug": "junior-caminero-691406"
        },
        "onDeck": {
            "id": 802415,
            "fullName": "Chandler Simpson",
            "nameSlug": "chandler-simpson-802415"
        },
        "inHole": {
            "id": 683748,
            "fullName": "Victor Mesa Jr.",
            "nameSlug": "victor-mesa-jr-683748"
        },
        "battingOrder": 4,
        "team": {
            "id": 139,
            "name": "Tampa Bay Rays"
        }
    },
    "offense": {
        "batter": {
            "id": 800050,
            "fullName": "Chase DeLauter",
            "nameSlug": "chase-delauter-800050"
        },
        "onDeck": {
            "id": 666176,
            "fullName": "Jo Adell",
            "nameSlug": "jo-adell-666176"
        },
        "inHole": {
            "id": 663993,
            "fullName": "Nathaniel Lowe",
            "nameSlug": "nathaniel-lowe-663993"
        },
        "pitcher": {
            "id": 683769,
            "fullName": "Hunter Gaddis",
            "nameSlug": "hunter-gaddis-683769"
        },
        "battingOrder": 3,
        "team": {
            "id": 114,
            "name": "Cleveland Guardians"
        }
    },
    "balls": 0,
    "strikes": 2,
    "outs": 3
}
Obter o placar por entrada do jogo da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44469/get+mlb+game+linescore?game_id=849815' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna os jogos de um dia com seus status, times e estatísticas, placar, placar por entrada com a entrada, contagem e corredores nas bases, prováveis arremessadores, arremessadores vencedores, perdedores e salvadores, local, transmissões de TV e rádio e situação da série
Endpoint ID: 44470
GET https://zylalabs.com/api/15957/mlb+api/44470/get+mlb+games+by+date
PARÂMETROS DE ENTRADA

Obtenha jogos da MLB por data — Recursos do endpoint

Objeto Descrição
date Opcional Optional date in the YYYY-MM-DD format, US Eastern time (e.g. "2026-09-15"; defaults to today).
sport Opcional Optional sport: "mlb", "aaa", "aa", "high_a", "single_a", "rookie" or "winter" (defaults to "mlb"). Use the /general/sports endpoint to list valid values.
team_id Opcional Optional team id, for the games of one team only (e.g. "147"). Use the /team/list endpoint to list valid values.
game_type Opcional Optional game type (e.g. "regular_season"; every type when left out). Use the /general/game-types endpoint to list valid values.

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

date
sport
team_id
game_type
RESPOSTA DE EXEMPLO DA API
JSON
{
    "date": "2026-09-15"
}
Obtenha jogos da MLB por data — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44470/get+mlb+games+by+date?date=2026-09-15&sport=mlb&team_id=147&game_type=regular_season' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna os jogos em andamento agora, com o que o endpoint /game/list fornece para cada um
Endpoint ID: 44471
GET https://zylalabs.com/api/15957/mlb+api/44471/get+mlb+live+games
PARÂMETROS DE ENTRADA

Assista aos jogos da MLB ao vivo — Recursos do endpoint

Objeto Descrição
sport Opcional Optional sport: "mlb", "aaa", "aa", "high_a", "single_a", "rookie" or "winter" (defaults to "mlb"). Use the /general/sports endpoint to list valid values.

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

sport
RESPOSTA DE EXEMPLO DA API
JSON
[]
Assista aos jogos da MLB ao vivo — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44471/get+mlb+live+games?sport=mlb' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna cada aparição ao bastão de um jogo em ordem: o resultado e sua descrição, placar, entrada, contagem, rebatedor e arremessador, corredores e seus avanços, créditos defensivos e cada arremesso com seu tipo, velocidade, rotação, quebra, localização e chamada, e, para bolas rebatidas em jogo, a velocidade de saída, o ângulo, a distância e a trajetória
Endpoint ID: 44472
GET https://zylalabs.com/api/15957/mlb+api/44472/get+mlb+game+play+by+play
PARÂMETROS DE ENTRADA

Obtenha a narração lance a lance dos jogos da MLB — Recursos do endpoint

Objeto Descrição
game_id Obrigatório Game id (e.g. "849815"). Use the /game/list endpoint to list valid values.
inning Opcional Optional inning number, for the plays of one inning only (e.g. "9").

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

game_id
inning
RESPOSTA DE EXEMPLO DA API
JSON
[
    {
        "result": {
            "type": "atBat",
            "event": "Groundout",
            "eventType": "field_out",
            "description": "Steven Kwan grounds out, first baseman Jonathan Aranda to pitcher Bryan Baker.",
            "rbi": 0,
            "awayScore": 3,
            "homeScore": 7,
            "isOut": true
        },
        "about": {
            "atBatIndex": 75,
            "halfInning": "top",
            "isTopInning": true,
            "inning": 9,
            "startTime": "2026-10-20T03:00:12.646Z",
            "endTime": "2026-10-20T03:00:39.626Z",
            "isComplete": true,
            "isScoringPlay": false,
            "hasReview": false,
            "hasOut": true,
            "captivatingIndex": 0
        },
        "count": {
            "balls": 0,
            "strikes": 1,
            "outs": 1
        },
        "matchup": {
            "batter": {
                "id": 680757,
                "fullName": "Steven Kwan",
                "nameSlug": "steven-kwan-680757"
            },
            "batSide": {
                "code": "L",
                "description": "Left"
            },
            "pitcher": {
                "id": 641329,
                "fullName": "Bryan Baker",
                "nameSlug": "bryan-baker-641329"
            },
            "pitchHand": {
                "code": "R",
                "description": "Right"
            },
            "batterHotColdZones": [],
            "pitcherHotColdZones": [],
            "splits": {
                "batter": "vs_RHP",
                "pitcher": "vs_LHB",
                "menOnBase": "Empty"
            }
        },
        "pitchIndex": [
            1,
            2
        ],
        "actionIndex": [
            0
        ],
        "runnerIndex": [
            0
        ],
        "runners": [
            {
                "movement": {
                    "originBase": null,
                    "start": null,
                    "end": null,
                    "outBase": "1B",
                    "isOut": true,
                    "outNumber": 1
                },
                "details": {
                    "event": "Groundout",
                    "eventType": "field_out",
                    "movementReason": null,
                    "runner": {
                        "id": 680757,
                        "fullName": "Steven Kwan",
                        "nameSlug": "steven-kwan-680757"
                    },
                    "responsiblePitcher": null,
                    "isScoringEvent": false,
                    "rbi": false,
                    "earned": false,
                    "teamUnearned": false,
                    "playIndex": 2
                },
                "credits": [
                    {
                        "player": {
                            "id": 666018
                        },
                        "position": {
                            "code": "3",
                            "name": "First Base",
                            "type": "Infielder",
                            "abbreviation": "1B"
                        },
                        "credit": "f_assist"
                    },
                    {
                        "player": {
                            "id": 641329
                        },
                        "position": {
                            "code": "1",
                            "name": "Pitcher",
                            "type": "Pitcher",
                            "abbreviation": "P"
                        },
                        "credit": "f_putout"
                    }
                ]
            }
        ],
        "playEvents": [
            {
                "details": {
                    "description": "Pitching Change: Bryan Baker replaces Kevin Kelly.",
                    "event": "Pitching Substitution",
                    "eventType": "pitching_substitution",
                    "awayScore": 3,
                    "homeScore": 7,
                    "isScoringPlay": false,
                    "isOut": false,
                    "hasReview": false
                },
                "count": {
                    "balls": 0,
                    "strikes": 0,
                    "outs": 0
                },
                "index": 0,
                "startTime": "2026-10-20T02:57:25.802Z",
                "endTime": "2026-10-20T03:00:14.728Z",
                "isPitch": false,
                "isSubstitution": true,
                "type": "action",
                "player": {
                    "id": 641329
                },
                "position": {
                    "code": "1",
                    "name": "Pitcher",
                    "type": "Pitcher",
                    "abbreviation": "P"
                }
            }
        ],
        "playEndTime": "2026-10-20T03:00:39.626Z",
        "atBatIndex": 75
    }
]
Obtenha a narração lance a lance dos jogos da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44472/get+mlb+game+play+by+play?game_id=849815&inning=9' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna todos nas duas escalações de um jogo com seus dados biográficos nome número data e local de nascimento altura peso posição rebatidas e arremessos estreia e zona de strike
Endpoint ID: 44473
GET https://zylalabs.com/api/15957/mlb+api/44473/get+mlb+game+players
PARÂMETROS DE ENTRADA

Obtenha jogadores de jogos da MLB — Recursos do endpoint

Objeto Descrição
game_id Obrigatório Game id (e.g. "849815"). Use the /game/list endpoint to list valid values.

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

game_id
RESPOSTA DE EXEMPLO DA API
JSON
[
    {
        "id": 670764,
        "fullName": "Taylor Walls",
        "firstName": "Taylor",
        "lastName": "Walls",
        "primaryNumber": "6",
        "birthDate": "1996-07-10",
        "currentAge": 30,
        "birthCity": "Cordele",
        "birthStateProvince": "GA",
        "birthCountry": "USA",
        "height": "5' 9\"",
        "weight": 185,
        "active": true,
        "primaryPosition": {
            "code": "6",
            "name": "Shortstop",
            "type": "Infielder",
            "abbreviation": "SS"
        },
        "useName": "Taylor",
        "useLastName": "Walls",
        "boxscoreName": "Walls",
        "gender": "M",
        "isPlayer": true,
        "isVerified": true,
        "draftYear": 2017,
        "mlbDebutDate": "2021-05-22",
        "batSide": {
            "code": "S",
            "description": "Switch"
        },
        "pitchHand": {
            "code": "R",
            "description": "Right"
        },
        "nameFirstLast": "Taylor Walls",
        "nameSlug": "taylor-walls-670764",
        "firstLastName": "Taylor Walls",
        "lastFirstName": "Walls, Taylor",
        "lastInitName": "Walls, T",
        "initLastName": "T Walls",
        "fullFMLName": "Taylor Walls",
        "fullLFMName": "Walls, Taylor",
        "strikeZoneTop": 3.056,
        "strikeZoneBottom": 1.542
    },
    {
        "id": 542888,
        "fullName": "Shawn Armstrong",
        "firstName": "Shawn",
        "lastName": "Armstrong",
        "primaryNumber": "43",
        "birthDate": "1990-09-11",
        "currentAge": 36,
        "birthCity": "New Bern",
        "birthStateProvince": "NC",
        "birthCountry": "USA",
        "height": "6' 2\"",
        "weight": 225,
        "active": true,
        "primaryPosition": {
            "code": "1",
            "name": "Pitcher",
            "type": "Pitcher",
            "abbreviation": "P"
        },
        "useName": "Shawn",
        "useLastName": "Armstrong",
        "middleName": "Michael",
        "boxscoreName": "Armstrong",
        "nickName": "Armie",
        "gender": "M",
        "isPlayer": true,
        "isVerified": true,
        "draftYear": 2011,
        "mlbDebutDate": "2015-08-08",
        "batSide": {
            "code": "R",
            "description": "Right"
        },
        "pitchHand": {
            "code": "R",
            "description": "Right"
        },
        "nameFirstLast": "Shawn Armstrong",
        "nameSlug": "shawn-armstrong-542888",
        "firstLastName": "Shawn Armstrong",
        "lastFirstName": "Armstrong, Shawn",
        "lastInitName": "Armstrong, S",
        "initLastName": "S Armstrong",
        "fullFMLName": "Shawn Michael Armstrong",
        "fullLFMName": "Armstrong, Shawn Michael",
        "strikeZoneTop": 3.299,
        "strikeZoneBottom": 1.665
    },
    {
        "id": 669330,
        "fullName": "Tyler Wells",
        "firstName": "Tyler",
        "lastName": "Wells",
        "primaryNumber": "68",
        "birthDate": "1994-08-26",
        "currentAge": 32,
        "birthCity": "Tulsa",
        "birthStateProvince": "OK",
        "birthCountry": "USA",
        "height": "6' 8\"",
        "weight": 270,
        "active": true,
        "primaryPosition": {
            "code": "1",
            "name": "Pitcher",
            "type": "Pitcher",
            "abbreviation": "P"
        },
        "useName": "Tyler",
        "useLastName": "Wells",
        "middleName": "Austin",
        "boxscoreName": "Wells, T",
        "gender": "M",
        "isPlayer": true,
        "isVerified": false,
        "draftYear": 2016,
        "mlbDebutDate": "2021-04-04",
        "batSide": {
            "code": "R",
            "description": "Right"
        },
        "pitchHand": {
            "code": "R",
            "description": "Right"
        },
        "nameFirstLast": "Tyler Wells",
        "nameSlug": "tyler-wells-669330",
        "firstLastName": "Tyler Wells",
        "lastFirstName": "Wells, Tyler",
        "lastInitName": "Wells, T",
        "initLastName": "T Wells",
        "fullFMLName": "Tyler Austin Wells",
        "fullLFMName": "Wells, Tyler Austin",
        "strikeZoneTop": 3.567,
        "strikeZoneBottom": 1.8
    },
    {
        "id": 571927,
        "fullName": "Steven Matz",
        "firstName": "Steven",
        "lastName": "Matz",
        "primaryNumber": "32",
        "birthDate": "1991-05-29",
        "currentAge": 35,
        "birthCity": "Stony Brook",
        "birthStateProvince": "NY",
        "birthCountry": "USA",
        "height": "6' 2\"",
        "weight": 205,
        "active": true,
        "primaryPosition": {
            "code": "1",
            "name": "Pitcher",
            "type": "Pitcher",
            "abbreviation": "P"
        },
        "useName": "Steven",
        "useLastName": "Matz",
        "middleName": "Jakob",
        "boxscoreName": "Matz",
        "nickName": "Matzy",
        "gender": "M",
        "isPlayer": true,
        "isVerified": true,
        "draftYear": 2009,
        "pronunciation": "Mats",
        "mlbDebutDate": "2015-06-28",
        "batSide": {
            "code": "R",
            "description": "Right"
        },
        "pitchHand": {
            "code": "L",
            "description": "Left"
        },
        "nameFirstLast": "Steven Matz",
        "nameSlug": "steven-matz-571927",
        "firstLastName": "Steven Matz",
        "lastFirstName": "Matz, Steven",
        "lastInitName": "Matz, S",
        "initLastName": "S Matz",
        "fullFMLName": "Steven Jakob Matz",
        "fullLFMName": "Matz, Steven Jakob",
        "strikeZoneTop": 3.299,
        "strikeZoneBottom": 1.665
    },
    {
        "id": 622761,
        "fullName": "Jorge Mateo",
        "firstName": "Jorge",
        "lastName": "Mateo",
        "primaryNumber": "3",
        "birthDate": "1995-06-23",
        "currentAge": 31,
        "birthCity": "Santo Domingo Oeste",
        "birthCountry": "Dominican Republic",
        "height": "6' 0\"",
        "weight": 200,
        "active": true,
        "primaryPosition": {
            "code": "6",
            "name": "Shortstop",
            "type": "Infielder",
            "abbreviation": "SS"
        },
        "useName": "Jorge",
        "useLastName": "Mateo",
        "middleName": "Luis",
        "boxscoreName": "Mateo",
        "gender": "M",
        "isPlayer": true,
        "isVerified": false,
        "pronunciation": "mah-TAY-oh",
        "mlbDebutDate": "2020-08-13",
        "batSide": {
            "code": "R",
            "description": "Right"
        },
        "pitchHand": {
            "code": "R",
            "description": "Right"
        },
        "nameFirstLast": "Jorge Mateo",
        "nameSlug": "jorge-mateo-622761",
        "firstLastName": "Jorge Mateo",
        "lastFirstName": "Mateo, Jorge",
        "lastInitName": "Mateo, J",
        "initLastName": "J Mateo",
        "fullFMLName": "Jorge Luis Mateo",
        "fullLFMName": "Mateo, Jorge Luis",
        "strikeZoneTop": 3.2,
        "strikeZoneBottom": 1.61
    },
    {
        "id": 668723,
        "fullName": "Ryan Vilade",
        "firstName": "Ryan",
        "lastName": "Vilade",
        "primaryNumber": "26",
        "birthDate": "1999-02-18",
        "currentAge": 27,
        "birthCity": "Grapevine",
        "birthStateProvince": "TX",
        "birthCountry": "USA",
        "height": "6' 1\"",
        "weight": 226,
        "active": true,
        "primaryPosition": {
            "code": "9",
            "name": "Outfielder",
            "type": "Outfielder",
            "abbreviation": "RF"
        },
        "useName": "Ryan",
        "useLastName": "Vilade",
        "middleName": "James",
        "boxscoreName": "Vilade",
        "gender": "M",
        "isPlayer": true,
        "isVerified": false,
        "draftYear": 2017,
        "pronunciation": "vill-AID",
        "mlbDebutDate": "2021-09-18",
        "batSide": {
            "code": "R",
            "description": "Right"
        },
        "pitchHand": {
            "code": "R",
            "description": "Right"
        },
        "nameFirstLast": "Ryan Vilade",
        "nameSlug": "ryan-vilade-668723",
        "firstLastName": "Ryan Vilade",
        "lastFirstName": "Vilade, Ryan",
        "lastInitName": "Vilade, R",
        "initLastName": "R Vilade",
        "fullFMLName": "Ryan James Vilade",
        "fullLFMName": "Vilade, Ryan James",
        "strikeZoneTop": 3.28,
        "strikeZoneBottom": 1.65
    }
]
Obtenha jogadores de jogos da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44473/get+mlb+game+players?game_id=849815' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna as jogadas de um jogo em que foi anotada uma corrida com os dados fornecidos pelo endpoint /game/play-by-play para cada uma delas
Endpoint ID: 44474
GET https://zylalabs.com/api/15957/mlb+api/44474/get+mlb+game+scoring+plays
PARÂMETROS DE ENTRADA

Obter jogadas de pontuação de jogos da MLB — Recursos do endpoint

Objeto Descrição
game_id Obrigatório Game id (e.g. "849815"). Use the /game/list endpoint to list valid values.

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

game_id
RESPOSTA DE EXEMPLO DA API
JSON
[
    {
        "result": {
            "type": "atBat",
            "event": "Double",
            "eventType": "double",
            "description": "Richie Palacios doubles (3) on a fly ball to right fielder Chase DeLauter. Chandler Simpson scores. Victor Mesa Jr. scores.",
            "rbi": 2,
            "awayScore": 0,
            "homeScore": 2,
            "isOut": false
        },
        "about": {
            "atBatIndex": 14,
            "halfInning": "bottom",
            "isTopInning": false,
            "inning": 2,
            "startTime": "2026-10-20T00:41:49.421Z",
            "endTime": "2026-10-20T00:44:52.353Z",
            "isComplete": true,
            "isScoringPlay": true,
            "hasReview": false,
            "hasOut": false,
            "captivatingIndex": 71
        },
        "count": {
            "balls": 1,
            "strikes": 2,
            "outs": 2
        },
        "matchup": {
            "batter": {
                "id": 680700,
                "fullName": "Richie Palacios",
                "nameSlug": "richie-palacios-680700"
            },
            "batSide": {
                "code": "L",
                "description": "Left"
            },
            "pitcher": {
                "id": 682120,
                "fullName": "Tim Herrin",
                "nameSlug": "tim-herrin-682120"
            },
            "pitchHand": {
                "code": "L",
                "description": "Left"
            },
            "postOnSecond": {
                "id": 680700,
                "fullName": "Richie Palacios",
                "nameSlug": "richie-palacios-680700"
            },
            "batterHotColdZones": [],
            "pitcherHotColdZones": [],
            "splits": {
                "batter": "vs_LHP",
                "pitcher": "vs_LHB",
                "menOnBase": "RISP"
            }
        },
        "pitchIndex": [
            0,
            1,
            3,
            4,
            5,
            6,
            7
        ],
        "actionIndex": [
            2
        ],
        "runnerIndex": [
            0,
            1,
            2,
            3,
            4
        ],
        "runners": [
            {
                "movement": {
                    "originBase": "1B",
                    "start": "1B",
                    "end": "2B",
                    "outBase": null,
                    "isOut": false,
                    "outNumber": null
                },
                "details": {
                    "event": "Stolen Base 2B",
                    "eventType": "stolen_base_2b",
                    "movementReason": "r_stolen_base_2b",
                    "runner": {
                        "id": 683748,
                        "fullName": "Victor Mesa Jr.",
                        "nameSlug": "victor-mesa-jr-683748"
                    },
                    "responsiblePitcher": null,
                    "isScoringEvent": false,
                    "rbi": false,
                    "earned": false,
                    "teamUnearned": false,
                    "playIndex": 2
                },
                "credits": []
            },
            {
                "movement": {
                    "originBase": null,
                    "start": null,
                    "end": "2B",
                    "outBase": null,
                    "isOut": false,
                    "outNumber": null
                },
                "details": {
                    "event": "Double",
                    "eventType": "double",
                    "movementReason": null,
                    "runner": {
                        "id": 680700,
                        "fullName": "Richie Palacios",
                        "nameSlug": "richie-palacios-680700"
                    },
                    "responsiblePitcher": null,
                    "isScoringEvent": false,
                    "rbi": false,
                    "earned": false,
                    "teamUnearned": false,
                    "playIndex": 7
                },
                "credits": [
                    {
                        "player": {
                            "id": 800050
                        },
                        "position": {
                            "code": "9",
                            "name": "Outfielder",
                            "type": "Outfielder",
                            "abbreviation": "RF"
                        },
                        "credit": "f_fielded_ball"
                    }
                ]
            }
        ],
        "playEvents": [
            {
                "details": {
                    "call": {
                        "code": "C",
                        "description": "Called Strike"
                    },
                    "description": "Called Strike",
                    "code": "C",
                    "ballColor": "rgba(170, 21, 11, 1.0)",
                    "trailColor": "rgba(50, 0, 221, 1.0)",
                    "isInPlay": false,
                    "isStrike": true,
                    "isBall": false,
                    "type": {
                        "code": "SI",
                        "description": "Sinker"
                    },
                    "isOut": false,
                    "hasReview": false
                },
                "count": {
                    "balls": 0,
                    "strikes": 1,
                    "outs": 2
                },
                "pitchData": {
                    "startSpeed": 92.9,
                    "endSpeed": 83.6,
                    "strikeZoneTop": 3.04,
                    "strikeZoneBottom": 1.534,
                    "strikeZoneWidth": 17,
                    "strikeZoneDepth": 8.5,
                    "coordinates": {
                        "aY": 34.121471670416554,
                        "aZ": -21.87960988852847,
                        "pfxX": 11.370426013530588,
                        "pfxZ": 5.678506178507723,
                        "pX": -0.17109552615336734,
                        "pZ": 2.4706131408424836,
                        "vX0": -8.089706927335753,
                        "vY0": -134.95416026932435,
                        "vZ0": -4.163831076986757,
                        "x": 123.52,
                        "y": 172.07,
                        "x0": 1.4146241367318784,
                        "y0": 50.00257446334647,
                        "z0": 5.608725007302935,
                        "aX": 20.6092696630227
                    },
                    "breaks": {
                        "breakAngle": 39.6,
                        "breakLength": 7.2,
                        "breakY": 24,
                        "breakVertical": -22.8,
                        "breakVerticalInduced": 9.4,
                        "breakHorizontal": -18.5,
                        "spinRate": 2160,
                        "spinDirection": 132
                    },
                    "zone": 5,
                    "typeConfidence": 0.9,
                    "plateTime": 0.4085979818374095,
                    "extension": 6.376597401756617
                },
                "index": 0,
                "playId": "ee095448-5e94-3fc4-8167-3c6d2ca26d01",
                "pitchNumber": 1,
                "startTime": "2026-10-20T00:42:14.613Z",
                "endTime": "2026-10-20T00:42:18.657Z",
                "isPitch": true,
                "type": "pitch"
            }
        ],
        "playEndTime": "2026-10-20T00:44:52.353Z",
        "atBatIndex": 14
    }
]
Obter jogadas de pontuação de jogos da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44474/get+mlb+game+scoring+plays?game_id=849815' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna a probabilidade de vitória de cada equipe após cada aparição no bastão, com a probabilidade que ela acrescentou, o índice de alavancagem, a entrada, o evento, sua descrição, o placar, o rebatedor e o arremessador
Endpoint ID: 44475
GET https://zylalabs.com/api/15957/mlb+api/44475/get+mlb+game+win+probability
PARÂMETROS DE ENTRADA

Obtenha a probabilidade de vitória em jogos da MLB — Recursos do endpoint

Objeto Descrição
game_id Obrigatório Game id (e.g. "849815"). Use the /game/list endpoint to list valid values.

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

game_id
RESPOSTA DE EXEMPLO DA API
JSON
[
    {
        "atBatIndex": 0,
        "inning": 1,
        "halfInning": "top",
        "event": "Single",
        "description": "Steven Kwan singles on a ground ball to shortstop Taylor Walls.",
        "awayScore": 0,
        "homeScore": 0,
        "batter": {
            "id": 680757,
            "fullName": "Steven Kwan",
            "nameSlug": "steven-kwan-680757"
        },
        "pitcher": {
            "id": 642547,
            "fullName": "Freddy Peralta",
            "nameSlug": "freddy-peralta-642547"
        },
        "homeTeamWinProbability": 46.4,
        "awayTeamWinProbability": 53.6,
        "homeTeamWinProbabilityAdded": -3.6,
        "leverageIndex": null
    },
    {
        "atBatIndex": 1,
        "inning": 1,
        "halfInning": "top",
        "event": "Flyout",
        "description": "José Ramírez flies out to left fielder Chandler Simpson.",
        "awayScore": 0,
        "homeScore": 0,
        "batter": {
            "id": 608070,
            "fullName": "José Ramírez",
            "nameSlug": "jose-ramirez-608070"
        },
        "pitcher": {
            "id": 642547,
            "fullName": "Freddy Peralta",
            "nameSlug": "freddy-peralta-642547"
        },
        "homeTeamWinProbability": 49.8,
        "awayTeamWinProbability": 50.2,
        "homeTeamWinProbabilityAdded": 3.4,
        "leverageIndex": 1.46
    },
    {
        "atBatIndex": 2,
        "inning": 1,
        "halfInning": "top",
        "event": "Flyout",
        "description": "Chase DeLauter flies out to center fielder Jonny DeLuca.",
        "awayScore": 0,
        "homeScore": 0,
        "batter": {
            "id": 800050,
            "fullName": "Chase DeLauter",
            "nameSlug": "chase-delauter-800050"
        },
        "pitcher": {
            "id": 642547,
            "fullName": "Freddy Peralta",
            "nameSlug": "freddy-peralta-642547"
        },
        "homeTeamWinProbability": 52.6,
        "awayTeamWinProbability": 47.4,
        "homeTeamWinProbabilityAdded": 2.8,
        "leverageIndex": 1.21
    },
    {
        "atBatIndex": 3,
        "inning": 1,
        "halfInning": "top",
        "event": "Pop Out",
        "description": "Jo Adell pops out softly to first baseman Jonathan Aranda in foul territory.",
        "awayScore": 0,
        "homeScore": 0,
        "batter": {
            "id": 666176,
            "fullName": "Jo Adell",
            "nameSlug": "jo-adell-666176"
        },
        "pitcher": {
            "id": 642547,
            "fullName": "Freddy Peralta",
            "nameSlug": "freddy-peralta-642547"
        },
        "homeTeamWinProbability": 54.8,
        "awayTeamWinProbability": 45.2,
        "homeTeamWinProbabilityAdded": 2.2,
        "leverageIndex": 0.88
    },
    {
        "atBatIndex": 4,
        "inning": 1,
        "halfInning": "bottom",
        "event": "Groundout",
        "description": "Yandy Díaz grounds out, shortstop Brayan Rocchio to first baseman Nathaniel Lowe.",
        "awayScore": 0,
        "homeScore": 0,
        "batter": {
            "id": 650490,
            "fullName": "Yandy Díaz",
            "nameSlug": "yandy-diaz-650490"
        },
        "pitcher": {
            "id": 542888,
            "fullName": "Shawn Armstrong",
            "nameSlug": "shawn-armstrong-542888"
        },
        "homeTeamWinProbability": 52.6,
        "awayTeamWinProbability": 47.4,
        "homeTeamWinProbabilityAdded": -2.2,
        "leverageIndex": 0.86
    },
    {
        "atBatIndex": 5,
        "inning": 1,
        "halfInning": "bottom",
        "event": "Pop Out",
        "description": "Jonathan Aranda pops out to second baseman Travis Bazzana.",
        "awayScore": 0,
        "homeScore": 0,
        "batter": {
            "id": 666018,
            "fullName": "Jonathan Aranda",
            "nameSlug": "jonathan-aranda-666018"
        },
        "pitcher": {
            "id": 542888,
            "fullName": "Shawn Armstrong",
            "nameSlug": "shawn-armstrong-542888"
        },
        "homeTeamWinProbability": 51,
        "awayTeamWinProbability": 49,
        "homeTeamWinProbabilityAdded": -1.6,
        "leverageIndex": 0.63
    },
    {
        "atBatIndex": 6,
        "inning": 1,
        "halfInning": "bottom",
        "event": "Pop Out",
        "description": "Liam Hicks pops out softly to pitcher Shawn Armstrong.",
        "awayScore": 0,
        "homeScore": 0,
        "batter": {
            "id": 689414,
            "fullName": "Liam Hicks",
            "nameSlug": "liam-hicks-689414"
        },
        "pitcher": {
            "id": 542888,
            "fullName": "Shawn Armstrong",
            "nameSlug": "shawn-armstrong-542888"
        },
        "homeTeamWinProbability": 50,
        "awayTeamWinProbability": 50,
        "homeTeamWinProbabilityAdded": -1,
        "leverageIndex": 0.41
    },
    {
        "atBatIndex": 7,
        "inning": 2,
        "halfInning": "top",
        "event": "Strikeout",
        "description": "Nathaniel Lowe strikes out swinging.",
        "awayScore": 0,
        "homeScore": 0,
        "batter": {
            "id": 663993,
            "fullName": "Nathaniel Lowe",
            "nameSlug": "nathaniel-lowe-663993"
        },
        "pitcher": {
            "id": 642547,
            "fullName": "Freddy Peralta",
            "nameSlug": "freddy-peralta-642547"
        },
        "homeTeamWinProbability": 52.3,
        "awayTeamWinProbability": 47.7,
        "homeTeamWinProbabilityAdded": 2.3,
        "leverageIndex": 0.92
    },
    {
        "atBatIndex": 8,
        "inning": 2,
        "halfInning": "top",
        "event": "Flyout",
        "description": "Travis Bazzana flies out sharply to right fielder Victor Mesa Jr.",
        "awayScore": 0,
        "homeScore": 0,
        "batter": {
            "id": 683953,
            "fullName": "Travis Bazzana",
            "nameSlug": "travis-bazzana-683953"
        },
        "pitcher": {
            "id": 642547,
            "fullName": "Freddy Peralta",
            "nameSlug": "freddy-peralta-642547"
        },
        "homeTeamWinProbability": 54,
        "awayTeamWinProbability": 46,
        "homeTeamWinProbabilityAdded": 1.7,
        "leverageIndex": 0.67
    }
]
Obtenha a probabilidade de vitória em jogos da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44475/get+mlb+game+win+probability?game_id=849815' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna todos os prêmios com seu ID, nome, descrição e esporte (MVP, Cy Young, Estreante do Ano, Luva de Ouro, Taco de Prata, Hall da Fama, jogadores da semana e do mês…), conforme aceito pelo parâmetro "award_id" do endpoint /league/award-winners
Endpoint ID: 44476
GET https://zylalabs.com/api/15957/mlb+api/44476/get+mlb+awards
PARÂMETROS DE ENTRADA

Solicitações gratuitas de teste restantes: 3 de 3.

Este endpoint não requer parâmetros de entrada.

RESPOSTA DE EXEMPLO DA API
JSON
[
    {
        "id": "MLBHOF",
        "name": "Hall Of Fame",
        "description": "Member of Hall of Fame",
        "sortOrder": 1,
        "sport": {
            "id": 1
        },
        "active": true
    },
    {
        "id": "RETIREDUNI_108",
        "name": "Uniform number retired",
        "sortOrder": 4,
        "sport": {
            "id": 1
        },
        "active": true
    },
    {
        "id": "RETIREDUNI_109",
        "name": "Uniform number retired",
        "sortOrder": 4,
        "sport": {
            "id": 1
        },
        "active": true
    },
    {
        "id": "RETIREDUNI_110",
        "name": "Uniform number retired",
        "sortOrder": 4,
        "sport": {
            "id": 1
        },
        "active": true
    },
    {
        "id": "RETIREDUNI_111",
        "name": "Uniform number retired",
        "sortOrder": 4,
        "sport": {
            "id": 1
        },
        "active": true
    },
    {
        "id": "RETIREDUNI_112",
        "name": "Uniform number retired",
        "sortOrder": 4,
        "sport": {
            "id": 1
        },
        "active": true
    },
    {
        "id": "RETIREDUNI_113",
        "name": "Uniform number retired",
        "sortOrder": 4,
        "sport": {
            "id": 1
        },
        "active": true
    },
    {
        "id": "RETIREDUNI_114",
        "name": "Uniform number retired",
        "sortOrder": 4,
        "sport": {
            "id": 1
        },
        "active": true
    },
    {
        "id": "RETIREDUNI_115",
        "name": "Uniform number retired",
        "sortOrder": 4,
        "sport": {
            "id": 1
        },
        "active": true
    },
    {
        "id": "RETIREDUNI_116",
        "name": "Uniform number retired",
        "sortOrder": 4,
        "sport": {
            "id": 1
        },
        "active": true
    },
    {
        "id": "RETIREDUNI_117",
        "name": "Uniform number retired",
        "sortOrder": 4,
        "sport": {
            "id": 1
        },
        "active": true
    },
    {
        "id": "RETIREDUNI_118",
        "name": "Uniform number retired",
        "sortOrder": 4,
        "sport": {
            "id": 1
        },
        "active": true
    },
    {
        "id": "RETIREDUNI_119",
        "name": "Uniform number retired",
        "sortOrder": 4,
        "sport": {
            "id": 1
        },
        "active": true
    },
    {
        "id": "RETIREDUNI_120",
        "name": "Uniform number retired",
        "sortOrder": 4,
        "sport": {
            "id": 1
        },
        "active": true
    },
    {
        "id": "RETIREDUNI_121",
        "name": "Uniform number retired",
        "sortOrder": 4,
        "sport": {
            "id": 1
        },
        "active": true
    },
    {
        "id": "RETIREDUNI_133",
        "name": "Uniform number retired",
        "sortOrder": 4,
        "sport": {
            "id": 1
        },
        "active": true
    },
    {
        "id": "RETIREDUNI_134",
        "name": "Uniform number retired",
        "sortOrder": 4,
        "sport": {
            "id": 1
        },
        "active": true
    },
    {
        "id": "RETIREDUNI_135",
        "name": "Uniform number retired",
        "sortOrder": 4,
        "sport": {
            "id": 1
        },
        "active": true
    },
    {
        "id": "RETIREDUNI_136",
        "name": "Uniform number retired",
        "sortOrder": 4,
        "sport": {
            "id": 1
        },
        "active": true
    },
    {
        "id": "RETIREDUNI_137",
        "name": "Uniform number retired",
        "sortOrder": 4,
        "sport": {
            "id": 1
        },
        "active": true
    },
    {
        "id": "RETIREDUNI_138",
        "name": "Uniform number retired",
        "sortOrder": 4,
        "sport": {
            "id": 1
        },
        "active": true
    },
    {
        "id": "RETIREDUNI_139",
        "name": "Uniform number retired",
        "sortOrder": 4,
        "sport": {
            "id": 1
        },
        "active": true
    },
    {
        "id": "RETIREDUNI_140",
        "name": "Uniform number retired",
        "sortOrder": 4,
        "sport": {
            "id": 1
        },
        "active": true
    },
    {
        "id": "RETIREDUNI_141",
        "name": "Uniform number retired",
        "sortOrder": 4,
        "sport": {
            "id": 1
        },
        "active": true
    },
    {
        "id": "RETIREDUNI_142",
        "name": "Uniform number retired",
        "sortOrder": 4,
        "sport": {
            "id": 1
        },
        "active": true
    },
    {
        "id": "RETIREDUNI_143",
        "name": "Uniform number retired",
        "sortOrder": 4,
        "sport": {
            "id": 1
        },
        "active": true
    },
    {
        "id": "RETIREDUNI_144",
        "name": "Uniform number retired",
        "sortOrder": 4,
        "sport": {
            "id": 1
        },
        "active": true
    },
    {
        "id": "RETIREDUNI_145",
        "name": "Uniform number retired",
        "sortOrder": 4,
        "sport": {
            "id": 1
        },
        "active": true
    },
    {
        "id": "RETIREDUNI_146",
        "name": "Uniform number retired",
        "sortOrder": 4,
        "sport": {
            "id": 1
        },
        "active": true
    },
    {
        "id": "RETIREDUNI_147",
        "name": "Uniform number retired",
        "sortOrder": 4,
        "sport": {
            "id": 1
        },
        "active": true
    },
    {
        "id": "RETIREDUNI_158",
        "name": "Uniform number retired",
        "sortOrder": 4,
        "sport": {
            "id": 1
        },
        "active": true
    },
    {
        "id": "ALMVP",
        "name": "AL MVP",
        "sortOrder": 7,
        "league": {
            "id": 103
        },
        "active": true
    },
    {
        "id": "NLMVP",
        "name": "NL MVP",
        "sortOrder": 7,
        "league": {
            "id": 104
        },
        "active": true
    },
    {
        "id": "ALAWARD",
        "name": "The American League Award",
        "sortOrder": 8,
        "league": {
            "id": 103
        },
        "active": false
    },
    {
        "id": "ALCHALM",
        "name": "The Chalmers Award (AL)",
        "sortOrder": 8,
        "league": {
            "id": 103
        },
        "active": false
    },
    {
        "id": "NLCHALM",
        "name": "The Chalmers Award (NL)",
        "sortOrder": 8,
        "league": {
            "id": 104
        },
        "active": false
    },
    {
        "id": "NLAWARD",
        "name": "The National League Award",
        "sortOrder": 8,
        "league": {
            "id": 104
        },
        "active": false
    },
    {
        "id": "ALCY",
        "name": "AL Cy Young",
        "sortOrder": 11,
        "league": {
            "id": 103
        },
        "active": true
    },
    {
        "id": "NLCY",
        "name": "NL Cy Young",
        "sortOrder": 11,
        "league": {
            "id": 104
        },
        "active": true
    },
    {
        "id": "MLBCY",
        "name": "MLB Cy Young",
        "sortOrder": 12,
        "sport": {
            "id": 1
        },
        "active": false
    },
    {
        "id": "ALROY",
        "name": "Jackie Robinson AL Rookie of the Year",
        "sortOrder": 14,
        "league": {
            "id": 103
        },
        "active": true
    },
    {
        "id": "NLROY",
        "name": "Jackie Robinson NL Rookie of the Year",
        "sortOrder": 14,
        "league": {
            "id": 104
        },
        "active": true
    }
]
Obtenha prêmios da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44476/get+mlb+awards' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna as divisões de um esporte com seu nome, abreviação e liga
Endpoint ID: 44477
GET https://zylalabs.com/api/15957/mlb+api/44477/get+mlb+divisions
PARÂMETROS DE ENTRADA

Obter divisões da MLB — Recursos do endpoint

Objeto Descrição
sport Opcional Optional sport: "mlb", "aaa", "aa", "high_a", "single_a", "rookie" or "winter" (defaults to "mlb"). Use the /general/sports endpoint to list valid values.

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

sport
RESPOSTA DE EXEMPLO DA API
JSON
[
    {
        "id": 200,
        "name": "American League West",
        "season": "2026",
        "nameShort": "AL West",
        "abbreviation": "ALW",
        "league": {
            "id": 103
        },
        "sport": {
            "id": 1
        },
        "hasWildcard": false,
        "sortOrder": 24,
        "numPlayoffTeams": 1,
        "active": true
    },
    {
        "id": 201,
        "name": "American League East",
        "season": "2026",
        "nameShort": "AL East",
        "abbreviation": "ALE",
        "league": {
            "id": 103
        },
        "sport": {
            "id": 1
        },
        "hasWildcard": false,
        "sortOrder": 22,
        "numPlayoffTeams": 1,
        "active": true
    },
    {
        "id": 202,
        "name": "American League Central",
        "season": "2026",
        "nameShort": "AL Central",
        "abbreviation": "ALC",
        "league": {
            "id": 103
        },
        "sport": {
            "id": 1
        },
        "hasWildcard": false,
        "sortOrder": 23,
        "numPlayoffTeams": 1,
        "active": true
    },
    {
        "id": 203,
        "name": "National League West",
        "season": "2026",
        "nameShort": "NL West",
        "abbreviation": "NLW",
        "league": {
            "id": 104
        },
        "sport": {
            "id": 1
        },
        "hasWildcard": false,
        "sortOrder": 34,
        "numPlayoffTeams": 1,
        "active": true
    },
    {
        "id": 204,
        "name": "National League East",
        "season": "2026",
        "nameShort": "NL East",
        "abbreviation": "NLE",
        "league": {
            "id": 104
        },
        "sport": {
            "id": 1
        },
        "hasWildcard": false,
        "sortOrder": 32,
        "numPlayoffTeams": 1,
        "active": true
    },
    {
        "id": 205,
        "name": "National League Central",
        "season": "2026",
        "nameShort": "NL Central",
        "abbreviation": "NLC",
        "league": {
            "id": 104
        },
        "sport": {
            "id": 1
        },
        "hasWildcard": false,
        "sortOrder": 33,
        "numPlayoffTeams": 1,
        "active": true
    }
]
Obter divisões da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44477/get+mlb+divisions?sport=mlb' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Lista os valores aceitos pelo parâmetro "category" dos endpoints /league/leaders e /team/leaders (home runs, média de rebatidas, ERA, strikeouts, saves, bases roubadas…)
Endpoint ID: 44478
GET https://zylalabs.com/api/15957/mlb+api/44478/get+mlb+leader+categories
PARÂMETROS DE ENTRADA

Solicitações gratuitas de teste restantes: 3 de 3.

Este endpoint não requer parâmetros de entrada.

RESPOSTA DE EXEMPLO DA API
JSON
[
    "assists",
    "shutouts",
    "homeRuns",
    "sacrificeBunts",
    "sacrificeFlies",
    "runs",
    "groundoutToFlyoutRatio",
    "stolenBases",
    "battingAverage",
    "groundOuts",
    "numberOfPitches",
    "onBasePercentage",
    "caughtStealing",
    "groundIntoDoublePlays",
    "totalBases",
    "earnedRunAverage",
    "fieldingPercentage",
    "walksAndHitsPerInningPitched",
    "flyouts",
    "hitByPitches",
    "gamesPlayed",
    "walks",
    "sluggingPercentage",
    "onBasePlusSlugging",
    "runsBattedIn",
    "triples",
    "extraBaseHits",
    "hits",
    "atBats",
    "strikeouts",
    "doubles",
    "totalPlateAppearances",
    "intentionalWalks",
    "wins",
    "losses",
    "saves",
    "wildPitch",
    "airOuts",
    "balk",
    "blownSaves",
    "catcherEarnedRunAverage",
    "catchersInterference",
    "chances",
    "completeGames",
    "doublePlays",
    "earnedRun",
    "errors",
    "gamesFinished",
    "gamesStarted",
    "hitBatsman",
    "hitsPer9Inn",
    "holds",
    "innings",
    "inningsPitched",
    "outfieldAssists",
    "passedBalls",
    "pickoffs",
    "pitchesPerInning",
    "putOuts",
    "rangeFactorPerGame",
    "rangeFactorPer9Inn",
    "saveOpportunities",
    "stolenBasePercentage",
    "strikeoutsPer9Inn",
    "strikeoutWalkRatio",
    "throwingErrors",
    "totalBattersFaced",
    "triplePlays",
    "walksPer9Inn",
    "winPercentage"
]
Obter categorias de líderes da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44478/get+mlb+leader+categories' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna as ligas de um esporte com suas abreviações, datas da temporada, número de jogos, divisões e formato de repescagem
Endpoint ID: 44479
GET https://zylalabs.com/api/15957/mlb+api/44479/get+mlb+leagues
PARÂMETROS DE ENTRADA

Obter ligas da MLB — Recursos do endpoint

Objeto Descrição
sport Opcional Optional sport: "mlb", "aaa", "aa", "high_a", "single_a", "rookie" or "winter" (defaults to "mlb"). Use the /general/sports endpoint to list valid values.

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

sport
RESPOSTA DE EXEMPLO DA API
JSON
[
    {
        "id": 103,
        "name": "American League",
        "abbreviation": "AL",
        "nameShort": "American",
        "seasonState": "offseason",
        "hasWildCard": true,
        "hasSplitSeason": false,
        "numGames": 162,
        "hasPlayoffPoints": false,
        "numTeams": 15,
        "numWildcardTeams": 3,
        "seasonDateInfo": {
            "seasonId": "2026",
            "preSeasonStartDate": "2026-01-01",
            "preSeasonEndDate": "2026-02-19",
            "seasonStartDate": "2026-02-20",
            "springStartDate": "2026-02-20",
            "springEndDate": "2026-03-24",
            "regularSeasonStartDate": "2026-03-25",
            "lastDate1stHalf": "2026-07-12",
            "allStarDate": "2026-07-14",
            "firstDate2ndHalf": "2026-07-16",
            "regularSeasonEndDate": "2026-09-27",
            "postSeasonStartDate": "2026-09-28",
            "postSeasonEndDate": "2026-10-31",
            "seasonEndDate": "2026-10-31",
            "offseasonStartDate": "2026-11-01",
            "offSeasonEndDate": "2026-12-31",
            "seasonLevelGamedayType": "P",
            "gameLevelGamedayType": "P",
            "qualifierPlateAppearances": 3.1,
            "qualifierOutsPitched": 3
        },
        "season": "2026",
        "orgCode": "AL",
        "conferencesInUse": false,
        "divisionsInUse": true,
        "sport": {
            "id": 1
        },
        "sortOrder": 21,
        "active": true
    },
    {
        "id": 104,
        "name": "National League",
        "abbreviation": "NL",
        "nameShort": "National",
        "seasonState": "offseason",
        "hasWildCard": true,
        "hasSplitSeason": false,
        "numGames": 162,
        "hasPlayoffPoints": false,
        "numTeams": 15,
        "numWildcardTeams": 3,
        "seasonDateInfo": {
            "seasonId": "2026",
            "preSeasonStartDate": "2026-01-01",
            "preSeasonEndDate": "2026-02-19",
            "seasonStartDate": "2026-02-20",
            "springStartDate": "2026-02-20",
            "springEndDate": "2026-03-24",
            "regularSeasonStartDate": "2026-03-25",
            "lastDate1stHalf": "2026-07-12",
            "allStarDate": "2026-07-14",
            "firstDate2ndHalf": "2026-07-16",
            "regularSeasonEndDate": "2026-09-27",
            "postSeasonStartDate": "2026-09-28",
            "postSeasonEndDate": "2026-10-31",
            "seasonEndDate": "2026-10-31",
            "offseasonStartDate": "2026-11-01",
            "offSeasonEndDate": "2026-12-31",
            "seasonLevelGamedayType": "P",
            "gameLevelGamedayType": "P",
            "qualifierPlateAppearances": 3.1,
            "qualifierOutsPitched": 3
        },
        "season": "2026",
        "orgCode": "NL",
        "conferencesInUse": false,
        "divisionsInUse": true,
        "sport": {
            "id": 1
        },
        "sortOrder": 31,
        "active": true
    },
    {
        "id": 114,
        "name": "Cactus League",
        "abbreviation": "CL",
        "nameShort": "Cactus",
        "seasonState": "offseason",
        "hasWildCard": false,
        "hasSplitSeason": false,
        "hasPlayoffPoints": false,
        "seasonDateInfo": {
            "seasonId": "2026",
            "preSeasonStartDate": "2026-01-01",
            "preSeasonEndDate": "2026-02-19",
            "seasonStartDate": "2026-02-20",
            "springStartDate": "2026-02-20",
            "springEndDate": "2026-03-24",
            "offseasonStartDate": "2026-03-25",
            "offSeasonEndDate": "2026-12-31",
            "seasonLevelGamedayType": "F",
            "gameLevelGamedayType": "F"
        },
        "season": "2026",
        "orgCode": "CL",
        "conferencesInUse": false,
        "divisionsInUse": false,
        "sortOrder": 51,
        "active": true
    },
    {
        "id": 115,
        "name": "Grapefruit League",
        "abbreviation": "GL",
        "nameShort": "Grapefruit",
        "seasonState": "offseason",
        "hasWildCard": false,
        "hasSplitSeason": false,
        "hasPlayoffPoints": false,
        "seasonDateInfo": {
            "seasonId": "2026",
            "preSeasonStartDate": "2026-01-01",
            "preSeasonEndDate": "2026-02-19",
            "seasonStartDate": "2026-02-20",
            "springStartDate": "2026-02-20",
            "springEndDate": "2026-03-24",
            "offseasonStartDate": "2026-03-25",
            "offSeasonEndDate": "2026-12-31",
            "seasonLevelGamedayType": "F",
            "gameLevelGamedayType": "F"
        },
        "season": "2026",
        "orgCode": "GL",
        "conferencesInUse": false,
        "divisionsInUse": false,
        "sortOrder": 52,
        "active": true
    },
    {
        "id": 431,
        "name": "Negro National League (II)",
        "abbreviation": "NN2",
        "nameShort": "Negro National (II)",
        "seasonState": "offseason",
        "hasWildCard": false,
        "hasSplitSeason": false,
        "numGames": 59,
        "hasPlayoffPoints": false,
        "numTeams": 6,
        "seasonDateInfo": {
            "seasonId": "1948",
            "preSeasonStartDate": "1948-01-01",
            "preSeasonEndDate": "1948-04-28",
            "seasonStartDate": "1948-04-29",
            "regularSeasonStartDate": "1948-04-29",
            "lastDate1stHalf": "1948-07-05",
            "allStarDate": "1948-07-13",
            "firstDate2ndHalf": "1948-07-06",
            "regularSeasonEndDate": "1948-09-12",
            "postSeasonStartDate": "1948-10-06",
            "postSeasonEndDate": "1948-10-11",
            "seasonEndDate": "1948-10-11",
            "offseasonStartDate": "1948-09-13",
            "offSeasonEndDate": "1948-12-31",
            "seasonLevelGamedayType": "N",
            "gameLevelGamedayType": "N",
            "qualifierPlateAppearances": 3.1,
            "qualifierOutsPitched": 3
        },
        "season": "1948",
        "orgCode": "NN2",
        "conferencesInUse": false,
        "divisionsInUse": false,
        "sport": {
            "id": 1
        },
        "sortOrder": 2411,
        "active": false
    },
    {
        "id": 430,
        "name": "Negro National League (I)",
        "abbreviation": "NNL",
        "nameShort": "Negro National (I)",
        "seasonState": "offseason",
        "hasWildCard": false,
        "hasSplitSeason": false,
        "numGames": 52,
        "hasPlayoffPoints": false,
        "numTeams": 7,
        "seasonDateInfo": {
            "seasonId": "1931",
            "preSeasonStartDate": "1931-01-01",
            "preSeasonEndDate": "1931-05-01",
            "seasonStartDate": "1931-05-02",
            "regularSeasonStartDate": "1931-05-02",
            "regularSeasonEndDate": "1931-09-03",
            "postSeasonStartDate": "1931-10-01",
            "postSeasonEndDate": "1931-10-10",
            "seasonEndDate": "1931-10-10",
            "offseasonStartDate": "1931-09-04",
            "offSeasonEndDate": "1931-12-31",
            "seasonLevelGamedayType": "N",
            "gameLevelGamedayType": "N",
            "qualifierPlateAppearances": 3.1,
            "qualifierOutsPitched": 3
        },
        "season": "1931",
        "orgCode": "NNL",
        "conferencesInUse": false,
        "divisionsInUse": false,
        "sport": {
            "id": 1
        },
        "sortOrder": 2421,
        "active": false
    },
    {
        "id": 429,
        "name": "Negro East West League",
        "abbreviation": "EWL",
        "nameShort": "Negro East West",
        "seasonState": "offseason",
        "hasWildCard": false,
        "hasSplitSeason": false,
        "numGames": 32,
        "hasPlayoffPoints": false,
        "numTeams": 8,
        "seasonDateInfo": {
            "seasonId": "1932",
            "preSeasonStartDate": "1932-01-01",
            "preSeasonEndDate": "1932-05-06",
            "seasonStartDate": "1932-05-07",
            "regularSeasonStartDate": "1932-05-07",
            "regularSeasonEndDate": "1932-09-18",
            "postSeasonStartDate": "1932-09-28",
            "postSeasonEndDate": "1932-10-02",
            "seasonEndDate": "1932-10-02",
            "offseasonStartDate": "1932-09-19",
            "offSeasonEndDate": "1932-12-31",
            "seasonLevelGamedayType": "N",
            "gameLevelGamedayType": "N",
            "qualifierPlateAppearances": 3.1,
            "qualifierOutsPitched": 3
        },
        "season": "1932",
        "orgCode": "EWL",
        "conferencesInUse": false,
        "divisionsInUse": false,
        "sport": {
            "id": 1
        },
        "sortOrder": 2431,
        "active": false
    }
]
Obter ligas da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44479/get+mlb+leagues?sport=mlb' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Lista os valores aceitos pelo parâmetro "type" do endpoint /player/statistics
Endpoint ID: 44480
GET https://zylalabs.com/api/15957/mlb+api/44480/get+mlb+player+stat+types
PARÂMETROS DE ENTRADA

Solicitações gratuitas de teste restantes: 3 de 3.

Este endpoint não requer parâmetros de entrada.

RESPOSTA DE EXEMPLO DA API
JSON
[
    {
        "value": "season",
        "label": "One season"
    },
    {
        "value": "season_advanced",
        "label": "One season, advanced"
    },
    {
        "value": "career",
        "label": "Career"
    },
    {
        "value": "career_advanced",
        "label": "Career, advanced"
    },
    {
        "value": "career_regular_season",
        "label": "Career, regular season only"
    },
    {
        "value": "career_playoffs",
        "label": "Career, postseason only"
    },
    {
        "value": "year_by_year",
        "label": "Every season of the career"
    },
    {
        "value": "year_by_year_advanced",
        "label": "Every season of the career, advanced"
    },
    {
        "value": "year_by_year_playoffs",
        "label": "Every postseason of the career"
    },
    {
        "value": "by_month",
        "label": "One season, by month"
    },
    {
        "value": "by_day_of_week",
        "label": "One season, by day of the week"
    },
    {
        "value": "home_and_away",
        "label": "One season, at home and away"
    },
    {
        "value": "win_loss",
        "label": "One season, in wins and losses"
    },
    {
        "value": "sabermetrics",
        "label": "One season, sabermetrics (WAR, wOBA, FIP…)"
    },
    {
        "value": "expected_statistics",
        "label": "One season, expected statistics (xBA, xSLG, xwOBA…)"
    },
    {
        "value": "pitch_arsenal",
        "label": "One season, by pitch type (usage and speed)"
    },
    {
        "value": "hot_cold_zones",
        "label": "One season, by strike zone area"
    },
    {
        "value": "spray_chart",
        "label": "One season, where the balls in play went"
    },
    {
        "value": "last_games",
        "label": "The last games"
    },
    {
        "value": "rankings",
        "label": "One season, rank in the league"
    }
]
Obter tipos de estatísticas de jogadores da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44480/get+mlb+player+stat+types' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna todas as posições com seu código abreviação nome e tipo conforme aceito pelo parâmetro "position"
Endpoint ID: 44481
GET https://zylalabs.com/api/15957/mlb+api/44481/get+mlb+positions
PARÂMETROS DE ENTRADA

Solicitações gratuitas de teste restantes: 3 de 3.

Este endpoint não requer parâmetros de entrada.

RESPOSTA DE EXEMPLO DA API
JSON
[
    {
        "shortName": "Pitcher",
        "fullName": "Pitcher",
        "abbrev": "P",
        "code": "1",
        "type": "Pitcher",
        "formalName": "Pitcher",
        "displayName": "Pitcher",
        "pitcher": true,
        "gamePosition": true,
        "fielder": false,
        "outfield": false
    },
    {
        "shortName": "Catcher",
        "fullName": "Catcher",
        "abbrev": "C",
        "code": "2",
        "type": "Catcher",
        "formalName": "Catcher",
        "displayName": "Catcher",
        "pitcher": false,
        "gamePosition": true,
        "fielder": true,
        "outfield": false
    },
    {
        "shortName": "1st Base",
        "fullName": "First Base",
        "abbrev": "1B",
        "code": "3",
        "type": "Infielder",
        "formalName": "First Baseman",
        "displayName": "First Base",
        "pitcher": false,
        "gamePosition": true,
        "fielder": true,
        "outfield": false
    },
    {
        "shortName": "2nd Base",
        "fullName": "Second Base",
        "abbrev": "2B",
        "code": "4",
        "type": "Infielder",
        "formalName": "Second Baseman",
        "displayName": "Second Base",
        "pitcher": false,
        "gamePosition": true,
        "fielder": true,
        "outfield": false
    },
    {
        "shortName": "3rd Base",
        "fullName": "Third Base",
        "abbrev": "3B",
        "code": "5",
        "type": "Infielder",
        "formalName": "Third Baseman",
        "displayName": "Third Base",
        "pitcher": false,
        "gamePosition": true,
        "fielder": true,
        "outfield": false
    },
    {
        "shortName": "Shortstop",
        "fullName": "Shortstop",
        "abbrev": "SS",
        "code": "6",
        "type": "Infielder",
        "formalName": "Shortstop",
        "displayName": "Shortstop",
        "pitcher": false,
        "gamePosition": true,
        "fielder": true,
        "outfield": false
    },
    {
        "shortName": "Left Field",
        "fullName": "Outfielder",
        "abbrev": "LF",
        "code": "7",
        "type": "Outfielder",
        "formalName": "Left Fielder",
        "displayName": "Outfielder",
        "pitcher": false,
        "gamePosition": true,
        "fielder": true,
        "outfield": true
    },
    {
        "shortName": "Center Field",
        "fullName": "Outfielder",
        "abbrev": "CF",
        "code": "8",
        "type": "Outfielder",
        "formalName": "Center Fielder",
        "displayName": "Outfielder",
        "pitcher": false,
        "gamePosition": true,
        "fielder": true,
        "outfield": true
    },
    {
        "shortName": "Right Field",
        "fullName": "Outfielder",
        "abbrev": "RF",
        "code": "9",
        "type": "Outfielder",
        "formalName": "Right Fielder",
        "displayName": "Outfielder",
        "pitcher": false,
        "gamePosition": true,
        "fielder": true,
        "outfield": true
    },
    {
        "shortName": "Designated Hitter",
        "fullName": "Designated Hitter",
        "abbrev": "DH",
        "code": "10",
        "type": "Hitter",
        "formalName": "Designated Hitter",
        "displayName": "Designated Hitter",
        "pitcher": false,
        "gamePosition": true,
        "fielder": false,
        "outfield": false
    },
    {
        "shortName": "Pinch Hitter",
        "fullName": "Pinch Hitter",
        "abbrev": "PH",
        "code": "11",
        "type": "Hitter",
        "formalName": "Pinch Hitter",
        "displayName": "Pinch Hitter",
        "pitcher": false,
        "gamePosition": true,
        "fielder": false,
        "outfield": false
    },
    {
        "shortName": "Pinch Runner",
        "fullName": "Pinch Runner",
        "abbrev": "PR",
        "code": "12",
        "type": "Runner",
        "formalName": "Pinch Runner",
        "displayName": "Pinch Runner",
        "pitcher": false,
        "gamePosition": true,
        "fielder": false,
        "outfield": false
    },
    {
        "shortName": "Extra Hitter",
        "fullName": "Extra Hitter",
        "abbrev": "EH",
        "code": "13",
        "type": "Hitter",
        "formalName": "Extra Hitter",
        "displayName": "Extra Hitter",
        "pitcher": false,
        "gamePosition": true,
        "fielder": false,
        "outfield": false
    },
    {
        "shortName": "Base Runner",
        "fullName": "Base Runner",
        "abbrev": "BR",
        "code": "BR",
        "type": "Runner",
        "formalName": "Base Runner",
        "displayName": "Base Runner",
        "pitcher": false,
        "gamePosition": false,
        "fielder": false,
        "outfield": false
    },
    {
        "shortName": "Outfield",
        "fullName": "Outfield",
        "abbrev": "OF",
        "code": "O",
        "type": "Outfielder",
        "formalName": "Outfield",
        "displayName": "Outfield",
        "pitcher": false,
        "gamePosition": false,
        "fielder": true,
        "outfield": true
    },
    {
        "shortName": "Infield",
        "fullName": "Infield",
        "abbrev": "IF",
        "code": "I",
        "type": "Infielder",
        "formalName": "Infield",
        "displayName": "Infield",
        "pitcher": false,
        "gamePosition": false,
        "fielder": true,
        "outfield": false
    },
    {
        "shortName": "Starting Pitcher",
        "fullName": "Starting Pitcher",
        "abbrev": "SP",
        "code": "S",
        "type": "Pitcher",
        "formalName": "Starting Pitcher",
        "displayName": "Starting Pitcher",
        "pitcher": true,
        "gamePosition": false,
        "fielder": false,
        "outfield": false
    },
    {
        "shortName": "Relief Pitcher",
        "fullName": "Relief Pitcher",
        "abbrev": "RP",
        "code": "E",
        "type": "Pitcher",
        "formalName": "Relief Pitcher",
        "displayName": "Relief Pitcher",
        "pitcher": true,
        "gamePosition": false,
        "fielder": false,
        "outfield": false
    }
]
Obter posições da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44481/get+mlb+positions' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna todas as temporadas de um esporte, da mais recente para a mais antiga, com as datas do treinamento de primavera, da temporada regular, do Jogo das Estrelas, da pós-temporada e da offseason, além das aparições qualificadoras no bastão e das entradas arremessadas
Endpoint ID: 44482
GET https://zylalabs.com/api/15957/mlb+api/44482/get+mlb+seasons
PARÂMETROS DE ENTRADA

Obter temporadas da MLB — Recursos do endpoint

Objeto Descrição
sport Opcional Optional sport: "mlb", "aaa", "aa", "high_a", "single_a", "rookie" or "winter" (defaults to "mlb"). Use the /general/sports endpoint to list valid values.

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

sport
RESPOSTA DE EXEMPLO DA API
JSON
[
    {
        "seasonId": "2027",
        "hasWildcard": true,
        "preSeasonStartDate": "2027-01-01",
        "preSeasonEndDate": "2027-02-18",
        "seasonStartDate": "2027-02-19",
        "springStartDate": "2027-02-19",
        "springEndDate": "2027-03-23",
        "regularSeasonStartDate": "2027-03-24",
        "lastDate1stHalf": "2027-07-11",
        "allStarDate": "2027-07-13",
        "firstDate2ndHalf": "2027-07-16",
        "regularSeasonEndDate": "2027-09-26",
        "postSeasonStartDate": "2027-09-27",
        "postSeasonEndDate": "2027-10-31",
        "seasonEndDate": "2027-10-31",
        "offseasonStartDate": "2027-11-01",
        "offSeasonEndDate": "2027-12-31",
        "seasonLevelGamedayType": "P",
        "gameLevelGamedayType": "P",
        "qualifierPlateAppearances": 3.1,
        "qualifierOutsPitched": 3
    },
    {
        "seasonId": "2026",
        "hasWildcard": true,
        "preSeasonStartDate": "2026-01-01",
        "preSeasonEndDate": "2026-02-19",
        "seasonStartDate": "2026-02-20",
        "springStartDate": "2026-02-20",
        "springEndDate": "2026-03-24",
        "regularSeasonStartDate": "2026-03-25",
        "lastDate1stHalf": "2026-07-12",
        "allStarDate": "2026-07-14",
        "firstDate2ndHalf": "2026-07-16",
        "regularSeasonEndDate": "2026-09-27",
        "postSeasonStartDate": "2026-09-28",
        "postSeasonEndDate": "2026-10-28",
        "seasonEndDate": "2026-10-28",
        "offseasonStartDate": "2026-10-29",
        "offSeasonEndDate": "2026-12-31",
        "seasonLevelGamedayType": "P",
        "gameLevelGamedayType": "P",
        "qualifierPlateAppearances": 3.1,
        "qualifierOutsPitched": 3
    },
    {
        "seasonId": "2025",
        "hasWildcard": true,
        "preSeasonStartDate": "2025-01-01",
        "preSeasonEndDate": "2025-02-19",
        "seasonStartDate": "2025-02-20",
        "springStartDate": "2025-02-20",
        "springEndDate": "2025-03-25",
        "regularSeasonStartDate": "2025-03-18",
        "lastDate1stHalf": "2025-07-14",
        "allStarDate": "2025-07-15",
        "firstDate2ndHalf": "2025-07-18",
        "regularSeasonEndDate": "2025-09-28",
        "postSeasonStartDate": "2025-09-30",
        "postSeasonEndDate": "2025-11-01",
        "seasonEndDate": "2025-11-01",
        "offseasonStartDate": "2025-11-02",
        "offSeasonEndDate": "2025-12-31",
        "seasonLevelGamedayType": "P",
        "gameLevelGamedayType": "P",
        "qualifierPlateAppearances": 3.1,
        "qualifierOutsPitched": 3
    },
    {
        "seasonId": "2024",
        "hasWildcard": true,
        "preSeasonStartDate": "2024-01-01",
        "preSeasonEndDate": "2024-02-21",
        "seasonStartDate": "2024-02-22",
        "springStartDate": "2024-02-22",
        "springEndDate": "2024-03-26",
        "regularSeasonStartDate": "2024-03-20",
        "lastDate1stHalf": "2024-07-14",
        "allStarDate": "2024-07-16",
        "firstDate2ndHalf": "2024-07-19",
        "regularSeasonEndDate": "2024-09-30",
        "postSeasonStartDate": "2024-10-01",
        "postSeasonEndDate": "2024-10-30",
        "seasonEndDate": "2024-10-30",
        "offseasonStartDate": "2024-10-31",
        "offSeasonEndDate": "2024-12-31",
        "seasonLevelGamedayType": "P",
        "gameLevelGamedayType": "P",
        "qualifierPlateAppearances": 3.1,
        "qualifierOutsPitched": 3
    },
    {
        "seasonId": "2023",
        "hasWildcard": true,
        "preSeasonStartDate": "2023-01-01",
        "preSeasonEndDate": "2023-02-23",
        "seasonStartDate": "2023-02-24",
        "springStartDate": "2023-02-24",
        "springEndDate": "2023-03-28",
        "regularSeasonStartDate": "2023-03-30",
        "lastDate1stHalf": "2023-07-09",
        "allStarDate": "2023-07-11",
        "firstDate2ndHalf": "2023-07-14",
        "regularSeasonEndDate": "2023-10-02",
        "postSeasonStartDate": "2023-10-03",
        "postSeasonEndDate": "2023-11-01",
        "seasonEndDate": "2023-11-01",
        "offseasonStartDate": "2023-11-02",
        "offSeasonEndDate": "2023-12-31",
        "seasonLevelGamedayType": "P",
        "gameLevelGamedayType": "P",
        "qualifierPlateAppearances": 3.1,
        "qualifierOutsPitched": 3
    },
    {
        "seasonId": "2022",
        "hasWildcard": true,
        "preSeasonStartDate": "2022-01-01",
        "preSeasonEndDate": "2022-02-26",
        "seasonStartDate": "2022-02-27",
        "springStartDate": "2022-02-27",
        "springEndDate": "2022-04-06",
        "regularSeasonStartDate": "2022-04-07",
        "lastDate1stHalf": "2022-07-17",
        "allStarDate": "2022-07-19",
        "firstDate2ndHalf": "2022-07-21",
        "regularSeasonEndDate": "2022-10-05",
        "postSeasonStartDate": "2022-10-07",
        "postSeasonEndDate": "2022-11-05",
        "seasonEndDate": "2022-11-05",
        "offseasonStartDate": "2022-11-06",
        "offSeasonEndDate": "2022-12-31",
        "seasonLevelGamedayType": "P",
        "gameLevelGamedayType": "P",
        "qualifierPlateAppearances": 3.1,
        "qualifierOutsPitched": 3
    },
    {
        "seasonId": "2021",
        "hasWildcard": true,
        "preSeasonStartDate": "2021-01-01",
        "preSeasonEndDate": "2021-02-25",
        "seasonStartDate": "2021-02-26",
        "springStartDate": "2021-02-26",
        "springEndDate": "2021-03-30",
        "regularSeasonStartDate": "2021-04-01",
        "lastDate1stHalf": "2021-07-11",
        "allStarDate": "2021-07-13",
        "firstDate2ndHalf": "2021-07-15",
        "regularSeasonEndDate": "2021-10-03",
        "postSeasonStartDate": "2021-10-04",
        "postSeasonEndDate": "2021-11-02",
        "seasonEndDate": "2021-11-02",
        "offseasonStartDate": "2021-11-03",
        "offSeasonEndDate": "2021-12-31",
        "seasonLevelGamedayType": "P",
        "gameLevelGamedayType": "P",
        "qualifierPlateAppearances": 3.1,
        "qualifierOutsPitched": 3
    },
    {
        "seasonId": "2020",
        "hasWildcard": true,
        "preSeasonStartDate": "2020-01-01",
        "preSeasonEndDate": "2020-02-20",
        "seasonStartDate": "2020-02-21",
        "springStartDate": "2020-02-21",
        "springEndDate": "2020-07-22",
        "regularSeasonStartDate": "2020-07-23",
        "lastDate1stHalf": "2020-08-25",
        "firstDate2ndHalf": "2020-08-26",
        "regularSeasonEndDate": "2020-09-27",
        "postSeasonStartDate": "2020-09-29",
        "postSeasonEndDate": "2020-10-28",
        "seasonEndDate": "2020-10-28",
        "offseasonStartDate": "2020-10-29",
        "offSeasonEndDate": "2020-12-31",
        "seasonLevelGamedayType": "P",
        "gameLevelGamedayType": "P",
        "qualifierPlateAppearances": 3.1,
        "qualifierOutsPitched": 3
    },
    {
        "seasonId": "2019",
        "hasWildcard": true,
        "preSeasonStartDate": "2019-01-01",
        "preSeasonEndDate": "2019-02-20",
        "seasonStartDate": "2019-02-21",
        "springStartDate": "2019-02-21",
        "springEndDate": "2019-03-26",
        "regularSeasonStartDate": "2019-03-20",
        "lastDate1stHalf": "2019-07-07",
        "allStarDate": "2019-07-09",
        "firstDate2ndHalf": "2019-07-11",
        "regularSeasonEndDate": "2019-09-29",
        "postSeasonStartDate": "2019-10-01",
        "postSeasonEndDate": "2019-10-30",
        "seasonEndDate": "2019-10-30",
        "offseasonStartDate": "2019-10-31",
        "offSeasonEndDate": "2019-12-31",
        "seasonLevelGamedayType": "P",
        "gameLevelGamedayType": "P",
        "qualifierPlateAppearances": 3.1,
        "qualifierOutsPitched": 3
    }
]
Obter temporadas da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44482/get+mlb+seasons?sport=mlb' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Lista os valores aceitos pelo parâmetro "sport": Major League Baseball e os níveis de suas ligas menores (Triple-A, Double-A, High-A, Single-A, Rookie) e as ligas de inverno
Endpoint ID: 44483
GET https://zylalabs.com/api/15957/mlb+api/44483/get+mlb+sports
PARÂMETROS DE ENTRADA

Solicitações gratuitas de teste restantes: 3 de 3.

Este endpoint não requer parâmetros de entrada.

RESPOSTA DE EXEMPLO DA API
JSON
[
    {
        "code": "mlb",
        "id": 1,
        "name": "Major League Baseball"
    },
    {
        "code": "aaa",
        "id": 11,
        "name": "Triple-A"
    },
    {
        "code": "aa",
        "id": 12,
        "name": "Double-A"
    },
    {
        "code": "high_a",
        "id": 13,
        "name": "High-A"
    },
    {
        "code": "single_a",
        "id": 14,
        "name": "Single-A"
    },
    {
        "code": "rookie",
        "id": 16,
        "name": "Rookie"
    },
    {
        "code": "winter",
        "id": 17,
        "name": "Winter Leagues"
    }
]
Obtenha esportes da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44483/get+mlb+sports' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Lista os valores aceitos pelo parâmetro "group"
Endpoint ID: 44484
GET https://zylalabs.com/api/15957/mlb+api/44484/get+mlb+stat+groups
PARÂMETROS DE ENTRADA

Solicitações gratuitas de teste restantes: 3 de 3.

Este endpoint não requer parâmetros de entrada.

RESPOSTA DE EXEMPLO DA API
JSON
[
    {
        "value": "hitting",
        "label": "Hitting"
    },
    {
        "value": "pitching",
        "label": "Pitching"
    },
    {
        "value": "fielding",
        "label": "Fielding"
    },
    {
        "value": "catching",
        "label": "Catching"
    },
    {
        "value": "running",
        "label": "Base running"
    }
]
Obter grupos de estatísticas da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44484/get+mlb+stat+groups' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna os estádios de um esporte em uma temporada com sua localização, coordenadas, fuso horário, capacidade, superfície, teto e dimensões do campo
Endpoint ID: 44485
GET https://zylalabs.com/api/15957/mlb+api/44485/get+mlb+venues
PARÂMETROS DE ENTRADA

Obter locais da MLB — Recursos do endpoint

Objeto Descrição
sport Opcional Optional sport: "mlb", "aaa", "aa", "high_a", "single_a", "rookie" or "winter" (defaults to "mlb"). Use the /general/sports endpoint to list valid values.
season Opcional Optional season year (e.g. "2026"; defaults to the current season). Use the /general/seasons endpoint to list valid values.

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

sport
season
RESPOSTA DE EXEMPLO DA API
JSON
[
    {
        "id": 1,
        "name": "Angel Stadium",
        "location": {
            "address1": "2000 Gene Autry Way",
            "city": "Anaheim",
            "state": "California",
            "stateAbbrev": "CA",
            "postalCode": "92806",
            "defaultCoordinates": {
                "latitude": 33.80019044,
                "longitude": -117.8823996
            },
            "azimuthAngle": 43.61,
            "elevation": 151,
            "country": "USA",
            "phone": "(714) 940-2000"
        },
        "timeZone": {
            "tz": "PST",
            "id": "America/Los_Angeles",
            "offset": -8,
            "offsetAtGameTime": -8
        },
        "fieldInfo": {
            "capacity": 45517,
            "turfType": "Grass",
            "roofType": "Open",
            "leftLine": 330,
            "left": 347,
            "leftCenter": 389,
            "center": 396,
            "rightCenter": 365,
            "right": 348,
            "rightLine": 330
        },
        "active": true,
        "season": "2026"
    },
    {
        "id": 2,
        "name": "Oriole Park at Camden Yards",
        "location": {
            "address1": "333 West Camden Street",
            "city": "Baltimore",
            "state": "Maryland",
            "stateAbbrev": "MD",
            "postalCode": "21201",
            "defaultCoordinates": {
                "latitude": 39.283787,
                "longitude": -76.621689
            },
            "azimuthAngle": 31,
            "elevation": 33,
            "country": "USA",
            "phone": "(410) 685-9800"
        },
        "timeZone": {
            "tz": "EST",
            "id": "America/New_York",
            "offset": -5,
            "offsetAtGameTime": -5
        },
        "fieldInfo": {
            "capacity": 42455,
            "turfType": "Grass",
            "roofType": "Open",
            "leftLine": 333,
            "left": 363,
            "leftCenter": 376,
            "center": 410,
            "rightCenter": 373,
            "rightLine": 318
        },
        "active": true,
        "season": "2026"
    },
    {
        "id": 3,
        "name": "Fenway Park",
        "location": {
            "address1": "4 Yawkey Way",
            "city": "Boston",
            "state": "Massachusetts",
            "stateAbbrev": "MA",
            "postalCode": "02215",
            "defaultCoordinates": {
                "latitude": 42.346456,
                "longitude": -71.097441
            },
            "azimuthAngle": 45,
            "elevation": 21,
            "country": "USA",
            "phone": "(617) 267-9440"
        },
        "timeZone": {
            "tz": "EST",
            "id": "America/New_York",
            "offset": -5,
            "offsetAtGameTime": -5
        },
        "fieldInfo": {
            "capacity": 37755,
            "turfType": "Grass",
            "roofType": "Open",
            "leftLine": 310,
            "left": 379,
            "leftCenter": 390,
            "center": 420,
            "rightCenter": 380,
            "rightLine": 302
        },
        "active": true,
        "season": "2026"
    },
    {
        "id": 5380,
        "name": "CoolToday Park",
        "location": {
            "address1": "18800 S. West Villages Pkwy",
            "city": "North Port",
            "state": "Florida",
            "stateAbbrev": "FL",
            "postalCode": "34293",
            "defaultCoordinates": {
                "latitude": 27.04422,
                "longitude": -82.23593
            },
            "country": "USA"
        },
        "timeZone": {
            "tz": "EST",
            "id": "America/New_York",
            "offset": -5,
            "offsetAtGameTime": -5
        },
        "fieldInfo": {
            "capacity": 8500,
            "turfType": "Grass",
            "roofType": "Open",
            "leftLine": 335,
            "left": 385,
            "center": 400,
            "right": 375,
            "rightLine": 325
        },
        "active": true,
        "season": "2026"
    },
    {
        "id": 4,
        "name": "Rate Field",
        "location": {
            "address1": "333 West 35th Street",
            "city": "Chicago",
            "state": "Illinois",
            "stateAbbrev": "IL",
            "postalCode": "60616",
            "defaultCoordinates": {
                "latitude": 41.83,
                "longitude": -87.634167
            },
            "azimuthAngle": 127,
            "elevation": 595,
            "country": "USA",
            "phone": "(312) 674-1000"
        },
        "timeZone": {
            "tz": "CST",
            "id": "America/Chicago",
            "offset": -6,
            "offsetAtGameTime": -6
        },
        "fieldInfo": {
            "capacity": 40126,
            "turfType": "Grass",
            "roofType": "Open",
            "leftLine": 330,
            "leftCenter": 377,
            "center": 400,
            "rightCenter": 372,
            "rightLine": 335
        },
        "active": true,
        "season": "2026"
    },
    {
        "id": 5,
        "name": "Progressive Field",
        "location": {
            "address1": "2401 Ontario Street",
            "city": "Cleveland",
            "state": "Ohio",
            "stateAbbrev": "OH",
            "postalCode": "44115",
            "defaultCoordinates": {
                "latitude": 41.495861,
                "longitude": -81.685255
            },
            "azimuthAngle": 0,
            "elevation": 653,
            "country": "USA",
            "phone": "(216) 420-4200"
        },
        "timeZone": {
            "tz": "EST",
            "id": "America/New_York",
            "offset": -5,
            "offsetAtGameTime": -5
        },
        "fieldInfo": {
            "capacity": 34830,
            "turfType": "Grass",
            "roofType": "Open",
            "leftLine": 325,
            "left": 370,
            "leftCenter": 410,
            "center": 405,
            "rightCenter": 375,
            "rightLine": 325
        },
        "active": true,
        "season": "2026"
    },
    {
        "id": 7,
        "name": "Kauffman Stadium",
        "location": {
            "address1": "One Royal Way",
            "city": "Kansas City",
            "state": "Missouri",
            "stateAbbrev": "MO",
            "postalCode": "64129",
            "defaultCoordinates": {
                "latitude": 39.051567,
                "longitude": -94.480483
            },
            "azimuthAngle": 46,
            "elevation": 856,
            "country": "USA",
            "phone": "(816) 921-8000"
        },
        "timeZone": {
            "tz": "CST",
            "id": "America/Chicago",
            "offset": -6,
            "offsetAtGameTime": -6
        },
        "fieldInfo": {
            "capacity": 38179,
            "turfType": "Grass",
            "roofType": "Open",
            "leftLine": 347,
            "left": 364,
            "leftCenter": 379,
            "center": 410,
            "rightCenter": 379,
            "right": 364,
            "rightLine": 344
        },
        "active": true,
        "season": "2026"
    }
]
Obter locais da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44485/get+mlb+venues?sport=mlb&season=2026' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna os vencedores de um prêmio, começando pelos mais recentes, cada um com a temporada, a data, o jogador com sua posição, a equipe e as observações
Endpoint ID: 44486
GET https://zylalabs.com/api/15957/mlb+api/44486/get+mlb+award+winners
PARÂMETROS DE ENTRADA

Obtenha os vencedores dos prêmios da MLB — Recursos do endpoint

Objeto Descrição
award_id Obrigatório Award id (e.g. "ALMVP", "NLCY", "MLBHOF"). Use the /general/awards endpoint to list valid values.
season Opcional Optional season year, for the winners of one season only (e.g. "2026"; every season when left out).

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

award_id
season
RESPOSTA DE EXEMPLO DA API
JSON
[
    {
        "id": "ALMVP",
        "name": "AL MVP",
        "date": "2026-11-12",
        "season": "2026",
        "team": {
            "id": 117
        },
        "player": {
            "id": 670541,
            "primaryPosition": {
                "code": "10",
                "name": "Designated Hitter",
                "type": "Hitter",
                "abbreviation": "DH"
            },
            "nameFirstLast": "Yordan Alvarez",
            "nameSlug": "yordan-alvarez-670541"
        }
    }
]
Obtenha os vencedores dos prêmios da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44486/get+mlb+award+winners?award_id=ALMVP&season=2026' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna as escolhas de um draft da MLB por rodada, cada uma com o número da escolha, a equipe, o jogador com sua posição, escola, cidade natal e biografia, o bônus de assinatura e o valor da escolha
Endpoint ID: 44487
GET https://zylalabs.com/api/15957/mlb+api/44487/get+mlb+draft
PARÂMETROS DE ENTRADA

Obter draft da MLB — Recursos do endpoint

Objeto Descrição
year Opcional Optional draft year (e.g. "2026"; defaults to the latest draft).
round Opcional Optional round number, for the picks of one round only (e.g. "1").
team_id Opcional Optional team id, for the picks of one team only (e.g. "147"). Use the /team/list endpoint to list valid values.

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

year
round
team_id
RESPOSTA DE EXEMPLO DA API
JSON
[
    {
        "round": "1",
        "picks": [
            {
                "bisPlayerId": 5025949,
                "pickRound": "1",
                "pickNumber": 35,
                "displayPickNumber": 35,
                "roundPickNumber": 27,
                "rank": 17,
                "pickValue": "2826700",
                "signingBonus": "2497500",
                "home": {
                    "city": "New Port Richey",
                    "state": "Florida",
                    "country": "USA"
                },
                "scoutingReport": "https://www.mlb.com/video/2026-draft-hunter-dietz-lhp?t=mlb-draft",
                "school": {
                    "name": "Arkansas",
                    "schoolClass": "4YR JR",
                    "city": "Fayetteville",
                    "country": "USA",
                    "state": "AR"
                },
                "blurb": "Dietz was part of a loaded rotation at Calvary Christian HS (Clearwater, Fla.) in 2023, pitching alongside Landen Maroudis (who signed for $1.5 million as a Blue Jays fourth-rounder) and Liam Peterson (now at Florida and a lock first-round pick). Dietz should join Peterson as a first-rounder in July despite totaling just 1 2/3 innings in his first two seasons at Arkansas. He had a stress fracture in his elbow that required surgery in the fall of 2023 and pitched twice the following spring but broke out this year with 131 strikeouts in 85 2/3 innings and a Southeastern Conference-best nine quality starts. His performance during fall practice was so spectacular that some evaluators believed Dietz was the best college left-hander in the 2026 Draft and he has cemented that status with a strong and healthy spring. He works at 94-96 mph and reaches 98 with his fastball, displaying impressive backspin and carry at times and natural cut at others. His mid-80s slider and upper-80s cutter play as plus offerings, and his low-80s curveball does as well even if it's less consistent. He barely uses a mid-80s changeup with depth. Dietz presents an unusual look for hitters, delivering pitches from a 6-foot-6 frame with a high three-quarters arm slot. After two years of little activity, he has filled the zone and finished his season with 14 strikeouts against Kansas in an NCAA regional game. He could continue to improve as he gains more experience.",
                "headshotLink": "https://img.mlbstatic.com/mlb-photos/image/upload/d_people:generic:headshot:silo:current.png/w_120,q_auto:best/v1/people/806059/headshot/draft/current",
                "person": {
                    "id": 806059,
                    "fullName": "Hunter Dietz",
                    "firstName": "Hunter",
                    "lastName": "Dietz",
                    "birthDate": "2005-03-03",
                    "currentAge": 21,
                    "birthCity": "Carmel",
                    "birthStateProvince": "IN",
                    "birthCountry": "USA",
                    "height": "6' 6\"",
                    "weight": 235,
                    "active": true,
                    "primaryPosition": {
                        "code": "1",
                        "name": "Pitcher",
                        "type": "Pitcher",
                        "abbreviation": "P"
                    },
                    "useName": "Hunter",
                    "useLastName": "Dietz",
                    "middleName": "Doyle",
                    "boxscoreName": "Dietz",
                    "gender": "M",
                    "isPlayer": true,
                    "isVerified": true,
                    "draftYear": 2026,
                    "batSide": {
                        "code": "R",
                        "description": "Right"
                    },
                    "pitchHand": {
                        "code": "L",
                        "description": "Left"
                    },
                    "nameFirstLast": "Hunter Dietz",
                    "nameSlug": "hunter-dietz-806059",
                    "firstLastName": "Hunter Dietz",
                    "lastFirstName": "Dietz, Hunter",
                    "lastInitName": "Dietz, H",
                    "initLastName": "H Dietz",
                    "fullFMLName": "Hunter Dietz",
                    "fullLFMName": "Dietz, Hunter",
                    "strikeZoneTop": 3.478,
                    "strikeZoneBottom": 1.755
                },
                "team": {
                    "springLeague": {
                        "id": 115,
                        "name": "Grapefruit League",
                        "abbreviation": "GL"
                    },
                    "allStarStatus": "N",
                    "id": 147,
                    "name": "New York Yankees"
                },
                "draftType": {
                    "code": "JR",
                    "description": "Rule 4 / June Amateur Draft"
                },
                "isDrafted": true,
                "isPass": false,
                "year": "2026"
            }
        ]
    }
]
Obter draft da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44487/get+mlb+draft?year=2026&round=1&team_id=147' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna os agentes livres de uma offseason cada um com o jogador sua posição sua equipe original sua nova equipe após a contratação a data em que assinou e observações
Endpoint ID: 44488
GET https://zylalabs.com/api/15957/mlb+api/44488/get+mlb+free+agents
PARÂMETROS DE ENTRADA

Obtenha agentes livres da MLB — Recursos do endpoint

Objeto Descrição
season Opcional Optional season year the free agency follows (e.g. "2026"; defaults to the current season). Use the /general/seasons endpoint to list valid values.

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

season
RESPOSTA DE EXEMPLO DA API
JSON
[
    {
        "player": {
            "id": 691769,
            "fullName": "Philip Abner",
            "firstName": "Philip",
            "lastName": "Abner",
            "birthDate": "2002-05-05",
            "currentAge": 24,
            "birthCity": "Charlotte",
            "birthStateProvince": "NC",
            "birthCountry": "USA",
            "height": "6' 1\"",
            "weight": 230,
            "active": true,
            "primaryPosition": {
                "code": "1",
                "name": "Pitcher",
                "type": "Pitcher",
                "abbreviation": "P"
            },
            "useName": "Philip",
            "useLastName": "Abner",
            "middleName": "James",
            "boxscoreName": "Abner",
            "gender": "M",
            "isPlayer": true,
            "isVerified": true,
            "draftYear": 2023,
            "mlbDebutDate": "2025-09-19",
            "batSide": {
                "code": "L",
                "description": "Left"
            },
            "pitchHand": {
                "code": "L",
                "description": "Left"
            },
            "nameFirstLast": "Philip Abner",
            "nameSlug": "philip-abner-691769",
            "firstLastName": "Philip Abner",
            "lastFirstName": "Abner, Philip",
            "lastInitName": "Abner, P",
            "initLastName": "P Abner",
            "fullFMLName": "Philip James Abner",
            "fullLFMName": "Abner, Philip James",
            "strikeZoneTop": 3.41,
            "strikeZoneBottom": 1.57
        },
        "originalTeam": {
            "id": 110,
            "name": "Baltimore Orioles"
        },
        "newTeam": {
            "id": 120,
            "name": "Washington Nationals"
        },
        "notes": "Claimed off waivers.",
        "dateSigned": "2026-11-17",
        "dateDeclared": "2026-11-17",
        "position": {
            "code": "E",
            "name": "Relief Pitcher",
            "type": "Pitcher",
            "abbreviation": "RP"
        }
    },
    {
        "player": {
            "id": 650556,
            "fullName": "Bryan Abreu",
            "firstName": "Bryan",
            "lastName": "Abreu",
            "primaryNumber": "52",
            "birthDate": "1997-04-22",
            "currentAge": 29,
            "birthCity": "Santo Domingo Centro",
            "birthCountry": "Dominican Republic",
            "height": "6' 1\"",
            "weight": 230,
            "active": true,
            "primaryPosition": {
                "code": "1",
                "name": "Pitcher",
                "type": "Pitcher",
                "abbreviation": "P"
            },
            "useName": "Bryan",
            "useLastName": "Abreu",
            "middleName": "Enrique",
            "boxscoreName": "Abreu, B",
            "gender": "M",
            "nameMatrilineal": "Jimenez",
            "isPlayer": true,
            "isVerified": true,
            "mlbDebutDate": "2019-07-31",
            "batSide": {
                "code": "R",
                "description": "Right"
            },
            "pitchHand": {
                "code": "R",
                "description": "Right"
            },
            "nameFirstLast": "Bryan Abreu",
            "nameSlug": "bryan-abreu-650556",
            "firstLastName": "Bryan Abreu",
            "lastFirstName": "Abreu, Bryan",
            "lastInitName": "Abreu, B",
            "initLastName": "B Abreu",
            "fullFMLName": "Bryan Enrique Abreu",
            "fullLFMName": "Abreu, Bryan Enrique",
            "strikeZoneTop": 3.255,
            "strikeZoneBottom": 1.643
        },
        "originalTeam": {
            "id": 117,
            "name": "Houston Astros"
        },
        "newTeam": {
            "id": 135,
            "name": "San Diego Padres"
        },
        "notes": "Three-year Contract.",
        "dateSigned": "2026-11-30",
        "dateDeclared": "2026-10-29",
        "position": {
            "code": "1",
            "name": "Pitcher",
            "type": "Pitcher",
            "abbreviation": "P"
        }
    },
    {
        "player": {
            "id": 592094,
            "fullName": "Jason Adam",
            "firstName": "Jason",
            "lastName": "Adam",
            "primaryNumber": "40",
            "birthDate": "1991-08-04",
            "currentAge": 35,
            "birthCity": "Omaha",
            "birthStateProvince": "NE",
            "birthCountry": "USA",
            "height": "6' 3\"",
            "weight": 229,
            "active": true,
            "primaryPosition": {
                "code": "1",
                "name": "Pitcher",
                "type": "Pitcher",
                "abbreviation": "P"
            },
            "useName": "Jason",
            "useLastName": "Adam",
            "middleName": "Kendall",
            "boxscoreName": "Adam",
            "gender": "M",
            "isPlayer": true,
            "isVerified": true,
            "draftYear": 2010,
            "mlbDebutDate": "2018-05-05",
            "batSide": {
                "code": "R",
                "description": "Right"
            },
            "pitchHand": {
                "code": "R",
                "description": "Right"
            },
            "nameFirstLast": "Jason Adam",
            "nameSlug": "jason-adam-592094",
            "firstLastName": "Jason Adam",
            "lastFirstName": "Adam, Jason",
            "lastInitName": "Adam, J",
            "initLastName": "J Adam",
            "fullFMLName": "Jason Kendall Adam",
            "fullLFMName": "Adam, Jason Kendall",
            "strikeZoneTop": 3.344,
            "strikeZoneBottom": 1.688
        },
        "originalTeam": {
            "id": 135,
            "name": "San Diego Padres"
        },
        "newTeam": [],
        "dateDeclared": "2026-10-29",
        "position": {
            "code": "E",
            "name": "Relief Pitcher",
            "type": "Pitcher",
            "abbreviation": "RP"
        }
    }
]
Obtenha agentes livres da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44488/get+mlb+free+agents?season=2026' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna os líderes de uma estatística ao longo de uma temporada, cada um com sua classificação, valor, equipe e liga
Endpoint ID: 44489
GET https://zylalabs.com/api/15957/mlb+api/44489/get+mlb+league+leaders
PARÂMETROS DE ENTRADA

Consulte os líderes da liga da MLB — Recursos do endpoint

Objeto Descrição
category Obrigatório Leader category (e.g. "homeRuns", "battingAverage", "earnedRunAverage", "strikeouts"). Use the /general/leader-categories endpoint to list valid values.
group Opcional Optional stat group the category counts in, for a category shared by several (e.g. "pitching" for the strikeouts of pitchers; every group when left out). Use the /general/stat-groups endpoint to list valid values.
league Opcional Optional league: "al" (American League) or "nl" (National League) (both when left out).
season Opcional Optional season year (e.g. "2026"; defaults to the current season). Use the /general/seasons endpoint to list valid values.
game_type Opcional Optional game type (defaults to "regular_season"). Use the /general/game-types endpoint to list valid values.
pool Opcional Optional player pool (defaults to "qualified"). Use the /general/player-pools endpoint to list valid values.
sport Opcional Optional sport: "mlb", "aaa", "aa", "high_a", "single_a", "rookie" or "winter" (defaults to "mlb"). Use the /general/sports endpoint to list valid values.
limit Opcional Optional number of leaders, from 1 to 100 (defaults to 10).

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

category
group
league
season
game_type
pool
sport
limit
RESPOSTA DE EXEMPLO DA API
JSON
[
    {
        "leaderCategory": "homeRuns",
        "season": "2026",
        "gameType": {
            "id": "R",
            "description": "Regular Season"
        },
        "leaders": [
            {
                "rank": 1,
                "value": "43",
                "team": {
                    "id": 110,
                    "name": "Baltimore Orioles"
                },
                "league": {
                    "id": 103,
                    "name": "AL"
                },
                "person": {
                    "id": 624413,
                    "fullName": "Pete Alonso",
                    "firstName": "Pete",
                    "lastName": "Alonso",
                    "nameSlug": "pete-alonso-624413"
                },
                "sport": {
                    "id": 1,
                    "abbreviation": "MLB"
                },
                "season": "2026",
                "numTeams": 1
            },
            {
                "rank": 2,
                "value": "42",
                "team": {
                    "id": 117,
                    "name": "Houston Astros"
                },
                "league": {
                    "id": 103,
                    "name": "AL"
                },
                "person": {
                    "id": 670541,
                    "fullName": "Yordan Alvarez",
                    "firstName": "Yordan",
                    "lastName": "Alvarez",
                    "nameSlug": "yordan-alvarez-670541"
                },
                "sport": {
                    "id": 1,
                    "abbreviation": "MLB"
                },
                "season": "2026",
                "numTeams": 1
            },
            {
                "rank": 2,
                "value": "42",
                "team": {
                    "id": 139,
                    "name": "Tampa Bay Rays"
                },
                "league": {
                    "id": 103,
                    "name": "AL"
                },
                "person": {
                    "id": 691406,
                    "fullName": "Junior Caminero",
                    "firstName": "Junior",
                    "lastName": "Caminero",
                    "nameSlug": "junior-caminero-691406"
                },
                "sport": {
                    "id": 1,
                    "abbreviation": "MLB"
                },
                "season": "2026",
                "numTeams": 1
            },
            {
                "rank": 4,
                "value": "41",
                "team": {
                    "id": 147,
                    "name": "New York Yankees"
                },
                "league": {
                    "id": 103,
                    "name": "AL"
                },
                "person": {
                    "id": 700250,
                    "fullName": "Ben Rice",
                    "firstName": "Ben",
                    "lastName": "Rice",
                    "nameSlug": "ben-rice-700250"
                },
                "sport": {
                    "id": 1,
                    "abbreviation": "MLB"
                },
                "season": "2026",
                "numTeams": 1
            },
            {
                "rank": 5,
                "value": "35",
                "team": {
                    "id": 145,
                    "name": "Chicago White Sox"
                },
                "league": {
                    "id": 103,
                    "name": "AL"
                },
                "person": {
                    "id": 808959,
                    "fullName": "Munetaka Murakami",
                    "firstName": "Munetaka",
                    "lastName": "Murakami",
                    "nameSlug": "munetaka-murakami-808959"
                },
                "sport": {
                    "id": 1,
                    "abbreviation": "MLB"
                },
                "season": "2026",
                "numTeams": 1
            },
            {
                "rank": 6,
                "value": "33",
                "team": {
                    "id": 141,
                    "name": "Toronto Blue Jays"
                },
                "league": {
                    "id": 103,
                    "name": "AL"
                },
                "person": {
                    "id": 672960,
                    "fullName": "Kazuma Okamoto",
                    "firstName": "Kazuma",
                    "lastName": "Okamoto",
                    "nameSlug": "kazuma-okamoto-672960"
                },
                "sport": {
                    "id": 1,
                    "abbreviation": "MLB"
                },
                "season": "2026",
                "numTeams": 1
            },
            {
                "rank": 6,
                "value": "33",
                "team": {
                    "id": 145,
                    "name": "Chicago White Sox"
                },
                "league": {
                    "id": 103,
                    "name": "AL"
                },
                "person": {
                    "id": 678246,
                    "fullName": "Miguel Vargas",
                    "firstName": "Miguel",
                    "lastName": "Vargas",
                    "nameSlug": "miguel-vargas-678246"
                },
                "sport": {
                    "id": 1,
                    "abbreviation": "MLB"
                },
                "season": "2026",
                "numTeams": 1
            },
            {
                "rank": 8,
                "value": "31",
                "team": {
                    "id": 145,
                    "name": "Chicago White Sox"
                },
                "league": {
                    "id": 103,
                    "name": "AL"
                },
                "person": {
                    "id": 695657,
                    "fullName": "Colson Montgomery",
                    "firstName": "Colson",
                    "lastName": "Montgomery",
                    "nameSlug": "colson-montgomery-695657"
                },
                "sport": {
                    "id": 1,
                    "abbreviation": "MLB"
                },
                "season": "2026",
                "numTeams": 1
            },
            {
                "rank": 9,
                "value": "29",
                "team": {
                    "id": 117,
                    "name": "Houston Astros"
                },
                "league": {
                    "id": 103,
                    "name": "AL"
                },
                "person": {
                    "id": 572233,
                    "fullName": "Christian Walker",
                    "firstName": "Christian",
                    "lastName": "Walker",
                    "nameSlug": "christian-walker-572233"
                },
                "sport": {
                    "id": 1,
                    "abbreviation": "MLB"
                },
                "season": "2026",
                "numTeams": 1
            },
            {
                "rank": 10,
                "value": "28",
                "team": {
                    "id": 140,
                    "name": "Texas Rangers"
                },
                "league": {
                    "id": 103,
                    "name": "AL"
                },
                "person": {
                    "id": 669394,
                    "fullName": "Jake Burger",
                    "firstName": "Jake",
                    "lastName": "Burger",
                    "nameSlug": "jake-burger-669394"
                },
                "sport": {
                    "id": 1,
                    "abbreviation": "MLB"
                },
                "season": "2026",
                "numTeams": 1
            }
        ],
        "statGroup": "hitting",
        "league": {
            "id": 103,
            "name": "AL"
        },
        "totalSplits": 64
    }
]
Consulte os líderes da liga da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44489/get+mlb+league+leaders?category=homeRuns&group=hitting&league=al&season=2026&game_type=regular_season&pool=qualified&sport=mlb&limit=10' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna as estatísticas da temporada de cada jogador de um esporte liga equipe ou posição classificadas por qualquer estatística cada uma com sua classificação equipe posição e linha completa de rebatidas arremessos ou defesa 50 jogadores por página
Endpoint ID: 44490
GET https://zylalabs.com/api/15957/mlb+api/44490/get+mlb+player+statistics+leaderboard
PARÂMETROS DE ENTRADA

Obter tabela de classificação das estatísticas dos jogadores da MLB — Recursos do endpoint

Objeto Descrição
group Opcional Optional stat group (defaults to "hitting"). Use the /general/stat-groups endpoint to list valid values.
sort Opcional Optional statistic to sort by, as the results name it (e.g. "homeRuns", "avg", "ops", "era", "strikeOuts", "whip"; defaults to "homeRuns" for hitting, "era" for pitching and "fielding" for fielding).
order Opcional Optional sort order: "desc" or "asc" (defaults to "desc", or "asc" for "era" and "whip"). Use the /general/sort-orders endpoint to list valid values.
league Opcional Optional league: "al" (American League) or "nl" (National League) (both when left out).
team_id Opcional Optional team id, for the players of one team only (e.g. "147"). Use the /team/list endpoint to list valid values.
position Opcional Optional position abbreviation (e.g. "SS", "C", "OF"). Use the /general/positions endpoint to list valid values.
season Opcional Optional season year (e.g. "2026"; defaults to the current season). Use the /general/seasons endpoint to list valid values.
game_type Opcional Optional game type (defaults to "regular_season"). Use the /general/game-types endpoint to list valid values.
pool Opcional Optional player pool (defaults to "qualified"). Use the /general/player-pools endpoint to list valid values.
sport Opcional Optional sport: "mlb", "aaa", "aa", "high_a", "single_a", "rookie" or "winter" (defaults to "mlb"). Use the /general/sports endpoint to list valid values.
page Opcional Optional page number, from 1 to 40 (defaults to 1).

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

group
sort
order
league
team_id
position
season
game_type
pool
sport
page
RESPOSTA DE EXEMPLO DA API
JSON
{
    "total": 65,
    "page": 1,
    "per_page": 50,
    "has_more": true,
    "results": [
        {
            "season": "2026",
            "stat": {
                "age": 31,
                "gamesPlayed": 161,
                "groundOuts": 135,
                "airOuts": 142,
                "runs": 100,
                "doubles": 24,
                "triples": 0,
                "homeRuns": 43,
                "strikeOuts": 169,
                "baseOnBalls": 81,
                "intentionalWalks": 6,
                "hits": 161,
                "hitByPitch": 12,
                "avg": ".267",
                "atBats": 602,
                "obp": ".363",
                "slg": ".522",
                "ops": ".885",
                "caughtStealing": 1,
                "stolenBases": 5,
                "stolenBasePercentage": ".833",
                "caughtStealingPercentage": ".167",
                "groundIntoDoublePlay": 13,
                "numberOfPitches": 2861,
                "plateAppearances": 700,
                "totalBases": 314,
                "rbi": 113,
                "leftOnBase": 257,
                "sacBunts": 0,
                "sacFlies": 5,
                "babip": ".299",
                "groundOutsToAirouts": "0.95",
                "catchersInterference": 0,
                "atBatsPerHomeRun": "14.00"
            },
            "team": {
                "id": 110,
                "name": "Baltimore Orioles"
            },
            "player": {
                "id": 624413,
                "fullName": "Pete Alonso",
                "firstName": "Pete",
                "lastName": "Alonso",
                "nameSlug": "pete-alonso-624413"
            },
            "league": {
                "id": 103,
                "name": "AL"
            },
            "sport": {
                "id": 1,
                "abbreviation": "MLB"
            },
            "numTeams": 1,
            "rank": 1,
            "position": {
                "code": "3",
                "name": "First Base",
                "type": "Infielder",
                "abbreviation": "1B"
            }
        },
        {
            "season": "2026",
            "stat": {
                "age": 29,
                "gamesPlayed": 158,
                "groundOuts": 95,
                "airOuts": 178,
                "runs": 105,
                "doubles": 34,
                "triples": 1,
                "homeRuns": 42,
                "strikeOuts": 120,
                "baseOnBalls": 109,
                "intentionalWalks": 33,
                "hits": 179,
                "hitByPitch": 11,
                "avg": ".316",
                "atBats": 567,
                "obp": ".432",
                "slg": ".601",
                "ops": "1.033",
                "caughtStealing": 0,
                "stolenBases": 1,
                "stolenBasePercentage": "1.000",
                "caughtStealingPercentage": ".000",
                "groundIntoDoublePlay": 7,
                "numberOfPitches": 2628,
                "plateAppearances": 692,
                "totalBases": 341,
                "rbi": 106,
                "leftOnBase": 174,
                "sacBunts": 0,
                "sacFlies": 5,
                "babip": ".334",
                "groundOutsToAirouts": "0.53",
                "catchersInterference": 0,
                "atBatsPerHomeRun": "13.50"
            },
            "team": {
                "id": 117,
                "name": "Houston Astros"
            },
            "player": {
                "id": 670541,
                "fullName": "Yordan Alvarez",
                "firstName": "Yordan",
                "lastName": "Alvarez",
                "nameSlug": "yordan-alvarez-670541"
            },
            "league": {
                "id": 103,
                "name": "AL"
            },
            "sport": {
                "id": 1,
                "abbreviation": "MLB"
            },
            "numTeams": 1,
            "rank": 2,
            "position": {
                "code": "10",
                "name": "Designated Hitter",
                "type": "Hitter",
                "abbreviation": "DH"
            }
        },
        {
            "season": "2026",
            "stat": {
                "age": 22,
                "gamesPlayed": 162,
                "groundOuts": 183,
                "airOuts": 137,
                "runs": 100,
                "doubles": 25,
                "triples": 1,
                "homeRuns": 42,
                "strikeOuts": 129,
                "baseOnBalls": 79,
                "intentionalWalks": 14,
                "hits": 170,
                "hitByPitch": 4,
                "avg": ".276",
                "atBats": 616,
                "obp": ".360",
                "slg": ".524",
                "ops": ".884",
                "caughtStealing": 3,
                "stolenBases": 3,
                "stolenBasePercentage": ".500",
                "caughtStealingPercentage": ".500",
                "groundIntoDoublePlay": 26,
                "numberOfPitches": 2711,
                "plateAppearances": 702,
                "totalBases": 323,
                "rbi": 101,
                "leftOnBase": 257,
                "sacBunts": 0,
                "sacFlies": 3,
                "babip": ".286",
                "groundOutsToAirouts": "1.34",
                "catchersInterference": 0,
                "atBatsPerHomeRun": "14.67"
            },
            "team": {
                "id": 139,
                "name": "Tampa Bay Rays"
            },
            "player": {
                "id": 691406,
                "fullName": "Junior Caminero",
                "firstName": "Junior",
                "lastName": "Caminero",
                "nameSlug": "junior-caminero-691406"
            },
            "league": {
                "id": 103,
                "name": "AL"
            },
            "sport": {
                "id": 1,
                "abbreviation": "MLB"
            },
            "numTeams": 1,
            "rank": 2,
            "position": {
                "code": "5",
                "name": "Third Base",
                "type": "Infielder",
                "abbreviation": "3B"
            }
        }
    ]
}
Obter tabela de classificação das estatísticas dos jogadores da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44490/get+mlb+player+statistics+leaderboard?group=hitting&sort=homeRuns&order=desc&league=al&season=2026&game_type=regular_season&sport=mlb' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna as séries da pós-temporada de uma temporada, da Série Wild Card à Série Mundial, cada uma com seus jogos, placares, linhas de pontuação e arremessadores vencedores e perdedores
Endpoint ID: 44491
GET https://zylalabs.com/api/15957/mlb+api/44491/get+mlb+postseason
PARÂMETROS DE ENTRADA

Obtenha a pós-temporada da MLB — Recursos do endpoint

Objeto Descrição
season Opcional Optional season year (e.g. "2026"; defaults to the current season). Use the /general/seasons endpoint to list valid values.

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

season
RESPOSTA DE EXEMPLO DA API
JSON
[
    {
        "series": {
            "id": "W_1",
            "sortNumber": 1,
            "isDefault": true,
            "gameType": "W"
        },
        "totalItems": 5,
        "totalGames": 5
    }
]
Obtenha a pós-temporada da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44491/get+mlb+postseason?season=2026' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna a classificação das ligas Americana e Nacional por divisão, a disputa pelo wild card, os líderes das divisões, o treinamento de primavera ou a liga inteira, cada equipe com suas vitórias, derrotas, porcentagem, jogos atrás, jogos atrás na disputa pelo wild card, sequência, saldo de corridas, corridas marcadas e permitidas, status de classificação garantida e seu retrospecto em casa, fora de casa, por mês, contra cada divisão e em jogos decididos por uma corrida e em entradas extras
Endpoint ID: 44492
GET https://zylalabs.com/api/15957/mlb+api/44492/get+mlb+standings
PARÂMETROS DE ENTRADA

Veja a classificação da MLB — Recursos do endpoint

Objeto Descrição
league Opcional Optional league: "al" (American League), "nl" (National League) or "all" (defaults to "all").
type Opcional Optional standings type (defaults to "regular_season"). Use the /general/standings-types endpoint to list valid values.
season Opcional Optional season year (e.g. "2026"; defaults to the current season). Use the /general/seasons endpoint to list valid values.
date Opcional Optional date in the YYYY-MM-DD format, for the standings as they were on that day (e.g. "2026-07-01").

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

league
type
season
date
RESPOSTA DE EXEMPLO DA API
JSON
[
    {
        "standingsType": "regularSeason",
        "league": {
            "id": 103
        },
        "division": {
            "id": 201
        },
        "sport": {
            "id": 1
        },
        "roundRobin": {
            "status": "false"
        },
        "lastUpdated": "2026-11-20T15:39:56.554Z",
        "teamRecords": [
            {
                "team": {
                    "springLeague": {
                        "id": 115,
                        "name": "Grapefruit League",
                        "abbreviation": "GL"
                    },
                    "allStarStatus": "N",
                    "id": 139,
                    "name": "Tampa Bay Rays",
                    "season": 2026,
                    "venue": {
                        "id": 12,
                        "name": "Tropicana Field"
                    },
                    "springVenue": {
                        "id": 2534
                    },
                    "teamCode": "tba",
                    "fileCode": "tb",
                    "abbreviation": "TB",
                    "teamName": "Rays",
                    "locationName": "St. Petersburg",
                    "firstYearOfPlay": "1996",
                    "league": {
                        "id": 103,
                        "name": "American League",
                        "abbreviation": "AL",
                        "nameShort": "American",
                        "seasonState": "offseason",
                        "hasWildCard": true,
                        "hasSplitSeason": false,
                        "numGames": 162,
                        "hasPlayoffPoints": false,
                        "numTeams": 15,
                        "numWildcardTeams": 3,
                        "seasonDateInfo": {
                            "seasonId": "2026",
                            "preSeasonStartDate": "2026-01-01",
                            "preSeasonEndDate": "2026-02-19",
                            "seasonStartDate": "2026-02-20",
                            "springStartDate": "2026-02-20",
                            "springEndDate": "2026-03-24",
                            "regularSeasonStartDate": "2026-03-25",
                            "lastDate1stHalf": "2026-07-12",
                            "allStarDate": "2026-07-14",
                            "firstDate2ndHalf": "2026-07-16",
                            "regularSeasonEndDate": "2026-09-27",
                            "postSeasonStartDate": "2026-09-28",
                            "postSeasonEndDate": "2026-10-31",
                            "seasonEndDate": "2026-10-31",
                            "offseasonStartDate": "2026-11-01",
                            "offSeasonEndDate": "2026-12-31",
                            "seasonLevelGamedayType": "P",
                            "gameLevelGamedayType": "P",
                            "qualifierPlateAppearances": 3.1,
                            "qualifierOutsPitched": 3
                        },
                        "season": "2026",
                        "orgCode": "AL",
                        "conferencesInUse": false,
                        "divisionsInUse": true,
                        "sport": {
                            "id": 1
                        },
                        "sortOrder": 21,
                        "active": true
                    },
                    "division": {
                        "id": 201,
                        "name": "American League East",
                        "season": "2026",
                        "nameShort": "AL East",
                        "abbreviation": "ALE",
                        "league": {
                            "id": 103
                        },
                        "sport": {
                            "id": 1
                        },
                        "hasWildcard": false,
                        "sortOrder": 22,
                        "numPlayoffTeams": 1,
                        "active": true
                    },
                    "sport": {
                        "id": 1,
                        "name": "Major League Baseball"
                    },
                    "shortName": "Tampa Bay",
                    "franchiseName": "Tampa Bay",
                    "clubName": "Rays",
                    "active": true
                },
                "season": "2026",
                "streak": {
                    "streakCode": "W7",
                    "streakType": "wins",
                    "streakNumber": 7
                },
                "divisionRank": "1",
                "leagueRank": "1",
                "sportRank": "3",
                "gamesPlayed": 83,
                "gamesBack": "-",
                "wildCardGamesBack": "-",
                "leagueGamesBack": "-",
                "springLeagueGamesBack": "-",
                "sportGamesBack": "4.0",
                "divisionGamesBack": "-",
                "conferenceGamesBack": "-",
                "leagueRecord": {
                    "wins": 50,
                    "losses": 33,
                    "ties": 0,
                    "pct": ".602"
                },
                "lastUpdated": "2026-10-23T20:52:56Z",
                "records": {
                    "splitRecords": [
                        {
                            "wins": 31,
                            "losses": 12,
                            "type": "home",
                            "pct": ".721"
                        },
                        {
                            "wins": 19,
                            "losses": 21,
                            "type": "away",
                            "pct": ".475"
                        },
                        {
                            "wins": 19,
                            "losses": 7,
                            "type": "left",
                            "pct": ".731"
                        },
                        {
                            "wins": 12,
                            "losses": 1,
                            "type": "leftHome",
                            "pct": ".923"
                        }
                    ],
                    "divisionRecords": [
                        {
                            "wins": 3,
                            "losses": 3,
                            "pct": ".500",
                            "division": {
                                "id": 200,
                                "name": "American League West"
                            }
                        }
                    ],
                    "overallRecords": [
                        {
                            "wins": 31,
                            "losses": 12,
                            "type": "home",
                            "pct": ".721"
                        },
                        {
                            "wins": 19,
                            "losses": 21,
                            "type": "away",
                            "pct": ".475"
                        }
                    ],
                    "leagueRecords": [
                        {
                            "wins": 34,
                            "losses": 16,
                            "pct": ".680",
                            "league": {
                                "id": 103,
                                "name": "American League"
                            }
                        },
                        {
                            "wins": 16,
                            "losses": 17,
                            "pct": ".485",
                            "league": {
                                "id": 104,
                                "name": "National League"
                            }
                        }
                    ],
                    "expectedRecords": [
                        {
                            "wins": 45,
                            "losses": 38,
                            "type": "xWinLoss",
                            "pct": ".542"
                        },
                        {
                            "wins": 88,
                            "losses": 74,
                            "type": "xWinLossSeason",
                            "pct": ".543"
                        }
                    ]
                },
                "runsAllowed": 346,
                "runsScored": 380,
                "divisionChamp": false,
                "divisionLeader": true,
                "hasWildcard": true,
                "clinched": false,
                "eliminationNumber": "-",
                "eliminationNumberSport": "-",
                "eliminationNumberLeague": "-",
                "eliminationNumberDivision": "-",
                "eliminationNumberConference": "-",
                "wildCardEliminationNumber": "-",
                "magicNumber": "68",
                "wins": 50,
                "losses": 33,
                "runDifferential": 34,
                "winningPercentage": ".602"
            }
        ]
    }
]
Veja a classificação da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44492/get+mlb+standings?league=all&type=regular_season&season=2026&date=2026-07-01' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna as estatísticas de rebatidas, arremessos, defesa, recepção ou corrida nas bases da temporada de cada equipe de um esporte ou liga, cada uma com sua classificação.
Endpoint ID: 44493
GET https://zylalabs.com/api/15957/mlb+api/44493/get+mlb+team+statistics+leaderboard
PARÂMETROS DE ENTRADA

Obter classificação das estatísticas das equipes da MLB — Recursos do endpoint

Objeto Descrição
group Opcional Optional stat group (defaults to "hitting"). Use the /general/stat-groups endpoint to list valid values.
league Opcional Optional league: "al" (American League) or "nl" (National League) (both when left out).
season Opcional Optional season year (e.g. "2026"; defaults to the current season). Use the /general/seasons endpoint to list valid values.
game_type Opcional Optional game type (defaults to "regular_season"). Use the /general/game-types endpoint to list valid values.
sport Opcional Optional sport: "mlb", "aaa", "aa", "high_a", "single_a", "rookie" or "winter" (defaults to "mlb"). Use the /general/sports endpoint to list valid values.

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

group
league
season
game_type
sport
RESPOSTA DE EXEMPLO DA API
JSON
[
    {
        "season": "2026",
        "stat": {
            "gamesPlayed": 162,
            "groundOuts": 1462,
            "airOuts": 1519,
            "runs": 736,
            "doubles": 230,
            "triples": 22,
            "homeRuns": 169,
            "strikeOuts": 1145,
            "baseOnBalls": 514,
            "intentionalWalks": 27,
            "hits": 1405,
            "hitByPitch": 58,
            "avg": ".258",
            "atBats": 5444,
            "obp": ".326",
            "slg": ".402",
            "ops": ".728",
            "caughtStealing": 54,
            "stolenBases": 164,
            "stolenBasePercentage": ".752",
            "caughtStealingPercentage": ".248",
            "groundIntoDoublePlay": 111,
            "numberOfPitches": 22987,
            "plateAppearances": 6106,
            "totalBases": 2186,
            "rbi": 700,
            "leftOnBase": 1112,
            "sacBunts": 45,
            "sacFlies": 42,
            "babip": ".296",
            "groundOutsToAirouts": "0.96",
            "catchersInterference": 3,
            "atBatsPerHomeRun": "32.21"
        },
        "team": {
            "id": 139,
            "name": "Tampa Bay Rays"
        },
        "rank": 1
    },
    {
        "season": "2026",
        "stat": {
            "gamesPlayed": 162,
            "groundOuts": 1248,
            "airOuts": 1646,
            "runs": 690,
            "doubles": 293,
            "triples": 19,
            "homeRuns": 170,
            "strikeOuts": 1272,
            "baseOnBalls": 512,
            "intentionalWalks": 21,
            "hits": 1346,
            "hitByPitch": 57,
            "avg": ".248",
            "atBats": 5438,
            "obp": ".316",
            "slg": ".402",
            "ops": ".718",
            "caughtStealing": 32,
            "stolenBases": 130,
            "stolenBasePercentage": ".802",
            "caughtStealingPercentage": ".198",
            "groundIntoDoublePlay": 102,
            "numberOfPitches": 23164,
            "plateAppearances": 6083,
            "totalBases": 2187,
            "rbi": 656,
            "leftOnBase": 1103,
            "sacBunts": 28,
            "sacFlies": 46,
            "babip": ".291",
            "groundOutsToAirouts": "0.76",
            "catchersInterference": 2,
            "atBatsPerHomeRun": "31.99"
        },
        "team": {
            "id": 118,
            "name": "Kansas City Royals"
        },
        "rank": 2
    },
    {
        "season": "2026",
        "stat": {
            "gamesPlayed": 162,
            "groundOuts": 1454,
            "airOuts": 1573,
            "runs": 648,
            "doubles": 259,
            "triples": 8,
            "homeRuns": 152,
            "strikeOuts": 1149,
            "baseOnBalls": 459,
            "intentionalWalks": 15,
            "hits": 1346,
            "hitByPitch": 60,
            "avg": ".247",
            "atBats": 5447,
            "obp": ".310",
            "slg": ".381",
            "ops": ".691",
            "caughtStealing": 17,
            "stolenBases": 75,
            "stolenBasePercentage": ".815",
            "caughtStealingPercentage": ".185",
            "groundIntoDoublePlay": 129,
            "numberOfPitches": 23034,
            "plateAppearances": 6044,
            "totalBases": 2077,
            "rbi": 615,
            "leftOnBase": 1106,
            "sacBunts": 24,
            "sacFlies": 50,
            "babip": ".285",
            "groundOutsToAirouts": "0.92",
            "catchersInterference": 3,
            "atBatsPerHomeRun": "35.84"
        },
        "team": {
            "id": 141,
            "name": "Toronto Blue Jays"
        },
        "rank": 3
    },
    {
        "season": "2026",
        "stat": {
            "gamesPlayed": 162,
            "groundOuts": 1364,
            "airOuts": 1479,
            "runs": 689,
            "doubles": 285,
            "triples": 26,
            "homeRuns": 163,
            "strikeOuts": 1326,
            "baseOnBalls": 517,
            "intentionalWalks": 13,
            "hits": 1327,
            "hitByPitch": 95,
            "avg": ".245",
            "atBats": 5414,
            "obp": ".319",
            "slg": ".398",
            "ops": ".717",
            "caughtStealing": 39,
            "stolenBases": 107,
            "stolenBasePercentage": ".733",
            "caughtStealingPercentage": ".267",
            "groundIntoDoublePlay": 98,
            "numberOfPitches": 23523,
            "plateAppearances": 6112,
            "totalBases": 2153,
            "rbi": 658,
            "leftOnBase": 1135,
            "sacBunts": 36,
            "sacFlies": 46,
            "babip": ".293",
            "groundOutsToAirouts": "0.92",
            "catchersInterference": 4,
            "atBatsPerHomeRun": "33.22"
        },
        "team": {
            "id": 111,
            "name": "Boston Red Sox"
        },
        "rank": 4
    },
    {
        "season": "2026",
        "stat": {
            "gamesPlayed": 162,
            "groundOuts": 1441,
            "airOuts": 1375,
            "runs": 699,
            "doubles": 244,
            "triples": 17,
            "homeRuns": 194,
            "strikeOuts": 1373,
            "baseOnBalls": 520,
            "intentionalWalks": 18,
            "hits": 1345,
            "hitByPitch": 70,
            "avg": ".245",
            "atBats": 5488,
            "obp": ".317",
            "slg": ".402",
            "ops": ".719",
            "caughtStealing": 32,
            "stolenBases": 91,
            "stolenBasePercentage": ".740",
            "caughtStealingPercentage": ".260",
            "groundIntoDoublePlay": 130,
            "numberOfPitches": 23363,
            "plateAppearances": 6126,
            "totalBases": 2205,
            "rbi": 670,
            "leftOnBase": 1110,
            "sacBunts": 21,
            "sacFlies": 25,
            "babip": ".292",
            "groundOutsToAirouts": "1.05",
            "catchersInterference": 2,
            "atBatsPerHomeRun": "28.29"
        },
        "team": {
            "id": 133,
            "name": "Athletics"
        },
        "rank": 5
    },
    {
        "season": "2026",
        "stat": {
            "gamesPlayed": 162,
            "groundOuts": 1275,
            "airOuts": 1618,
            "runs": 739,
            "doubles": 256,
            "triples": 26,
            "homeRuns": 187,
            "strikeOuts": 1297,
            "baseOnBalls": 507,
            "intentionalWalks": 10,
            "hits": 1337,
            "hitByPitch": 92,
            "avg": ".245",
            "atBats": 5468,
            "obp": ".317",
            "slg": ".403",
            "ops": ".720",
            "caughtStealing": 37,
            "stolenBases": 91,
            "stolenBasePercentage": ".711",
            "caughtStealingPercentage": ".289",
            "groundIntoDoublePlay": 108,
            "numberOfPitches": 23634,
            "plateAppearances": 6127,
            "totalBases": 2206,
            "rbi": 707,
            "leftOnBase": 1092,
            "sacBunts": 11,
            "sacFlies": 47,
            "babip": ".285",
            "groundOutsToAirouts": "0.79",
            "catchersInterference": 1,
            "atBatsPerHomeRun": "29.24"
        },
        "team": {
            "id": 142,
            "name": "Minnesota Twins"
        },
        "rank": 6
    },
    {
        "season": "2026",
        "stat": {
            "gamesPlayed": 162,
            "groundOuts": 1304,
            "airOuts": 1549,
            "runs": 734,
            "doubles": 238,
            "triples": 21,
            "homeRuns": 226,
            "strikeOuts": 1343,
            "baseOnBalls": 530,
            "intentionalWalks": 41,
            "hits": 1320,
            "hitByPitch": 74,
            "avg": ".242",
            "atBats": 5457,
            "obp": ".315",
            "slg": ".417",
            "ops": ".732",
            "caughtStealing": 22,
            "stolenBases": 50,
            "stolenBasePercentage": ".694",
            "caughtStealingPercentage": ".306",
            "groundIntoDoublePlay": 107,
            "numberOfPitches": 23766,
            "plateAppearances": 6122,
            "totalBases": 2278,
            "rbi": 701,
            "leftOnBase": 1095,
            "sacBunts": 18,
            "sacFlies": 41,
            "babip": ".278",
            "groundOutsToAirouts": "0.84",
            "catchersInterference": 2,
            "atBatsPerHomeRun": "24.15"
        },
        "team": {
            "id": 117,
            "name": "Houston Astros"
        },
        "rank": 7
    }
]
Obter classificação das estatísticas das equipes da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44493/get+mlb+team+statistics+leaderboard?group=hitting&league=al&season=2026&game_type=regular_season&sport=mlb' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna as transações de todos os clubes das principais ligas entre duas datas da mais recente para a mais antiga trocas contratações dispensas designações movimentações na lista de lesionados convocações e opções cada uma com o jogador as equipes e sua descrição
Endpoint ID: 44494
GET https://zylalabs.com/api/15957/mlb+api/44494/get+mlb+transactions
PARÂMETROS DE ENTRADA

Obter transações da MLB — Recursos do endpoint

Objeto Descrição
start_date Opcional Optional first date in the YYYY-MM-DD format (defaults to 6 days before "end_date"). At most 31 days before "end_date".
end_date Opcional Optional last date in the YYYY-MM-DD format (defaults to today).

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

start_date
end_date
RESPOSTA DE EXEMPLO DA API
JSON
[
    {
        "id": 933662,
        "person": {
            "id": 692437,
            "fullName": "Winston Santos",
            "nameSlug": "winston-santos-692437"
        },
        "fromTeam": {
            "id": 140,
            "name": "Texas Rangers"
        },
        "toTeam": {
            "id": 102,
            "name": "Round Rock Express"
        },
        "date": "2026-07-31",
        "effectiveDate": "2026-07-31",
        "typeCode": "OPT",
        "typeDesc": "Optioned",
        "description": "Texas Rangers optioned RHP Winston Santos to Round Rock Express."
    },
    {
        "id": 933640,
        "person": {
            "id": 702752,
            "fullName": "Jonathan Pintaro",
            "nameSlug": "jonathan-pintaro-702752"
        },
        "fromTeam": {
            "id": 552,
            "name": "Syracuse Mets"
        },
        "toTeam": {
            "id": 121,
            "name": "New York Mets"
        },
        "date": "2026-07-31",
        "effectiveDate": "2026-07-31",
        "typeCode": "CU",
        "typeDesc": "Recalled",
        "description": "New York Mets recalled RHP Jonathan Pintaro from Syracuse Mets."
    },
    {
        "id": 933660,
        "person": {
            "id": 681168,
            "fullName": "Luis Curvelo",
            "nameSlug": "luis-curvelo-681168"
        },
        "fromTeam": {
            "id": 102,
            "name": "Round Rock Express"
        },
        "toTeam": {
            "id": 140,
            "name": "Texas Rangers"
        },
        "date": "2026-07-31",
        "effectiveDate": "2026-07-31",
        "typeCode": "CU",
        "typeDesc": "Recalled",
        "description": "Texas Rangers recalled RHP Luis Curvelo from Round Rock Express."
    },
    {
        "id": 933650,
        "person": {
            "id": 662144,
            "fullName": "Brian Keller",
            "nameSlug": "brian-keller-662144"
        },
        "fromTeam": {
            "id": 143,
            "name": "Philadelphia Phillies"
        },
        "toTeam": {
            "id": 1410,
            "name": "Lehigh Valley IronPigs"
        },
        "date": "2026-07-31",
        "effectiveDate": "2026-07-31",
        "typeCode": "OPT",
        "typeDesc": "Optioned",
        "description": "Philadelphia Phillies optioned RHP Brian Keller to Lehigh Valley IronPigs."
    },
    {
        "id": 933653,
        "person": {
            "id": 682995,
            "fullName": "Hunter Barco",
            "nameSlug": "hunter-barco-682995"
        },
        "fromTeam": {
            "id": 134,
            "name": "Pittsburgh Pirates"
        },
        "toTeam": {
            "id": 484,
            "name": "Indianapolis Indians"
        },
        "date": "2026-07-31",
        "effectiveDate": "2026-07-31",
        "typeCode": "OPT",
        "typeDesc": "Optioned",
        "description": "Pittsburgh Pirates optioned LHP Hunter Barco to Indianapolis Indians."
    },
    {
        "id": 933717,
        "person": {
            "id": 684665,
            "fullName": "Luke Murphy",
            "nameSlug": "luke-murphy-684665"
        },
        "fromTeam": {
            "id": 559,
            "name": "Rocket City Trash Pandas"
        },
        "toTeam": {
            "id": 108,
            "name": "Los Angeles Angels"
        },
        "date": "2026-07-31",
        "effectiveDate": "2026-07-31",
        "typeCode": "SE",
        "typeDesc": "Selected",
        "description": "Los Angeles Angels selected the contract of RHP Luke Murphy from Rocket City Trash Pandas."
    },
    {
        "id": 933684,
        "person": {
            "id": 690924,
            "fullName": "Braxton Fulford",
            "nameSlug": "braxton-fulford-690924"
        },
        "fromTeam": {
            "id": 115,
            "name": "Colorado Rockies"
        },
        "toTeam": {
            "id": 342,
            "name": "Albuquerque Isotopes"
        },
        "date": "2026-07-31",
        "effectiveDate": "2026-07-31",
        "typeCode": "OPT",
        "typeDesc": "Optioned",
        "description": "Colorado Rockies optioned DH Braxton Fulford to Albuquerque Isotopes."
    },
    {
        "id": 933611,
        "person": {
            "id": 681520,
            "fullName": "Antoine Kelly",
            "nameSlug": "antoine-kelly-681520"
        },
        "fromTeam": {
            "id": 451,
            "name": "Iowa Cubs"
        },
        "toTeam": {
            "id": 112,
            "name": "Chicago Cubs"
        },
        "date": "2026-07-31",
        "effectiveDate": "2026-07-31",
        "typeCode": "CU",
        "typeDesc": "Recalled",
        "description": "Chicago Cubs recalled LHP Antoine Kelly from Iowa Cubs."
    },
    {
        "id": 933741,
        "person": {
            "id": 703601,
            "fullName": "Max Clark",
            "nameSlug": "max-clark-703601"
        },
        "fromTeam": {
            "id": 512,
            "name": "Toledo Mud Hens"
        },
        "toTeam": {
            "id": 116,
            "name": "Detroit Tigers"
        },
        "date": "2026-07-31",
        "effectiveDate": "2026-07-31",
        "typeCode": "SE",
        "typeDesc": "Selected",
        "description": "Detroit Tigers selected the contract of CF Max Clark from Toledo Mud Hens."
    },
    {
        "id": 933792,
        "person": {
            "id": 608344,
            "fullName": "Cole Irvin",
            "nameSlug": "cole-irvin-608344"
        },
        "fromTeam": {
            "id": 238,
            "name": "Oklahoma City Comets"
        },
        "toTeam": {
            "id": 119,
            "name": "Los Angeles Dodgers"
        },
        "date": "2026-07-31",
        "effectiveDate": "2026-07-31",
        "typeCode": "SE",
        "typeDesc": "Selected",
        "description": "Los Angeles Dodgers selected the contract of LHP Cole Irvin from Oklahoma City Comets."
    },
    {
        "id": 933739,
        "person": {
            "id": 669724,
            "fullName": "Brenan Hanifee",
            "nameSlug": "brenan-hanifee-669724"
        },
        "fromTeam": {
            "id": 116,
            "name": "Detroit Tigers"
        },
        "toTeam": {
            "id": 512,
            "name": "Toledo Mud Hens"
        },
        "date": "2026-07-31",
        "effectiveDate": "2026-07-31",
        "typeCode": "OPT",
        "typeDesc": "Optioned",
        "description": "Detroit Tigers optioned RHP Brenan Hanifee to Toledo Mud Hens."
    },
    {
        "id": 933637,
        "person": {
            "id": 702047,
            "fullName": "Alex Cook",
            "nameSlug": "alex-cook-702047"
        },
        "fromTeam": {
            "id": 234,
            "name": "Durham Bulls"
        },
        "toTeam": {
            "id": 139,
            "name": "Tampa Bay Rays"
        },
        "date": "2026-07-31",
        "effectiveDate": "2026-07-31",
        "typeCode": "CU",
        "typeDesc": "Recalled",
        "description": "Tampa Bay Rays recalled RHP Alex Cook from Durham Bulls."
    },
    {
        "id": 933705,
        "person": {
            "id": 671162,
            "fullName": "Connor Thomas",
            "nameSlug": "connor-thomas-671162"
        },
        "fromTeam": {
            "id": 133,
            "name": "Athletics"
        },
        "toTeam": {
            "id": 400,
            "name": "Las Vegas Aviators"
        },
        "date": "2026-07-31",
        "effectiveDate": "2026-07-31",
        "typeCode": "OPT",
        "typeDesc": "Optioned",
        "description": "Athletics optioned LHP Connor Thomas to Las Vegas Aviators."
    }
]
Obter transações da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44494/get+mlb+transactions?start_date=2026-07-25&end_date=2026-07-31' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna uma notícia com o que o endpoint /news/list fornece e seu texto completo em Markdown e suas fotos
Endpoint ID: 44495
GET https://zylalabs.com/api/15957/mlb+api/44495/get+mlb+news+story
PARÂMETROS DE ENTRADA

Obter notícia da MLB — Recursos do endpoint

Objeto Descrição
slug Obrigatório Story slug (e.g. "mlb-all-awardless-team-2026") or its mlb.com link (e.g. "https://www.mlb.com/news/mlb-all-awardless-team-2026"). Use the /news/list endpoint to list valid values.

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

slug
RESPOSTA DE EXEMPLO DA API
JSON
{
    "slug": "mlb-all-awardless-team-2026",
    "url": "https://www.mlb.com/news/mlb-all-awardless-team-2026",
    "headline": "Presenting the 2026 ... All-Awardless Team!",
    "title": "Best MLB players without awards in 2026",
    "summary": "They’ve rolled up the red carpet, opened all the envelopes and thanked the engraving artists for their services. But just because all the MLB Awards have been handed out for 2026 doesn’t mean we can’t",
    "byline": "Anthony Castrovince",
    "type": "Article",
    "date": "2026-11-27T01:55:37.517Z",
    "updated_at": "2026-11-27T16:56:27.138Z",
    "image": {
        "title": "2568x1445_All-Awardless Team for 26",
        "url": "https://img.mlbstatic.com/mlb-images/image/upload/t_16x9/t_w1024/mlb/oltopiumayyvgoscmxmc",
        "thumbnail": "https://img.mlbstatic.com/mlb-images/image/upload/w_250,h_250,c_thumb,g_auto,q_auto,f_jpg/mlb/oltopiumayyvgoscmxmc"
    },
    "teams": [],
    "players": [
        {
            "id": 686948,
            "name": "Drake Baldwin"
        }
    ],
    "body": "They’ve rolled up the red carpet, opened all the envelopes and thanked the engraving artists for their services. But just because all the MLB Awards have been handed out for 2026 doesn’t mean we can’t",
    "images": [
        {
            "title": "2568x1445_All-Awardless Team for 26",
            "url": "https://img.mlbstatic.com/mlb-images/image/upload/t_16x9/t_w1024/mlb/oltopiumayyvgoscmxmc",
            "thumbnail": "https://img.mlbstatic.com/mlb-images/image/upload/w_250,h_250,c_thumb,g_auto,q_auto,f_jpg/mlb/oltopiumayyvgoscmxmc"
        }
    ]
}
Obter notícia da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44495/get+mlb+news+story?slug=mlb-all-awardless-team-2026' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna as notícias mais recentes do mlb.com, cada uma com seu slug, link, título, resumo, autoria, data, imagem e os times e jogadores sobre os quais fala. 25 notícias por página, até 100. .
Endpoint ID: 44496
GET https://zylalabs.com/api/15957/mlb+api/44496/get+mlb+news
PARÂMETROS DE ENTRADA

Receba notícias da MLB — Recursos do endpoint

Objeto Descrição
page Opcional Optional page number, from 1 to 4 (defaults to 1).

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

page
RESPOSTA DE EXEMPLO DA API
JSON
{
    "page": 1,
    "per_page": 25,
    "has_more": false,
    "results": [
        {
            "slug": "commissioner-letter-to-fans-december-2026",
            "url": "https://www.mlb.com/news/commissioner-letter-to-fans-december-2026",
            "headline": "A letter to baseball fans from Commissioner Rob Manfred",
            "title": "Commissioner letter to fans December 2026",
            "summary": " ",
            "byline": null,
            "type": "Article",
            "date": "2026-12-02T00:00:12.924Z",
            "updated_at": "2026-12-02T00:00:12.924Z",
            "image": {
                "title": "mlb 2",
                "url": "https://img.mlbstatic.com/mlb-images/image/upload/t_16x9/t_w1024/mlb/ppwq6snzptokcbyct8bp",
                "thumbnail": "https://img.mlbstatic.com/mlb-images/image/upload/w_250,h_250,c_thumb,g_auto,q_auto,f_jpg/mlb/ppwq6snzptokcbyct8bp"
            },
            "teams": [],
            "players": []
        },
        {
            "slug": "mlb-lockout-begins-december-2-2026",
            "url": "https://www.mlb.com/news/mlb-lockout-begins-december-2-2026",
            "headline": "Without agreement on new CBA, MLB commences lockout",
            "title": "MLB lockout begins December 2, 2026",
            "summary": "SCOTTSDALE – Meetings between Major League Baseball and the MLB Players Association wrapped on Tuesday without a new Collective Bargaining Agreement, and with no further meetings planned, the league implemented a lockout of its players at 12:01 a.m. ET Wednesday.\nCommissioner Rob Manfred announced the league’s plans on Tuesday evening",
            "byline": "Mark Feinsand",
            "type": "Article",
            "date": "2026-12-02T05:01:00Z",
            "updated_at": "2026-12-02T05:06:19.395Z",
            "image": {
                "title": "baseball bats dugout 2",
                "url": "https://img.mlbstatic.com/mlb-images/image/upload/t_16x9/t_w1024/mlb/ttakzplmjc0b4kypxbmx",
                "thumbnail": "https://img.mlbstatic.com/mlb-images/image/upload/w_250,h_250,c_thumb,g_auto,q_auto,f_jpg/mlb/ttakzplmjc0b4kypxbmx"
            },
            "teams": [],
            "players": []
        },
        {
            "slug": "why-is-there-a-lockout-in-mlb-2026-27",
            "url": "https://www.mlb.com/news/why-is-there-a-lockout-in-mlb-2026-27",
            "headline": "FAQ on CBA negotiations between MLB and MLBPA",
            "title": "Why is there a lockout in MLB?",
            "summary": "Q: What is a lockout?\nA: Under federal labor law, when the Collective Bargaining Agreement (CBA) expires without a new agreement in place, the League has the right to lockout the players, and conversely, the players have the right to go on strike at a time of their choosing. In",
            "byline": null,
            "type": "Article",
            "date": "2026-12-02T05:05:34.89Z",
            "updated_at": "2026-12-02T05:37:45.603Z",
            "image": {
                "title": "mlb 3",
                "url": "https://img.mlbstatic.com/mlb-images/image/upload/t_16x9/t_w1024/mlb/ook55ujg0dxejoxfyu0w",
                "thumbnail": "https://img.mlbstatic.com/mlb-images/image/upload/w_250,h_250,c_thumb,g_auto,q_auto,f_jpg/mlb/ook55ujg0dxejoxfyu0w"
            },
            "teams": [],
            "players": []
        },
        {
            "slug": "a-note-about-our-website-content",
            "url": "https://www.mlb.com/news/a-note-about-our-website-content",
            "headline": "A note about our website content",
            "title": "A note about our website content",
            "summary": "You may notice that the content on this site looks a little different than usual. The reason for this is because the Collective Bargaining Agreement between the players and the league expired just before midnight on Dec. 1 and a new CBA is currently being negotiated between the owners and",
            "byline": null,
            "type": "Article",
            "date": "2026-12-02T05:01:00Z",
            "updated_at": "2026-12-02T05:13:36.873Z",
            "image": {
                "title": "mlb 1",
                "url": "https://img.mlbstatic.com/mlb-images/image/upload/t_16x9/t_w1024/mlb/wpf4w3s0bm8lh0t6ylwe",
                "thumbnail": "https://img.mlbstatic.com/mlb-images/image/upload/w_250,h_250,c_thumb,g_auto,q_auto,f_jpg/mlb/wpf4w3s0bm8lh0t6ylwe"
            },
            "teams": [],
            "players": []
        }
    ]
}
Receba notícias da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44496/get+mlb+news?page=1' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna um jogador com seus nomes, número, posição, lado em que rebate e lança, data e local de nascimento, altura, peso, time atual, estreia, escolhas do draft, formação, parentes, prêmios, todos os times em que jogou e todas as transações, da mais recente à mais antiga, com sua foto de rosto, foto em ação e link do mlb.com
Endpoint ID: 44497
GET https://zylalabs.com/api/15957/mlb+api/44497/get+mlb+player+details
PARÂMETROS DE ENTRADA

Obter detalhes do jogador da MLB — Recursos do endpoint

Objeto Descrição
player_id Obrigatório Player id (e.g. "592450"). Use the /search/players endpoint to list valid values.

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

player_id
RESPOSTA DE EXEMPLO DA API
JSON
{
    "id": 592450,
    "fullName": "Aaron Judge",
    "firstName": "Aaron",
    "lastName": "Judge",
    "primaryNumber": "99",
    "birthDate": "1992-04-26",
    "currentAge": 34,
    "birthCity": "Linden",
    "birthStateProvince": "CA",
    "birthCountry": "USA",
    "height": "6' 7\"",
    "weight": 282,
    "active": true,
    "currentTeam": {
        "springLeague": {
            "id": 115,
            "name": "Grapefruit League",
            "abbreviation": "GL"
        },
        "allStarStatus": "N",
        "id": 147,
        "name": "New York Yankees",
        "season": 2026,
        "venue": {
            "id": 3313,
            "name": "Yankee Stadium"
        },
        "springVenue": {
            "id": 2523
        },
        "teamCode": "nya",
        "fileCode": "nyy",
        "abbreviation": "NYY",
        "teamName": "Yankees",
        "locationName": "Bronx",
        "firstYearOfPlay": "1903",
        "league": {
            "id": 103,
            "name": "American League"
        },
        "division": {
            "id": 201,
            "name": "American League East"
        },
        "sport": {
            "id": 1,
            "name": "Major League Baseball"
        },
        "shortName": "NY Yankees",
        "franchiseName": "New York",
        "clubName": "Yankees",
        "active": true
    },
    "primaryPosition": {
        "code": "9",
        "name": "Outfielder",
        "type": "Outfielder",
        "abbreviation": "RF"
    },
    "useName": "Aaron",
    "useLastName": "Judge",
    "middleName": "James",
    "boxscoreName": "Judge",
    "nickName": "Baj",
    "gender": "M",
    "isPlayer": true,
    "isVerified": true,
    "draftYear": 2013,
    "education": {
        "highschools": [
            {
                "name": "Linden",
                "state": "CA"
            }
        ],
        "colleges": [
            {
                "name": "Fresno State"
            }
        ]
    },
    "awards": [
        {
            "id": "SALMSAS",
            "name": "SAL Mid-Season All-Star",
            "date": "2014-06-17",
            "season": "2014",
            "team": {
                "id": 233,
                "teamName": "Charleston"
            },
            "player": {
                "id": 592450,
                "primaryPosition": {
                    "code": "9",
                    "name": "Outfielder",
                    "type": "Outfielder",
                    "abbreviation": "RF"
                }
            }
        },
        {
            "id": "AFLRS",
            "name": "AFL Rising Stars",
            "date": "2014-11-01",
            "season": "2014",
            "team": {
                "id": 544,
                "teamName": "Scottsdale"
            },
            "player": {
                "id": 592450,
                "primaryPosition": {
                    "code": "O",
                    "name": "Outfield",
                    "type": "Outfielder",
                    "abbreviation": "OF"
                }
            }
        }
    ],
    "rosterEntries": [
        {
            "jerseyNumber": "99",
            "position": {
                "code": "9",
                "name": "Outfielder",
                "type": "Outfielder",
                "abbreviation": "RF"
            },
            "status": {
                "code": "A",
                "description": "Active"
            },
            "team": {
                "id": 147,
                "name": "New York Yankees",
                "abbreviation": "NYY",
                "teamName": "Yankees",
                "locationName": "Bronx"
            },
            "isActive": true,
            "startDate": "2022-12-20",
            "statusDate": "2026-10-08",
            "isActiveFortyMan": true
        },
        {
            "jerseyNumber": "99",
            "position": {
                "code": "9",
                "name": "Outfielder",
                "type": "Outfielder",
                "abbreviation": "RF"
            },
            "status": {
                "code": "RA",
                "description": "Rehab Assignment"
            },
            "team": {
                "id": 531,
                "name": "Scranton/Wilkes-Barre RailRiders",
                "abbreviation": "SWB",
                "teamName": "RailRiders",
                "locationName": "Moosic",
                "parentOrgId": 147
            },
            "isActive": false,
            "startDate": "2019-06-14",
            "endDate": "2019-06-20",
            "statusDate": "2019-06-14",
            "isActiveFortyMan": true
        }
    ],
    "mlbDebutDate": "2016-08-13",
    "batSide": {
        "code": "R",
        "description": "Right"
    },
    "pitchHand": {
        "code": "R",
        "description": "Right"
    },
    "nameFirstLast": "Aaron Judge",
    "nameSlug": "aaron-judge-592450",
    "firstLastName": "Aaron Judge",
    "lastFirstName": "Judge, Aaron",
    "lastInitName": "Judge, A",
    "initLastName": "A Judge",
    "fullFMLName": "Aaron James Judge",
    "fullLFMName": "Judge, Aaron James",
    "strikeZoneTop": 3.523,
    "strikeZoneBottom": 1.778,
    "drafts": [
        {
            "pickRound": "31",
            "pickNumber": 935,
            "roundPickNumber": 10,
            "home": [],
            "school": {
                "name": "Linden (CA) HS"
            },
            "headshotLink": "https://img.mlbstatic.com/mlb-photos/image/upload/d_people:generic:headshot:silo:current.png/w_120,q_auto:best/v1/people/592450/headshot/draft/current",
            "person": {
                "id": 592450,
                "birthDate": "1992-04-26",
                "currentAge": 34,
                "primaryPosition": {
                    "code": "O",
                    "name": "Outfield",
                    "type": "Outfielder",
                    "abbreviation": "OF"
                },
                "nameFirstLast": "Aaron Judge",
                "nameSlug": "aaron-judge-592450"
            },
            "team": {
                "id": 133,
                "name": "Oakland Athletics",
                "league": {
                    "id": 103,
                    "name": "American League"
                }
            },
            "draftType": {
                "code": "JR",
                "description": "Rule 4 / June Amateur Draft"
            },
            "isDrafted": true,
            "isPass": false,
            "year": "2010"
        }
    ],
    "transactions": [
        {
            "id": 945401,
            "toTeam": {
                "id": 147,
                "name": "New York Yankees"
            },
            "date": "2026-10-08",
            "effectiveDate": "2026-10-08",
            "resolutionDate": "2026-10-08",
            "typeCode": "SC",
            "typeDesc": "Status Change",
            "description": "New York Yankees activated RF Aaron Judge."
        },
        {
            "id": 944387,
            "toTeam": {
                "id": 147,
                "name": "New York Yankees"
            },
            "date": "2026-09-28",
            "effectiveDate": "2026-09-28",
            "resolutionDate": "2026-09-28",
            "typeCode": "SC",
            "typeDesc": "Status Change",
            "description": "RF Aaron Judge roster status changed by New York Yankees."
        },
        {
            "id": 943221,
            "toTeam": {
                "id": 147,
                "name": "New York Yankees"
            },
            "date": "2026-09-19",
            "effectiveDate": "2026-09-17",
            "resolutionDate": "2026-09-17",
            "typeCode": "SC",
            "typeDesc": "Status Change",
            "description": "New York Yankees placed RF Aaron Judge on the 10-day injured list retroactive to September 17, 2026. Right calf strain."
        }
    ],
    "headshot": "https://img.mlbstatic.com/mlb-photos/image/upload/d_people:generic:headshot:67:current.png/w_426,q_auto:best/v1/people/592450/headshot/67/current",
    "actionShot": "https://img.mlbstatic.com/mlb-photos/image/upload/w_1200,q_auto:best/v1/people/592450/action/hero/current",
    "url": "https://www.mlb.com/player/aaron-judge-592450"
}
Obter detalhes do jogador da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44497/get+mlb+player+details?player_id=592450' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna as estatísticas de um jogador em todos os jogos de uma temporada, do mais recente para o mais antigo, cada um com a data, o adversário, se foi em casa ou fora, o resultado e o ID do jogo
Endpoint ID: 44498
GET https://zylalabs.com/api/15957/mlb+api/44498/get+mlb+player+game+log
PARÂMETROS DE ENTRADA

Obter registro de jogos do jogador da MLB — Recursos do endpoint

Objeto Descrição
player_id Obrigatório Player id (e.g. "592450"). Use the /search/players endpoint to list valid values.
group Opcional Optional stat group (defaults to "hitting"). Use the /general/stat-groups endpoint to list valid values.
season Opcional Optional season year (e.g. "2026"; defaults to the current season). Use the /general/seasons endpoint to list valid values.
game_type Opcional Optional game type (defaults to "regular_season"). Use the /general/game-types endpoint to list valid values.

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

player_id
group
season
game_type
RESPOSTA DE EXEMPLO DA API
JSON
[
    {
        "season": "2026",
        "stat": {
            "summary": "0-2 | 2 K",
            "gamesPlayed": 1,
            "flyOuts": 0,
            "groundOuts": 0,
            "airOuts": 0,
            "runs": 0,
            "doubles": 0,
            "triples": 0,
            "homeRuns": 0,
            "strikeOuts": 2,
            "baseOnBalls": 0,
            "intentionalWalks": 0,
            "hits": 0,
            "hitByPitch": 0,
            "avg": ".241",
            "atBats": 2,
            "obp": ".360",
            "slg": ".511",
            "ops": ".871",
            "caughtStealing": 0,
            "stolenBases": 0,
            "stolenBasePercentage": ".---",
            "caughtStealingPercentage": ".---",
            "groundIntoDoublePlay": 0,
            "groundIntoTriplePlay": 0,
            "numberOfPitches": 9,
            "plateAppearances": 2,
            "totalBases": 0,
            "rbi": 0,
            "leftOnBase": 3,
            "sacBunts": 0,
            "sacFlies": 0,
            "babip": ".---",
            "groundOutsToAirouts": "-.--",
            "catchersInterference": 0,
            "atBatsPerHomeRun": "-.--"
        },
        "team": {
            "id": 147,
            "name": "New York Yankees"
        },
        "player": {
            "id": 592450,
            "fullName": "Aaron Judge",
            "nameSlug": "aaron-judge-592450"
        },
        "league": {
            "id": 103,
            "name": "American League"
        },
        "sport": {
            "id": 1,
            "abbreviation": "MLB"
        },
        "opponent": {
            "id": 142,
            "name": "Minnesota Twins"
        },
        "date": "2026-09-16",
        "gameType": "R",
        "isHome": false,
        "isWin": false,
        "positionsPlayed": [
            {
                "code": "9",
                "name": "Outfielder",
                "type": "Outfielder",
                "abbreviation": "RF"
            }
        ],
        "game": {
            "gamePk": 823655,
            "content": [],
            "gameNumber": 1,
            "dayNight": "day"
        }
    },
    {
        "season": "2026",
        "stat": {
            "summary": "1-4 | HR, 2 K, 3 RBI",
            "gamesPlayed": 1,
            "flyOuts": 0,
            "groundOuts": 1,
            "airOuts": 0,
            "runs": 1,
            "doubles": 0,
            "triples": 0,
            "homeRuns": 1,
            "strikeOuts": 2,
            "baseOnBalls": 0,
            "intentionalWalks": 0,
            "hits": 1,
            "hitByPitch": 0,
            "avg": ".243",
            "atBats": 4,
            "obp": ".363",
            "slg": ".515",
            "ops": ".878",
            "caughtStealing": 0,
            "stolenBases": 0,
            "stolenBasePercentage": ".---",
            "caughtStealingPercentage": ".---",
            "groundIntoDoublePlay": 1,
            "groundIntoTriplePlay": 0,
            "numberOfPitches": 19,
            "plateAppearances": 4,
            "totalBases": 4,
            "rbi": 3,
            "leftOnBase": 1,
            "sacBunts": 0,
            "sacFlies": 0,
            "babip": ".000",
            "groundOutsToAirouts": "1.00",
            "catchersInterference": 0,
            "atBatsPerHomeRun": "4.00"
        },
        "team": {
            "id": 147,
            "name": "New York Yankees"
        },
        "player": {
            "id": 592450,
            "fullName": "Aaron Judge",
            "nameSlug": "aaron-judge-592450"
        },
        "league": {
            "id": 103,
            "name": "American League"
        },
        "sport": {
            "id": 1,
            "abbreviation": "MLB"
        },
        "opponent": {
            "id": 142,
            "name": "Minnesota Twins"
        },
        "date": "2026-09-14",
        "gameType": "R",
        "isHome": false,
        "isWin": true,
        "positionsPlayed": [
            {
                "code": "9",
                "name": "Outfielder",
                "type": "Outfielder",
                "abbreviation": "RF"
            }
        ],
        "game": {
            "gamePk": 823656,
            "content": [],
            "gameNumber": 1,
            "dayNight": "day"
        }
    },
    {
        "season": "2026",
        "stat": {
            "summary": "0-3 | 3 K",
            "gamesPlayed": 1,
            "flyOuts": 0,
            "groundOuts": 0,
            "airOuts": 0,
            "runs": 0,
            "doubles": 0,
            "triples": 0,
            "homeRuns": 0,
            "strikeOuts": 3,
            "baseOnBalls": 0,
            "intentionalWalks": 0,
            "hits": 0,
            "hitByPitch": 0,
            "avg": ".242",
            "atBats": 3,
            "obp": ".365",
            "slg": ".506",
            "ops": ".871",
            "caughtStealing": 0,
            "stolenBases": 0,
            "stolenBasePercentage": ".---",
            "caughtStealingPercentage": ".---",
            "groundIntoDoublePlay": 0,
            "groundIntoTriplePlay": 0,
            "numberOfPitches": 13,
            "plateAppearances": 3,
            "totalBases": 0,
            "rbi": 0,
            "leftOnBase": 1,
            "sacBunts": 0,
            "sacFlies": 0,
            "babip": ".---",
            "groundOutsToAirouts": "-.--",
            "catchersInterference": 0,
            "atBatsPerHomeRun": "-.--"
        },
        "team": {
            "id": 147,
            "name": "New York Yankees"
        },
        "player": {
            "id": 592450,
            "fullName": "Aaron Judge",
            "nameSlug": "aaron-judge-592450"
        },
        "league": {
            "id": 103,
            "name": "American League"
        },
        "sport": {
            "id": 1,
            "abbreviation": "MLB"
        },
        "opponent": {
            "id": 121,
            "name": "New York Mets"
        },
        "date": "2026-09-13",
        "gameType": "R",
        "isHome": true,
        "isWin": true,
        "positionsPlayed": [
            {
                "code": "9",
                "name": "Outfielder",
                "type": "Outfielder",
                "abbreviation": "RF"
            }
        ],
        "game": {
            "gamePk": 823495,
            "content": [],
            "gameNumber": 1,
            "dayNight": "day"
        }
    },
    {
        "season": "2026",
        "stat": {
            "summary": "0-4 | K",
            "gamesPlayed": 1,
            "flyOuts": 1,
            "groundOuts": 1,
            "airOuts": 2,
            "runs": 0,
            "doubles": 0,
            "triples": 0,
            "homeRuns": 0,
            "strikeOuts": 1,
            "baseOnBalls": 0,
            "intentionalWalks": 0,
            "hits": 0,
            "hitByPitch": 0,
            "avg": ".246",
            "atBats": 4,
            "obp": ".369",
            "slg": ".513",
            "ops": ".882",
            "caughtStealing": 0,
            "stolenBases": 0,
            "stolenBasePercentage": ".---",
            "caughtStealingPercentage": ".---",
            "groundIntoDoublePlay": 0,
            "groundIntoTriplePlay": 0,
            "numberOfPitches": 10,
            "plateAppearances": 4,
            "totalBases": 0,
            "rbi": 0,
            "leftOnBase": 2,
            "sacBunts": 0,
            "sacFlies": 0,
            "babip": ".000",
            "groundOutsToAirouts": "0.50",
            "catchersInterference": 0,
            "atBatsPerHomeRun": "-.--"
        },
        "team": {
            "id": 147,
            "name": "New York Yankees"
        },
        "player": {
            "id": 592450,
            "fullName": "Aaron Judge",
            "nameSlug": "aaron-judge-592450"
        },
        "league": {
            "id": 103,
            "name": "American League"
        },
        "sport": {
            "id": 1,
            "abbreviation": "MLB"
        },
        "opponent": {
            "id": 121,
            "name": "New York Mets"
        },
        "date": "2026-09-12",
        "gameType": "R",
        "isHome": true,
        "isWin": false,
        "positionsPlayed": [
            {
                "code": "10",
                "name": "Designated Hitter",
                "type": "Hitter",
                "abbreviation": "DH"
            }
        ],
        "game": {
            "gamePk": 823496,
            "content": [],
            "gameNumber": 1,
            "dayNight": "day"
        }
    }
]
Obter registro de jogos do jogador da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44498/get+mlb+player+game+log?player_id=592450&group=hitting&season=2026&game_type=regular_season' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna as estatísticas de um jogador em uma temporada divididas por situação: contra arremessadores ou rebatedores canhotos e destros, em casa e fora, de dia e à noite, por contagem, por entrada, com corredores em base, por ordem de rebatida, por mês, por adversário e muito mais
Endpoint ID: 44499
GET https://zylalabs.com/api/15957/mlb+api/44499/get+mlb+player+splits
PARÂMETROS DE ENTRADA

Obtenha divisões de jogadores da MLB — Recursos do endpoint

Objeto Descrição
player_id Obrigatório Player id (e.g. "592450"). Use the /search/players endpoint to list valid values.
situations Opcional Optional situation codes separated by commas, 20 at most (defaults to "vl,vr,h,a": versus left, versus right, home, away). Use the /general/situation-codes endpoint to list valid values.
group Opcional Optional stat group (defaults to "hitting"). Use the /general/stat-groups endpoint to list valid values.
season Opcional Optional season year (e.g. "2026"; defaults to the current season). Use the /general/seasons endpoint to list valid values.

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

player_id
situations
group
season
RESPOSTA DE EXEMPLO DA API
JSON
[
    {
        "season": "2026",
        "stat": {
            "gamesPlayed": 31,
            "groundOuts": 20,
            "airOuts": 23,
            "runs": 26,
            "doubles": 4,
            "triples": 0,
            "homeRuns": 10,
            "strikeOuts": 42,
            "baseOnBalls": 17,
            "intentionalWalks": 3,
            "hits": 29,
            "hitByPitch": 1,
            "avg": ".254",
            "atBats": 114,
            "obp": ".356",
            "slg": ".553",
            "ops": ".909",
            "caughtStealing": 0,
            "stolenBases": 2,
            "stolenBasePercentage": "1.000",
            "caughtStealingPercentage": ".000",
            "groundIntoDoublePlay": 4,
            "groundIntoTriplePlay": 0,
            "numberOfPitches": 567,
            "plateAppearances": 133,
            "totalBases": 63,
            "rbi": 22,
            "leftOnBase": 39,
            "sacBunts": 0,
            "sacFlies": 0,
            "babip": ".306",
            "groundOutsToAirouts": "0.87",
            "catchersInterference": 1,
            "atBatsPerHomeRun": "11.40"
        },
        "team": {
            "id": 147,
            "name": "New York Yankees"
        },
        "player": {
            "id": 592450,
            "fullName": "Aaron Judge",
            "firstName": "Aaron",
            "lastName": "Judge",
            "nameSlug": "aaron-judge-592450"
        },
        "league": {
            "id": 103,
            "name": "American League"
        },
        "sport": {
            "id": 1,
            "name": "Major League Baseball",
            "abbreviation": "MLB"
        },
        "gameType": "R",
        "split": {
            "code": "h",
            "description": "Home Games",
            "sortOrder": 1
        },
        "position": {
            "code": "9",
            "name": "Outfielder",
            "type": "Outfielder",
            "abbreviation": "RF"
        }
    },
    {
        "season": "2026",
        "stat": {
            "gamesPlayed": 35,
            "groundOuts": 26,
            "airOuts": 27,
            "runs": 19,
            "doubles": 6,
            "triples": 0,
            "homeRuns": 8,
            "strikeOuts": 43,
            "baseOnBalls": 26,
            "intentionalWalks": 2,
            "hits": 28,
            "hitByPitch": 1,
            "avg": ".228",
            "atBats": 123,
            "obp": ".364",
            "slg": ".472",
            "ops": ".836",
            "caughtStealing": 3,
            "stolenBases": 3,
            "stolenBasePercentage": ".500",
            "caughtStealingPercentage": ".500",
            "groundIntoDoublePlay": 5,
            "groundIntoTriplePlay": 0,
            "numberOfPitches": 650,
            "plateAppearances": 152,
            "totalBases": 58,
            "rbi": 19,
            "leftOnBase": 46,
            "sacBunts": 0,
            "sacFlies": 1,
            "babip": ".274",
            "groundOutsToAirouts": "0.96",
            "catchersInterference": 1,
            "atBatsPerHomeRun": "15.38"
        },
        "team": {
            "id": 147,
            "name": "New York Yankees"
        },
        "player": {
            "id": 592450,
            "fullName": "Aaron Judge",
            "firstName": "Aaron",
            "lastName": "Judge",
            "nameSlug": "aaron-judge-592450"
        },
        "league": {
            "id": 103,
            "name": "American League"
        },
        "sport": {
            "id": 1,
            "name": "Major League Baseball",
            "abbreviation": "MLB"
        },
        "gameType": "R",
        "split": {
            "code": "a",
            "description": "Away Games",
            "sortOrder": 2
        },
        "position": {
            "code": "9",
            "name": "Outfielder",
            "type": "Outfielder",
            "abbreviation": "RF"
        }
    },
    {
        "season": "2026",
        "stat": {
            "gamesPlayed": 40,
            "groundOuts": 15,
            "airOuts": 11,
            "doubles": 1,
            "triples": 0,
            "homeRuns": 6,
            "strikeOuts": 22,
            "baseOnBalls": 18,
            "intentionalWalks": 3,
            "hits": 15,
            "hitByPitch": 0,
            "avg": ".242",
            "atBats": 62,
            "obp": ".407",
            "slg": ".548",
            "ops": ".955",
            "groundIntoDoublePlay": 0,
            "groundIntoTriplePlay": 0,
            "numberOfPitches": 350,
            "plateAppearances": 81,
            "totalBases": 34,
            "rbi": 13,
            "leftOnBase": 16,
            "sacBunts": 0,
            "sacFlies": 1,
            "babip": ".257",
            "groundOutsToAirouts": "1.36",
            "catchersInterference": 0,
            "atBatsPerHomeRun": "10.33"
        },
        "team": {
            "id": 147,
            "name": "New York Yankees"
        },
        "player": {
            "id": 592450,
            "fullName": "Aaron Judge",
            "firstName": "Aaron",
            "lastName": "Judge",
            "nameSlug": "aaron-judge-592450"
        },
        "league": {
            "id": 103,
            "name": "American League"
        },
        "sport": {
            "id": 1,
            "name": "Major League Baseball",
            "abbreviation": "MLB"
        },
        "gameType": "R",
        "split": {
            "code": "vl",
            "description": "vs Left",
            "sortOrder": 73
        },
        "position": {
            "code": "9",
            "name": "Outfielder",
            "type": "Outfielder",
            "abbreviation": "RF"
        }
    },
    {
        "season": "2026",
        "stat": {
            "gamesPlayed": 65,
            "groundOuts": 31,
            "airOuts": 39,
            "doubles": 9,
            "triples": 0,
            "homeRuns": 12,
            "strikeOuts": 63,
            "baseOnBalls": 25,
            "intentionalWalks": 2,
            "hits": 42,
            "hitByPitch": 2,
            "avg": ".240",
            "atBats": 175,
            "obp": ".342",
            "slg": ".497",
            "ops": ".839",
            "groundIntoDoublePlay": 9,
            "groundIntoTriplePlay": 0,
            "numberOfPitches": 867,
            "plateAppearances": 204,
            "totalBases": 87,
            "rbi": 28,
            "leftOnBase": 69,
            "sacBunts": 0,
            "sacFlies": 0,
            "babip": ".300",
            "groundOutsToAirouts": "0.79",
            "catchersInterference": 2,
            "atBatsPerHomeRun": "14.58"
        },
        "team": {
            "id": 147,
            "name": "New York Yankees"
        },
        "player": {
            "id": 592450,
            "fullName": "Aaron Judge",
            "firstName": "Aaron",
            "lastName": "Judge",
            "nameSlug": "aaron-judge-592450"
        },
        "league": {
            "id": 103,
            "name": "American League"
        },
        "sport": {
            "id": 1,
            "name": "Major League Baseball",
            "abbreviation": "MLB"
        },
        "gameType": "R",
        "split": {
            "code": "vr",
            "description": "vs Right",
            "sortOrder": 74
        },
        "position": {
            "code": "9",
            "name": "Outfielder",
            "type": "Outfielder",
            "abbreviation": "RF"
        }
    }
]
Obtenha divisões de jogadores da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44499/get+mlb+player+splits?player_id=592450&situations=vl,vr,h,a&group=hitting&season=2026' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna as estatísticas de rebatida, arremesso, defesa, recepção ou corrida nas bases de um jogador: uma temporada, a carreira, todas as temporadas, a pós-temporada, avançadas, sabermétricas (WAR, wOBA, FIP), estatísticas esperadas, o repertório de arremessos, as zonas quentes e frias, o gráfico de dispersão, por mês, por dia da semana, em casa e fora, em vitórias e derrotas, os últimos jogos ou a classificação na liga
Endpoint ID: 44500
GET https://zylalabs.com/api/15957/mlb+api/44500/get+mlb+player+statistics
PARÂMETROS DE ENTRADA

Obter estatísticas dos jogadores da MLB — Recursos do endpoint

Objeto Descrição
player_id Obrigatório Player id (e.g. "592450"). Use the /search/players endpoint to list valid values.
group Opcional Optional stat group (defaults to "hitting"). Use the /general/stat-groups endpoint to list valid values.
type Opcional Optional stat type (defaults to "season"). Use the /general/player-stat-types endpoint to list valid values.
season Opcional Optional season year, for the types of one season (e.g. "2026"; defaults to the current season). Use the /general/seasons endpoint to list valid values.

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

player_id
group
type
season
RESPOSTA DE EXEMPLO DA API
JSON
[
    {
        "type": {
            "displayName": "season"
        },
        "group": {
            "displayName": "hitting"
        },
        "exemptions": [],
        "splits": [
            {
                "season": "2026",
                "stat": {
                    "age": 34,
                    "gamesPlayed": 66,
                    "groundOuts": 46,
                    "airOuts": 50,
                    "runs": 45,
                    "doubles": 10,
                    "triples": 0,
                    "homeRuns": 18,
                    "strikeOuts": 85,
                    "baseOnBalls": 43,
                    "intentionalWalks": 5,
                    "hits": 57,
                    "hitByPitch": 2,
                    "avg": ".241",
                    "atBats": 237,
                    "obp": ".360",
                    "slg": ".511",
                    "ops": ".871",
                    "caughtStealing": 3,
                    "stolenBases": 5,
                    "stolenBasePercentage": ".625",
                    "caughtStealingPercentage": ".375",
                    "groundIntoDoublePlay": 9,
                    "numberOfPitches": 1217,
                    "plateAppearances": 285,
                    "totalBases": 121,
                    "rbi": 41,
                    "leftOnBase": 85,
                    "sacBunts": 0,
                    "sacFlies": 1,
                    "babip": ".289",
                    "groundOutsToAirouts": "0.92",
                    "catchersInterference": 2,
                    "atBatsPerHomeRun": "13.17"
                },
                "team": {
                    "id": 147,
                    "name": "New York Yankees"
                },
                "player": {
                    "id": 592450,
                    "fullName": "Aaron Judge",
                    "nameSlug": "aaron-judge-592450"
                },
                "league": {
                    "id": 103,
                    "name": "American League"
                },
                "sport": {
                    "id": 1,
                    "abbreviation": "MLB"
                },
                "gameType": "R"
            }
        ]
    }
]
Obter estatísticas dos jogadores da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44500/get+mlb+player+statistics?player_id=592450&group=hitting&type=season&season=2026' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Mostra o desempenho de um rebatedor contra um arremessador ou de um arremessador contra um rebatedor: o total da carreira e uma linha para cada temporada em que os dois se enfrentaram
Endpoint ID: 44501
GET https://zylalabs.com/api/15957/mlb+api/44501/get+mlb+player+versus+player
PARÂMETROS DE ENTRADA

Obtenha jogador da MLB contra jogador da MLB — Recursos do endpoint

Objeto Descrição
player_id Obrigatório Player id (e.g. "592450"). Use the /search/players endpoint to list valid values.
opponent_id Obrigatório Player id of the opposing pitcher or batter (e.g. "669373"). Use the /search/players endpoint to list valid values.
group Opcional Optional: "hitting" when the player is the batter, "pitching" when the player is the pitcher (defaults to "hitting").

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

player_id
opponent_id
group
RESPOSTA DE EXEMPLO DA API
JSON
[
    {
        "type": {
            "displayName": "vsPlayer"
        },
        "group": {
            "displayName": "hitting"
        },
        "totalSplits": 4,
        "exemptions": [],
        "splits": [
            {
                "season": "2021",
                "stat": {
                    "gamesPlayed": 2,
                    "groundOuts": 1,
                    "airOuts": 1,
                    "doubles": 1,
                    "triples": 0,
                    "homeRuns": 1,
                    "strikeOuts": 1,
                    "baseOnBalls": 0,
                    "intentionalWalks": 0,
                    "hits": 2,
                    "hitByPitch": 0,
                    "avg": ".400",
                    "atBats": 5,
                    "obp": ".400",
                    "slg": "1.200",
                    "ops": "1.600",
                    "groundIntoDoublePlay": 1,
                    "groundIntoTriplePlay": 0,
                    "numberOfPitches": 19,
                    "plateAppearances": 5,
                    "totalBases": 6,
                    "rbi": 1,
                    "leftOnBase": 3,
                    "sacBunts": 0,
                    "sacFlies": 0,
                    "babip": ".333",
                    "groundOutsToAirouts": "1.00",
                    "catchersInterference": 0,
                    "atBatsPerHomeRun": "5.00"
                },
                "team": {
                    "id": 147,
                    "name": "New York Yankees"
                },
                "opponent": {
                    "id": 116,
                    "name": "Detroit Tigers"
                },
                "gameType": "R",
                "numTeams": 1,
                "pitcher": {
                    "id": 669373,
                    "fullName": "Tarik Skubal",
                    "firstName": "Tarik",
                    "lastName": "Skubal",
                    "nameSlug": "tarik-skubal-669373"
                },
                "batter": {
                    "id": 592450,
                    "fullName": "Aaron Judge",
                    "firstName": "Aaron",
                    "lastName": "Judge",
                    "nameSlug": "aaron-judge-592450"
                }
            },
            {
                "season": "2023",
                "stat": {
                    "gamesPlayed": 1,
                    "groundOuts": 1,
                    "airOuts": 0,
                    "doubles": 0,
                    "triples": 0,
                    "homeRuns": 0,
                    "strikeOuts": 1,
                    "baseOnBalls": 0,
                    "intentionalWalks": 0,
                    "hits": 1,
                    "hitByPitch": 0,
                    "avg": ".333",
                    "atBats": 3,
                    "obp": ".333",
                    "slg": ".333",
                    "ops": ".666",
                    "groundIntoDoublePlay": 0,
                    "groundIntoTriplePlay": 0,
                    "numberOfPitches": 10,
                    "plateAppearances": 3,
                    "totalBases": 1,
                    "rbi": 0,
                    "leftOnBase": 0,
                    "sacBunts": 0,
                    "sacFlies": 0,
                    "babip": ".500",
                    "groundOutsToAirouts": "1.00",
                    "catchersInterference": 0,
                    "atBatsPerHomeRun": "-.--"
                },
                "team": {
                    "id": 147,
                    "name": "New York Yankees"
                },
                "opponent": {
                    "id": 116,
                    "name": "Detroit Tigers"
                },
                "gameType": "R",
                "numTeams": 1,
                "pitcher": {
                    "id": 669373,
                    "fullName": "Tarik Skubal",
                    "firstName": "Tarik",
                    "lastName": "Skubal",
                    "nameSlug": "tarik-skubal-669373"
                },
                "batter": {
                    "id": 592450,
                    "fullName": "Aaron Judge",
                    "firstName": "Aaron",
                    "lastName": "Judge",
                    "nameSlug": "aaron-judge-592450"
                }
            },
            {
                "season": "2024",
                "stat": {
                    "gamesPlayed": 2,
                    "groundOuts": 1,
                    "airOuts": 0,
                    "doubles": 1,
                    "triples": 0,
                    "homeRuns": 1,
                    "strikeOuts": 2,
                    "baseOnBalls": 0,
                    "intentionalWalks": 0,
                    "hits": 3,
                    "hitByPitch": 0,
                    "avg": ".500",
                    "atBats": 6,
                    "obp": ".500",
                    "slg": "1.167",
                    "ops": "1.667",
                    "groundIntoDoublePlay": 1,
                    "groundIntoTriplePlay": 0,
                    "numberOfPitches": 19,
                    "plateAppearances": 6,
                    "totalBases": 7,
                    "rbi": 1,
                    "leftOnBase": 2,
                    "sacBunts": 0,
                    "sacFlies": 0,
                    "babip": ".667",
                    "groundOutsToAirouts": "1.00",
                    "catchersInterference": 0,
                    "atBatsPerHomeRun": "6.00"
                },
                "team": {
                    "id": 147,
                    "name": "New York Yankees"
                },
                "opponent": {
                    "id": 116,
                    "name": "Detroit Tigers"
                },
                "gameType": "R",
                "numTeams": 1,
                "pitcher": {
                    "id": 669373,
                    "fullName": "Tarik Skubal",
                    "firstName": "Tarik",
                    "lastName": "Skubal",
                    "nameSlug": "tarik-skubal-669373"
                },
                "batter": {
                    "id": 592450,
                    "fullName": "Aaron Judge",
                    "firstName": "Aaron",
                    "lastName": "Judge",
                    "nameSlug": "aaron-judge-592450"
                }
            },
            {
                "season": "2025",
                "stat": {
                    "gamesPlayed": 1,
                    "groundOuts": 0,
                    "airOuts": 1,
                    "doubles": 0,
                    "triples": 0,
                    "homeRuns": 0,
                    "strikeOuts": 1,
                    "baseOnBalls": 0,
                    "intentionalWalks": 0,
                    "hits": 1,
                    "hitByPitch": 0,
                    "avg": ".333",
                    "atBats": 3,
                    "obp": ".333",
                    "slg": ".333",
                    "ops": ".666",
                    "groundIntoDoublePlay": 0,
                    "groundIntoTriplePlay": 0,
                    "numberOfPitches": 14,
                    "plateAppearances": 3,
                    "totalBases": 1,
                    "rbi": 0,
                    "leftOnBase": 2,
                    "sacBunts": 0,
                    "sacFlies": 0,
                    "babip": ".500",
                    "groundOutsToAirouts": "0.00",
                    "catchersInterference": 0,
                    "atBatsPerHomeRun": "-.--"
                },
                "team": {
                    "id": 147,
                    "name": "New York Yankees"
                },
                "opponent": {
                    "id": 116,
                    "name": "Detroit Tigers"
                },
                "gameType": "R",
                "numTeams": 1,
                "pitcher": {
                    "id": 669373,
                    "fullName": "Tarik Skubal",
                    "firstName": "Tarik",
                    "lastName": "Skubal",
                    "nameSlug": "tarik-skubal-669373"
                },
                "batter": {
                    "id": 592450,
                    "fullName": "Aaron Judge",
                    "firstName": "Aaron",
                    "lastName": "Judge",
                    "nameSlug": "aaron-judge-592450"
                }
            }
        ]
    }
]
Obtenha jogador da MLB contra jogador da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44501/get+mlb+player+versus+player?player_id=592450&opponent_id=669373&group=hitting' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna os jogadores e as equipes cujos nomes correspondem ao texto conforme é digitado, da mesma forma que a caixa de pesquisa do mlb.com os sugere: jogadores com seu ID, equipe e foto, equipes de todos os níveis com seu ID, abreviação e logotipos
Endpoint ID: 44502
GET https://zylalabs.com/api/15957/mlb+api/44502/search+mlb+players+and+teams
PARÂMETROS DE ENTRADA

Pesquisar jogadores e equipes da MLB — Recursos do endpoint

Objeto Descrição
query Obrigatório Text to search for, 2 to 50 characters (e.g. "judge", "yankees").

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

query
RESPOSTA DE EXEMPLO DA API
JSON
{
    "players": [
        {
            "name": "Aaron Judge",
            "displayName": "Aaron Judge",
            "playerId": 592450,
            "teamId": 147,
            "headshots": [
                {
                    "type": "SMALL_60X60",
                    "url": "https://img.mlbstatic.com/mlb-photos/image/upload/t_w60/t_headshot_silo/v1/people/592450/headshot/silo/current"
                }
            ],
            "teamTriCode": "NYY",
            "active": true,
            "useName": "Aaron",
            "useLastName": "Judge",
            "boxscoreName": "Judge"
        }
    ]
}
Pesquisar jogadores e equipes da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44502/search+mlb+players+and+teams?query=judge' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna os jogadores atuais e antigos cujo nome, sobrenome ou nome completo corresponde ao texto, cada um com sua biografia, equipe atual, posição, rebatidas e arremessos, ano de estreia e ano do draft
Endpoint ID: 44503
GET https://zylalabs.com/api/15957/mlb+api/44503/search+mlb+players
PARÂMETROS DE ENTRADA

Pesquisar jogadores da MLB — Recursos do endpoint

Objeto Descrição
query Obrigatório Name to search for, 2 to 50 characters (e.g. "aaron judge", "ohtani").
sport Opcional Optional sport the player played in: "mlb", "aaa", "aa", "high_a", "single_a", "rookie" or "winter" (every level when left out). Use the /general/sports endpoint to list valid values.
active Opcional Optional: "true" for active players only (defaults to "false").

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

query
sport
active
RESPOSTA DE EXEMPLO DA API
JSON
[
    {
        "id": 660271,
        "fullName": "Shohei Ohtani",
        "firstName": "Shohei",
        "lastName": "Ohtani",
        "primaryNumber": "17",
        "birthDate": "1994-07-05",
        "currentAge": 32,
        "birthCity": "Oshu",
        "birthCountry": "Japan",
        "height": "6' 4\"",
        "weight": 210,
        "active": true,
        "currentTeam": {
            "id": 119,
            "name": "Los Angeles Dodgers"
        },
        "primaryPosition": {
            "code": "Y",
            "name": "Two-Way Player",
            "type": "Two-Way Player",
            "abbreviation": "TWP"
        },
        "useName": "Shohei",
        "useLastName": "Ohtani",
        "boxscoreName": "Ohtani",
        "nickName": "Showtime",
        "gender": "M",
        "isPlayer": true,
        "isVerified": false,
        "pronunciation": "show-HEY oh-TAWN-ee",
        "mlbDebutDate": "2018-03-29",
        "batSide": {
            "code": "L",
            "description": "Left"
        },
        "pitchHand": {
            "code": "R",
            "description": "Right"
        },
        "nameFirstLast": "Shohei Ohtani",
        "nameSlug": "shohei-ohtani-660271",
        "firstLastName": "Shohei Ohtani",
        "lastFirstName": "Ohtani, Shohei",
        "lastInitName": "Ohtani, S",
        "initLastName": "S Ohtani",
        "fullFMLName": "Shohei Ohtani",
        "fullLFMName": "Ohtani, Shohei",
        "strikeZoneTop": 3.369,
        "strikeZoneBottom": 1.7
    }
]
Pesquisar jogadores da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44503/search+mlb+players?query=ohtani&sport=mlb&active=true' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna os afiliados das ligas menores de um clube em uma temporada (Triple-A, Double-A, High-A, Single-A, Rookie e Dominican Summer League), cada um com o que o endpoint /team/list fornece
Endpoint ID: 44504
GET https://zylalabs.com/api/15957/mlb+api/44504/get+mlb+team+affiliates
PARÂMETROS DE ENTRADA

Obtenha afiliados de equipes da MLB — Recursos do endpoint

Objeto Descrição
team_id Obrigatório Team id (e.g. "147"). Use the /team/list endpoint to list valid values.
season Opcional Optional season year (e.g. "2026"; defaults to the current season). Use the /general/seasons endpoint to list valid values.

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

team_id
season
RESPOSTA DE EXEMPLO DA API
JSON
[
    {
        "allStarStatus": "F",
        "id": 386,
        "name": "New York Yankees Prospects",
        "season": 2026,
        "venue": {
            "id": 2523,
            "name": "George M. Steinbrenner Field"
        },
        "teamCode": "nyp",
        "fileCode": "t386",
        "abbreviation": "NYP",
        "teamName": "Yankees Prospects",
        "locationName": "Tampa",
        "firstYearOfPlay": "2001",
        "league": {
            "id": 590,
            "name": "Futures Game"
        },
        "sport": {
            "id": 21,
            "name": "Minor League Baseball"
        },
        "shortName": "Yankees Prospects",
        "parentOrgName": "New York Yankees",
        "parentOrgId": 147,
        "franchiseName": "Yankees Prospects",
        "clubName": "Yankees Prospects",
        "active": true,
        "logo": "https://www.mlbstatic.com/team-logos/386.svg",
        "logoOnDark": "https://www.mlbstatic.com/team-logos/team-cap-on-dark/386.svg"
    },
    {
        "allStarStatus": "N",
        "id": 531,
        "name": "Scranton/Wilkes-Barre RailRiders",
        "season": 2026,
        "venue": {
            "id": 2797,
            "name": "PNC Field"
        },
        "teamCode": "swb",
        "fileCode": "t531",
        "abbreviation": "SWB",
        "teamName": "RailRiders",
        "locationName": "Moosic",
        "firstYearOfPlay": "1989",
        "league": {
            "id": 117,
            "name": "International League"
        },
        "division": {
            "id": 219,
            "name": "International League East"
        },
        "sport": {
            "id": 11,
            "name": "Triple-A"
        },
        "shortName": "Scranton/WB",
        "parentOrgName": "New York Yankees",
        "parentOrgId": 147,
        "franchiseName": "Scranton/WB",
        "clubName": "RailRiders",
        "active": true,
        "logo": "https://www.mlbstatic.com/team-logos/531.svg",
        "logoOnDark": "https://www.mlbstatic.com/team-logos/team-cap-on-dark/531.svg"
    },
    {
        "allStarStatus": "N",
        "id": 1956,
        "name": "Somerset Patriots",
        "season": 2026,
        "venue": {
            "id": 5418,
            "name": "TD Bank Ballpark"
        },
        "teamCode": "som",
        "fileCode": "t1956",
        "abbreviation": "SOM",
        "teamName": "Patriots",
        "locationName": "Bridgewater",
        "firstYearOfPlay": "1998",
        "league": {
            "id": 113,
            "name": "Eastern League"
        },
        "division": {
            "id": 212,
            "name": "Eastern League Northeast"
        },
        "sport": {
            "id": 12,
            "name": "Double-A"
        },
        "shortName": "Somerset",
        "parentOrgName": "New York Yankees",
        "parentOrgId": 147,
        "franchiseName": "Somerset",
        "clubName": "Patriots",
        "active": true,
        "logo": "https://www.mlbstatic.com/team-logos/1956.svg",
        "logoOnDark": "https://www.mlbstatic.com/team-logos/team-cap-on-dark/1956.svg"
    },
    {
        "allStarStatus": "N",
        "id": 537,
        "name": "Hudson Valley Renegades",
        "season": 2026,
        "venue": {
            "id": 2757,
            "name": "Heritage Financial Park"
        },
        "teamCode": "hdv",
        "fileCode": "t537",
        "abbreviation": "HV",
        "teamName": "Renegades",
        "locationName": "Wappingers Falls",
        "firstYearOfPlay": "1994",
        "league": {
            "id": 116,
            "name": "South Atlantic League"
        },
        "division": {
            "id": 237,
            "name": "South Atlantic League North"
        },
        "sport": {
            "id": 13,
            "name": "High-A"
        },
        "shortName": "Hudson Valley",
        "parentOrgName": "New York Yankees",
        "parentOrgId": 147,
        "franchiseName": "Hudson Valley",
        "clubName": "Renegades",
        "active": true,
        "logo": "https://www.mlbstatic.com/team-logos/537.svg",
        "logoOnDark": "https://www.mlbstatic.com/team-logos/team-cap-on-dark/537.svg"
    },
    {
        "allStarStatus": "N",
        "id": 634,
        "name": "DSL NYY Bombers",
        "season": 2026,
        "venue": {
            "id": 6096,
            "name": "New York Yankees DR Complex"
        },
        "teamCode": "dyb",
        "fileCode": "t634",
        "abbreviation": "D-NYB",
        "teamName": "DSL NYY Bombers",
        "locationName": "New York",
        "firstYearOfPlay": "1985",
        "league": {
            "id": 130,
            "name": "Dominican Summer League"
        },
        "division": {
            "id": 401,
            "name": "Dominican Summer League Southeast"
        },
        "sport": {
            "id": 16,
            "name": "Rookie"
        },
        "shortName": "DSL NYY Bombers",
        "parentOrgName": "New York Yankees",
        "parentOrgId": 147,
        "franchiseName": "DSL NYY Bombers",
        "clubName": "DSL NYY Bombers",
        "active": true,
        "logo": "https://www.mlbstatic.com/team-logos/634.svg",
        "logoOnDark": "https://www.mlbstatic.com/team-logos/team-cap-on-dark/634.svg"
    }
]
Obtenha afiliados de equipes da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44504/get+mlb+team+affiliates?team_id=147&season=2026' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna o gerente e a equipe técnica de um time em uma temporada, cada um com sua função, título e número
Endpoint ID: 44505
GET https://zylalabs.com/api/15957/mlb+api/44505/get+mlb+team+coaches
PARÂMETROS DE ENTRADA

Obter treinadores das equipes da MLB — Recursos do endpoint

Objeto Descrição
team_id Obrigatório Team id (e.g. "147"). Use the /team/list endpoint to list valid values.
season Opcional Optional season year (e.g. "2026"; defaults to the current season). Use the /general/seasons endpoint to list valid values.

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

team_id
season
RESPOSTA DE EXEMPLO DA API
JSON
[
    {
        "person": {
            "id": 111213,
            "fullName": "Aaron Boone",
            "nameSlug": "aaron-boone-111213"
        },
        "jerseyNumber": "17",
        "job": "Manager",
        "jobId": "MNGR",
        "title": "Manager"
    },
    {
        "person": {
            "id": 110385,
            "fullName": "Brad Ausmus",
            "nameSlug": "brad-ausmus-110385"
        },
        "jerseyNumber": "65",
        "job": "Bench Coach",
        "jobId": "COAB",
        "title": "Bench Coach"
    },
    {
        "person": {
            "id": 494875,
            "fullName": "James Rowson",
            "nameSlug": "james-rowson-494875"
        },
        "jerseyNumber": "82",
        "job": "Hitting Coach",
        "jobId": "COAT",
        "title": "Hitting Coach"
    },
    {
        "person": {
            "id": 605217,
            "fullName": "Casey Dykes",
            "nameSlug": "casey-dykes-605217"
        },
        "jerseyNumber": "78",
        "job": "Assistant Hitting Coach",
        "jobId": "COAA",
        "title": "Assistant Hitting Coach"
    },
    {
        "person": {
            "id": 691153,
            "fullName": "Jake Hirst",
            "nameSlug": "jake-hirst-691153"
        },
        "jerseyNumber": "84",
        "job": "Assistant Hitting Coach",
        "jobId": "COAA",
        "title": "Assistant Hitting Coach"
    },
    {
        "person": {
            "id": 666880,
            "fullName": "Matt Blake",
            "nameSlug": "matt-blake-666880"
        },
        "jerseyNumber": "77",
        "job": "Pitching Coach",
        "jobId": "COAP",
        "title": "Pitching Coach"
    },
    {
        "person": {
            "id": 502011,
            "fullName": "Preston Claiborne",
            "nameSlug": "preston-claiborne-502011"
        },
        "jerseyNumber": "79",
        "job": "Assistant Pitching Coach",
        "jobId": "COPA",
        "title": "Assistant Pitching Coach"
    },
    {
        "person": {
            "id": 800100,
            "fullName": "Desi Druschel",
            "nameSlug": "desi-druschel-800100"
        },
        "jerseyNumber": "83",
        "job": "Assistant Pitching Coach",
        "jobId": "COPA",
        "title": "Assistant Pitching Coach"
    },
    {
        "person": {
            "id": 639658,
            "fullName": "Dan Fiorito",
            "nameSlug": "dan-fiorito-639658"
        },
        "jerseyNumber": "85",
        "job": "First Base Coach",
        "jobId": "COA1",
        "title": "First Base/Infield/Baserunning Coach"
    },
    {
        "person": {
            "id": 467588,
            "fullName": "Luis Rojas",
            "nameSlug": "luis-rojas-467588"
        },
        "jerseyNumber": "67",
        "job": "Third Base Coach",
        "jobId": "COA3",
        "title": "Third Base/Outfield Coach"
    },
    {
        "person": {
            "id": 678933,
            "fullName": "Tanner Swanson",
            "nameSlug": "tanner-swanson-678933"
        },
        "jerseyNumber": "76",
        "job": "Coach",
        "jobId": "COAC",
        "title": "Major League Field Coordinator and Director of Catching"
    }
]
Obter treinadores das equipes da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44505/get+mlb+team+coaches?team_id=147&season=2026' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna uma equipe com seus nomes abreviatura localização estádio com seu endereço e dimensões do campo estádio de treinamento de primavera e liga liga divisão esporte clube matriz primeiro ano de jogo e logotipos
Endpoint ID: 44506
GET https://zylalabs.com/api/15957/mlb+api/44506/get+mlb+team+details
PARÂMETROS DE ENTRADA

Obter detalhes da equipe da MLB — Recursos do endpoint

Objeto Descrição
team_id Obrigatório Team id (e.g. "147"). Use the /team/list endpoint to list valid values.

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

team_id
RESPOSTA DE EXEMPLO DA API
JSON
{
    "springLeague": {
        "id": 115,
        "name": "Grapefruit League",
        "abbreviation": "GL"
    },
    "allStarStatus": "N",
    "id": 147,
    "name": "New York Yankees",
    "season": 2026,
    "venue": {
        "id": 3313,
        "name": "Yankee Stadium",
        "location": {
            "address1": "One East 161st Street",
            "city": "Bronx",
            "state": "New York",
            "stateAbbrev": "NY",
            "postalCode": "10451",
            "defaultCoordinates": {
                "latitude": 40.82919482,
                "longitude": -73.9264977
            },
            "azimuthAngle": 75,
            "elevation": 55,
            "country": "USA",
            "phone": "(718) 293-4300"
        },
        "fieldInfo": {
            "capacity": 46537,
            "turfType": "Grass",
            "roofType": "Open",
            "leftLine": 318,
            "leftCenter": 399,
            "center": 408,
            "rightCenter": 385,
            "rightLine": 314
        },
        "active": true,
        "season": "2026"
    },
    "springVenue": {
        "id": 2523
    },
    "teamCode": "nya",
    "fileCode": "nyy",
    "abbreviation": "NYY",
    "teamName": "Yankees",
    "locationName": "Bronx",
    "firstYearOfPlay": "1903",
    "league": {
        "id": 103,
        "name": "American League",
        "abbreviation": "AL",
        "nameShort": "American",
        "seasonState": "offseason",
        "hasWildCard": true,
        "hasSplitSeason": false,
        "numGames": 162,
        "hasPlayoffPoints": false,
        "numTeams": 15,
        "numWildcardTeams": 3,
        "seasonDateInfo": {
            "seasonId": "2026",
            "preSeasonStartDate": "2026-01-01",
            "preSeasonEndDate": "2026-02-19",
            "seasonStartDate": "2026-02-20",
            "springStartDate": "2026-02-20",
            "springEndDate": "2026-03-24",
            "regularSeasonStartDate": "2026-03-25",
            "lastDate1stHalf": "2026-07-12",
            "allStarDate": "2026-07-14",
            "firstDate2ndHalf": "2026-07-16",
            "regularSeasonEndDate": "2026-09-27",
            "postSeasonStartDate": "2026-09-28",
            "postSeasonEndDate": "2026-10-31",
            "seasonEndDate": "2026-10-31",
            "offseasonStartDate": "2026-11-01",
            "offSeasonEndDate": "2026-12-31",
            "seasonLevelGamedayType": "P",
            "gameLevelGamedayType": "P",
            "qualifierPlateAppearances": 3.1,
            "qualifierOutsPitched": 3
        },
        "season": "2026",
        "orgCode": "AL",
        "conferencesInUse": false,
        "divisionsInUse": true,
        "sport": {
            "id": 1
        },
        "sortOrder": 21,
        "active": true
    },
    "division": {
        "id": 201,
        "name": "American League East",
        "season": "2026",
        "nameShort": "AL East",
        "abbreviation": "ALE",
        "league": {
            "id": 103
        },
        "sport": {
            "id": 1
        },
        "hasWildcard": false,
        "sortOrder": 22,
        "numPlayoffTeams": 1,
        "active": true
    },
    "sport": {
        "id": 1,
        "code": "mlb",
        "name": "Major League Baseball",
        "abbreviation": "MLB",
        "sortOrder": 11,
        "activeStatus": true
    },
    "shortName": "NY Yankees",
    "franchiseName": "New York",
    "clubName": "Yankees",
    "active": true,
    "logo": "https://www.mlbstatic.com/team-logos/147.svg",
    "logoOnDark": "https://www.mlbstatic.com/team-logos/team-cap-on-dark/147.svg"
}
Obter detalhes da equipe da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44506/get+mlb+team+details?team_id=147' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna todos os nomes e cidades que uma franquia já teve, do mais recente ao primeiro, cada um com as temporadas em que foi usado
Endpoint ID: 44507
GET https://zylalabs.com/api/15957/mlb+api/44507/get+mlb+team+history
PARÂMETROS DE ENTRADA

Obter histórico do time da MLB — Recursos do endpoint

Objeto Descrição
team_id Obrigatório Team id (e.g. "147"). Use the /team/list endpoint to list valid values.

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

team_id
RESPOSTA DE EXEMPLO DA API
JSON
[
    {
        "allStarStatus": "N",
        "id": 147,
        "name": "New York Yankees",
        "season": 2009,
        "venue": {
            "id": 3313,
            "name": "Yankee Stadium"
        },
        "springVenue": {
            "id": 2523
        },
        "teamCode": "nya",
        "fileCode": "nyy",
        "abbreviation": "NYY",
        "teamName": "Yankees",
        "locationName": "Bronx",
        "firstYearOfPlay": "1903",
        "league": {
            "id": 103,
            "name": "American League"
        },
        "sport": {
            "id": 1,
            "name": "Major League Baseball"
        },
        "shortName": "NY Yankees",
        "franchiseName": "New York",
        "clubName": "Yankees",
        "active": true
    },
    {
        "allStarStatus": "N",
        "id": 147,
        "name": "New York Yankees",
        "season": 1974,
        "venue": {
            "id": 25,
            "name": "Shea Stadium"
        },
        "teamCode": "nya",
        "fileCode": "nyy",
        "abbreviation": "NYY",
        "teamName": "Yankees",
        "locationName": "Flushing",
        "firstYearOfPlay": "1903",
        "league": {
            "id": 103,
            "name": "American League"
        },
        "sport": {
            "id": 1,
            "name": "Major League Baseball"
        },
        "shortName": "NY Yankees",
        "franchiseName": "New York",
        "clubName": "Yankees",
        "active": true
    },
    {
        "allStarStatus": "N",
        "id": 147,
        "name": "New York Yankees",
        "season": 1923,
        "venue": {
            "id": 9,
            "name": "Yankee Stadium I"
        },
        "teamCode": "nya",
        "fileCode": "nyy",
        "abbreviation": "NYY",
        "teamName": "Yankees",
        "locationName": "Bronx",
        "firstYearOfPlay": "1903",
        "league": {
            "id": 103,
            "name": "American League"
        },
        "sport": {
            "id": 1,
            "name": "Major League Baseball"
        },
        "shortName": "NY Yankees",
        "franchiseName": "New York",
        "clubName": "Yankees",
        "active": true
    },
    {
        "allStarStatus": "N",
        "id": 147,
        "name": "New York Yankees",
        "season": 1913,
        "venue": {
            "id": 3140,
            "name": "Polo Grounds IV"
        },
        "teamCode": "nya",
        "fileCode": "nyy",
        "abbreviation": "NYY",
        "teamName": "Yankees",
        "locationName": "New York",
        "firstYearOfPlay": "1903",
        "league": {
            "id": 103,
            "name": "American League"
        },
        "sport": {
            "id": 1,
            "name": "Major League Baseball"
        },
        "shortName": "NY Yankees",
        "franchiseName": "New York",
        "clubName": "Yankees",
        "active": true
    },
    {
        "allStarStatus": "N",
        "id": 147,
        "name": "New York Highlanders",
        "season": 1903,
        "venue": {
            "id": 3127,
            "name": "Hilltop Park"
        },
        "teamCode": "nya",
        "fileCode": "nyy",
        "abbreviation": "NYH",
        "teamName": "Highlanders",
        "locationName": "New York",
        "firstYearOfPlay": "1903",
        "league": {
            "id": 103,
            "name": "American League"
        },
        "sport": {
            "id": 1,
            "name": "Major League Baseball"
        },
        "shortName": "NY Yankees",
        "franchiseName": "New York",
        "clubName": "Highlanders",
        "active": true
    }
]
Obter histórico do time da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44507/get+mlb+team+history?team_id=147' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna os líderes de uma equipe em uma estatística ao longo de uma temporada cada um com sua classificação valor e grupo de estatísticas contabilizado
Endpoint ID: 44508
GET https://zylalabs.com/api/15957/mlb+api/44508/get+mlb+team+leaders
PARÂMETROS DE ENTRADA

Obtenha os líderes das equipes da MLB — Recursos do endpoint

Objeto Descrição
team_id Obrigatório Team id (e.g. "147"). Use the /team/list endpoint to list valid values.
category Obrigatório Leader category (e.g. "homeRuns", "battingAverage", "earnedRunAverage", "strikeouts"). Use the /general/leader-categories endpoint to list valid values.
season Opcional Optional season year (e.g. "2026"; defaults to the current season). Use the /general/seasons endpoint to list valid values.
limit Opcional Optional number of leaders, from 1 to 50 (defaults to 10).

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

team_id
category
season
limit
RESPOSTA DE EXEMPLO DA API
JSON
[
    {
        "leaderCategory": "homeRuns",
        "season": "2026",
        "gameType": {
            "id": "R",
            "description": "Regular Season"
        },
        "leaders": [
            {
                "rank": 1,
                "value": "41",
                "team": {
                    "id": 147,
                    "name": "New York Yankees"
                },
                "league": {
                    "id": 103,
                    "name": "AL"
                },
                "person": {
                    "id": 700250,
                    "fullName": "Ben Rice",
                    "firstName": "Ben",
                    "lastName": "Rice",
                    "nameSlug": "ben-rice-700250"
                },
                "sport": {
                    "id": 1,
                    "abbreviation": "MLB"
                },
                "season": "2026"
            },
            {
                "rank": 2,
                "value": "19",
                "team": {
                    "id": 147,
                    "name": "New York Yankees"
                },
                "league": {
                    "id": 103,
                    "name": "AL"
                },
                "person": {
                    "id": 665862,
                    "fullName": "Jazz Chisholm Jr.",
                    "firstName": "Jazz",
                    "lastName": "Chisholm",
                    "nameSlug": "jazz-chisholm-665862"
                },
                "sport": {
                    "id": 1,
                    "abbreviation": "MLB"
                },
                "season": "2026"
            },
            {
                "rank": 3,
                "value": "18",
                "team": {
                    "id": 147,
                    "name": "New York Yankees"
                },
                "league": {
                    "id": 103,
                    "name": "AL"
                },
                "person": {
                    "id": 502671,
                    "fullName": "Paul Goldschmidt",
                    "firstName": "Paul",
                    "lastName": "Goldschmidt",
                    "nameSlug": "paul-goldschmidt-502671"
                },
                "sport": {
                    "id": 1,
                    "abbreviation": "MLB"
                },
                "season": "2026"
            },
            {
                "rank": 3,
                "value": "18",
                "team": {
                    "id": 147,
                    "name": "New York Yankees"
                },
                "league": {
                    "id": 103,
                    "name": "AL"
                },
                "person": {
                    "id": 663757,
                    "fullName": "Trent Grisham",
                    "firstName": "Trent",
                    "lastName": "Grisham",
                    "nameSlug": "trent-grisham-663757"
                },
                "sport": {
                    "id": 1,
                    "abbreviation": "MLB"
                },
                "season": "2026"
            },
            {
                "rank": 3,
                "value": "18",
                "team": {
                    "id": 147,
                    "name": "New York Yankees"
                },
                "league": {
                    "id": 103,
                    "name": "AL"
                },
                "person": {
                    "id": 592450,
                    "fullName": "Aaron Judge",
                    "firstName": "Aaron",
                    "lastName": "Judge",
                    "nameSlug": "aaron-judge-592450"
                },
                "sport": {
                    "id": 1,
                    "abbreviation": "MLB"
                },
                "season": "2026"
            },
            {
                "rank": 6,
                "value": "17",
                "team": {
                    "id": 147,
                    "name": "New York Yankees"
                },
                "league": {
                    "id": 103,
                    "name": "AL"
                },
                "person": {
                    "id": 641355,
                    "fullName": "Cody Bellinger",
                    "firstName": "Cody",
                    "lastName": "Bellinger",
                    "nameSlug": "cody-bellinger-641355"
                },
                "sport": {
                    "id": 1,
                    "abbreviation": "MLB"
                },
                "season": "2026"
            },
            {
                "rank": 7,
                "value": "14",
                "team": {
                    "id": 147,
                    "name": "New York Yankees"
                },
                "league": {
                    "id": 103,
                    "name": "AL"
                },
                "person": {
                    "id": 676609,
                    "fullName": "José Caballero",
                    "firstName": "José",
                    "lastName": "Caballero",
                    "nameSlug": "jose-caballero-676609"
                },
                "sport": {
                    "id": 1,
                    "abbreviation": "MLB"
                },
                "season": "2026"
            },
            {
                "rank": 7,
                "value": "14",
                "team": {
                    "id": 147,
                    "name": "New York Yankees"
                },
                "league": {
                    "id": 103,
                    "name": "AL"
                },
                "person": {
                    "id": 669224,
                    "fullName": "Austin Wells",
                    "firstName": "Austin",
                    "lastName": "Wells",
                    "nameSlug": "austin-wells-669224"
                },
                "sport": {
                    "id": 1,
                    "abbreviation": "MLB"
                },
                "season": "2026"
            },
            {
                "rank": 9,
                "value": "11",
                "team": {
                    "id": 147,
                    "name": "New York Yankees"
                },
                "league": {
                    "id": 103,
                    "name": "AL"
                },
                "person": {
                    "id": 682987,
                    "fullName": "Spencer Jones",
                    "firstName": "Spencer",
                    "lastName": "Jones",
                    "nameSlug": "spencer-jones-682987"
                },
                "sport": {
                    "id": 1,
                    "abbreviation": "MLB"
                },
                "season": "2026"
            },
            {
                "rank": 9,
                "value": "11",
                "team": {
                    "id": 147,
                    "name": "New York Yankees"
                },
                "league": {
                    "id": 103,
                    "name": "AL"
                },
                "person": {
                    "id": 641857,
                    "fullName": "Ryan McMahon",
                    "firstName": "Ryan",
                    "lastName": "McMahon",
                    "nameSlug": "ryan-mcmahon-641857"
                },
                "sport": {
                    "id": 1,
                    "abbreviation": "MLB"
                },
                "season": "2026"
            }
        ],
        "statGroup": "hitting",
        "team": {
            "id": 147,
            "name": "New York Yankees"
        },
        "totalSplits": 19
    }
]
Obtenha os líderes das equipes da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44508/get+mlb+team+leaders?team_id=147&category=homeRuns&season=2026&limit=10' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna as equipes de um esporte em uma temporada, por nome, com seu id, abreviação, localização, estádio, liga, divisão, clube matriz, primeiro ano de jogo e logotipos
Endpoint ID: 44509
GET https://zylalabs.com/api/15957/mlb+api/44509/get+mlb+teams
PARÂMETROS DE ENTRADA

Obtenha times da MLB — Recursos do endpoint

Objeto Descrição
sport Opcional Optional sport: "mlb", "aaa", "aa", "high_a", "single_a", "rookie" or "winter" (defaults to "mlb"). Use the /general/sports endpoint to list valid values.
season Opcional Optional season year (e.g. "2026"; defaults to the current season). Use the /general/seasons endpoint to list valid values.

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

sport
season
RESPOSTA DE EXEMPLO DA API
JSON
[
    {
        "springLeague": {
            "id": 114,
            "name": "Cactus League",
            "abbreviation": "CL"
        },
        "allStarStatus": "N",
        "id": 109,
        "name": "Arizona Diamondbacks",
        "season": 2026,
        "venue": {
            "id": 15,
            "name": "Chase Field"
        },
        "springVenue": {
            "id": 4249
        },
        "teamCode": "ari",
        "fileCode": "ari",
        "abbreviation": "AZ",
        "teamName": "D-backs",
        "locationName": "Phoenix",
        "firstYearOfPlay": "1996",
        "league": {
            "id": 104,
            "name": "National League"
        },
        "division": {
            "id": 203,
            "name": "National League West"
        },
        "sport": {
            "id": 1,
            "name": "Major League Baseball"
        },
        "shortName": "Arizona",
        "franchiseName": "Arizona",
        "clubName": "Diamondbacks",
        "active": true,
        "logo": "https://www.mlbstatic.com/team-logos/109.svg",
        "logoOnDark": "https://www.mlbstatic.com/team-logos/team-cap-on-dark/109.svg"
    },
    {
        "springLeague": {
            "id": 114,
            "name": "Cactus League",
            "abbreviation": "CL"
        },
        "allStarStatus": "N",
        "id": 133,
        "name": "Athletics",
        "season": 2026,
        "venue": {
            "id": 2529,
            "name": "Sutter Health Park"
        },
        "springVenue": {
            "id": 2507
        },
        "teamCode": "ath",
        "fileCode": "ath",
        "abbreviation": "ATH",
        "teamName": "Athletics",
        "locationName": "Sacramento",
        "firstYearOfPlay": "1901",
        "league": {
            "id": 103,
            "name": "American League"
        },
        "division": {
            "id": 200,
            "name": "American League West"
        },
        "sport": {
            "id": 1,
            "name": "Major League Baseball"
        },
        "shortName": "Athletics",
        "franchiseName": "Athletics",
        "clubName": "Athletics",
        "active": true,
        "logo": "https://www.mlbstatic.com/team-logos/133.svg",
        "logoOnDark": "https://www.mlbstatic.com/team-logos/team-cap-on-dark/133.svg"
    },
    {
        "springLeague": {
            "id": 115,
            "name": "Grapefruit League",
            "abbreviation": "GL"
        },
        "allStarStatus": "N",
        "id": 144,
        "name": "Atlanta Braves",
        "season": 2026,
        "venue": {
            "id": 4705,
            "name": "Truist Park"
        },
        "springVenue": {
            "id": 5380
        },
        "teamCode": "atl",
        "fileCode": "atl",
        "abbreviation": "ATL",
        "teamName": "Braves",
        "locationName": "Atlanta",
        "firstYearOfPlay": "1871",
        "league": {
            "id": 104,
            "name": "National League"
        },
        "division": {
            "id": 204,
            "name": "National League East"
        },
        "sport": {
            "id": 1,
            "name": "Major League Baseball"
        },
        "shortName": "Atlanta",
        "franchiseName": "Atlanta",
        "clubName": "Braves",
        "active": true,
        "logo": "https://www.mlbstatic.com/team-logos/144.svg",
        "logoOnDark": "https://www.mlbstatic.com/team-logos/team-cap-on-dark/144.svg"
    },
    {
        "springLeague": {
            "id": 115,
            "name": "Grapefruit League",
            "abbreviation": "GL"
        },
        "allStarStatus": "N",
        "id": 110,
        "name": "Baltimore Orioles",
        "season": 2026,
        "venue": {
            "id": 2,
            "name": "Oriole Park at Camden Yards"
        },
        "springVenue": {
            "id": 2508
        },
        "teamCode": "bal",
        "fileCode": "bal",
        "abbreviation": "BAL",
        "teamName": "Orioles",
        "locationName": "Baltimore",
        "firstYearOfPlay": "1901",
        "league": {
            "id": 103,
            "name": "American League"
        },
        "division": {
            "id": 201,
            "name": "American League East"
        },
        "sport": {
            "id": 1,
            "name": "Major League Baseball"
        },
        "shortName": "Baltimore",
        "franchiseName": "Baltimore",
        "clubName": "Orioles",
        "active": true,
        "logo": "https://www.mlbstatic.com/team-logos/110.svg",
        "logoOnDark": "https://www.mlbstatic.com/team-logos/team-cap-on-dark/110.svg"
    },
    {
        "springLeague": {
            "id": 115,
            "name": "Grapefruit League",
            "abbreviation": "GL"
        },
        "allStarStatus": "N",
        "id": 111,
        "name": "Boston Red Sox",
        "season": 2026,
        "venue": {
            "id": 3,
            "name": "Fenway Park"
        },
        "springVenue": {
            "id": 4309
        },
        "teamCode": "bos",
        "fileCode": "bos",
        "abbreviation": "BOS",
        "teamName": "Red Sox",
        "locationName": "Boston",
        "firstYearOfPlay": "1901",
        "league": {
            "id": 103,
            "name": "American League"
        },
        "division": {
            "id": 201,
            "name": "American League East"
        },
        "sport": {
            "id": 1,
            "name": "Major League Baseball"
        },
        "shortName": "Boston",
        "franchiseName": "Boston",
        "clubName": "Red Sox",
        "active": true,
        "logo": "https://www.mlbstatic.com/team-logos/111.svg",
        "logoOnDark": "https://www.mlbstatic.com/team-logos/team-cap-on-dark/111.svg"
    },
    {
        "springLeague": {
            "id": 114,
            "name": "Cactus League",
            "abbreviation": "CL"
        },
        "allStarStatus": "N",
        "id": 112,
        "name": "Chicago Cubs",
        "season": 2026,
        "venue": {
            "id": 17,
            "name": "Wrigley Field"
        },
        "springVenue": {
            "id": 4629
        },
        "teamCode": "chn",
        "fileCode": "chc",
        "abbreviation": "CHC",
        "teamName": "Cubs",
        "locationName": "Chicago",
        "firstYearOfPlay": "1874",
        "league": {
            "id": 104,
            "name": "National League"
        },
        "division": {
            "id": 205,
            "name": "National League Central"
        },
        "sport": {
            "id": 1,
            "name": "Major League Baseball"
        },
        "shortName": "Chi Cubs",
        "franchiseName": "Chicago",
        "clubName": "Cubs",
        "active": true,
        "logo": "https://www.mlbstatic.com/team-logos/112.svg",
        "logoOnDark": "https://www.mlbstatic.com/team-logos/team-cap-on-dark/112.svg"
    },
    {
        "springLeague": {
            "id": 114,
            "name": "Cactus League",
            "abbreviation": "CL"
        },
        "allStarStatus": "N",
        "id": 145,
        "name": "Chicago White Sox",
        "season": 2026,
        "venue": {
            "id": 4,
            "name": "Rate Field"
        },
        "springVenue": {
            "id": 3809
        },
        "teamCode": "cha",
        "fileCode": "cws",
        "abbreviation": "CWS",
        "teamName": "White Sox",
        "locationName": "Chicago",
        "firstYearOfPlay": "1901",
        "league": {
            "id": 103,
            "name": "American League"
        },
        "division": {
            "id": 202,
            "name": "American League Central"
        },
        "sport": {
            "id": 1,
            "name": "Major League Baseball"
        },
        "shortName": "Chi White Sox",
        "franchiseName": "Chicago",
        "clubName": "White Sox",
        "active": true,
        "logo": "https://www.mlbstatic.com/team-logos/145.svg",
        "logoOnDark": "https://www.mlbstatic.com/team-logos/team-cap-on-dark/145.svg"
    }
]
Obtenha times da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44509/get+mlb+teams?sport=mlb&season=2026' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna as notícias mais recentes de um time, cada uma com seu slug, link, manchete, resumo, autoria, data, imagem e os times e jogadores sobre os quais trata 25 notícias por página, até 100
Endpoint ID: 44510
GET https://zylalabs.com/api/15957/mlb+api/44510/get+mlb+team+news
PARÂMETROS DE ENTRADA

Receba notícias dos times da MLB — Recursos do endpoint

Objeto Descrição
team_id Obrigatório Team id of a major league club (e.g. "147"). Use the /team/list endpoint to list valid values.
page Opcional Optional page number, from 1 to 4 (defaults to 1).

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

team_id
page
RESPOSTA DE EXEMPLO DA API
JSON
{
    "page": 1,
    "per_page": 25,
    "has_more": false,
    "results": [
        {
            "slug": "commissioner-letter-to-fans-december-2026",
            "url": "https://www.mlb.com/news/commissioner-letter-to-fans-december-2026",
            "headline": "A letter to baseball fans from Commissioner Rob Manfred",
            "title": "Commissioner letter to fans December 2026",
            "summary": " ",
            "byline": null,
            "type": "Article",
            "date": "2026-12-02T00:00:12.924Z",
            "updated_at": "2026-12-02T00:00:12.924Z",
            "image": {
                "title": "mlb 2",
                "url": "https://img.mlbstatic.com/mlb-images/image/upload/t_16x9/t_w1024/mlb/ppwq6snzptokcbyct8bp",
                "thumbnail": "https://img.mlbstatic.com/mlb-images/image/upload/w_250,h_250,c_thumb,g_auto,q_auto,f_jpg/mlb/ppwq6snzptokcbyct8bp"
            },
            "teams": [],
            "players": []
        },
        {
            "slug": "mlb-lockout-begins-december-2-2026",
            "url": "https://www.mlb.com/news/mlb-lockout-begins-december-2-2026",
            "headline": "Without agreement on new CBA, MLB commences lockout",
            "title": "MLB lockout begins December 2, 2026",
            "summary": "SCOTTSDALE – Meetings between Major League Baseball and the MLB Players Association wrapped on Tuesday without a new Collective Bargaining Agreement, and with no further meetings planned, the league implemented a lockout of its players at 12:01 a.m. ET Wednesday.\nCommissioner Rob Manfred announced the league’s plans on Tuesday evening",
            "byline": "Mark Feinsand",
            "type": "Article",
            "date": "2026-12-02T05:01:00Z",
            "updated_at": "2026-12-02T05:06:19.395Z",
            "image": {
                "title": "baseball bats dugout 2",
                "url": "https://img.mlbstatic.com/mlb-images/image/upload/t_16x9/t_w1024/mlb/ttakzplmjc0b4kypxbmx",
                "thumbnail": "https://img.mlbstatic.com/mlb-images/image/upload/w_250,h_250,c_thumb,g_auto,q_auto,f_jpg/mlb/ttakzplmjc0b4kypxbmx"
            },
            "teams": [],
            "players": []
        },
        {
            "slug": "why-is-there-a-lockout-in-mlb-2026-27",
            "url": "https://www.mlb.com/news/why-is-there-a-lockout-in-mlb-2026-27",
            "headline": "FAQ on CBA negotiations between MLB and MLBPA",
            "title": "Why is there a lockout in MLB?",
            "summary": "Q: What is a lockout?\nA: Under federal labor law, when the Collective Bargaining Agreement (CBA) expires without a new agreement in place, the League has the right to lockout the players, and conversely, the players have the right to go on strike at a time of their choosing. In",
            "byline": null,
            "type": "Article",
            "date": "2026-12-02T05:05:34.89Z",
            "updated_at": "2026-12-02T05:37:45.603Z",
            "image": {
                "title": "mlb 3",
                "url": "https://img.mlbstatic.com/mlb-images/image/upload/t_16x9/t_w1024/mlb/ook55ujg0dxejoxfyu0w",
                "thumbnail": "https://img.mlbstatic.com/mlb-images/image/upload/w_250,h_250,c_thumb,g_auto,q_auto,f_jpg/mlb/ook55ujg0dxejoxfyu0w"
            },
            "teams": [],
            "players": []
        },
        {
            "slug": "a-note-about-our-website-content",
            "url": "https://www.mlb.com/news/a-note-about-our-website-content",
            "headline": "A note about our website content",
            "title": "A note about our website content",
            "summary": "You may notice that the content on this site looks a little different than usual. The reason for this is because the Collective Bargaining Agreement between the players and the league expired just before midnight on Dec. 1 and a new CBA is currently being negotiated between the owners and",
            "byline": null,
            "type": "Article",
            "date": "2026-12-02T05:01:00Z",
            "updated_at": "2026-12-02T05:13:36.873Z",
            "image": {
                "title": "mlb 1",
                "url": "https://img.mlbstatic.com/mlb-images/image/upload/t_16x9/t_w1024/mlb/wpf4w3s0bm8lh0t6ylwe",
                "thumbnail": "https://img.mlbstatic.com/mlb-images/image/upload/w_250,h_250,c_thumb,g_auto,q_auto,f_jpg/mlb/wpf4w3s0bm8lh0t6ylwe"
            },
            "teams": [],
            "players": []
        },
        {
            "slug": "more-cba-updates-and-information-x6454",
            "url": "https://www.mlb.com/news/more-cba-updates-and-information-x6454",
            "headline": "More CBA updates and information",
            "title": "More CBA updates and information",
            "summary": null,
            "byline": null,
            "type": null,
            "date": "2026-12-02T05:05:26.326Z",
            "updated_at": "2026-12-02T05:05:26.326Z",
            "image": {
                "title": "LTPF-thumbnail",
                "url": "https://img.mlbstatic.com/mlb-images/image/upload/t_16x9/t_w1024/mlb/lkfpblpmliw4ohx2x4ou",
                "thumbnail": "https://img.mlbstatic.com/mlb-images/image/upload/w_250,h_250,c_thumb,g_auto,q_auto,f_jpg/mlb/lkfpblpmliw4ohx2x4ou"
            },
            "teams": [],
            "players": []
        }
    ]
}
Receba notícias dos times da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44510/get+mlb+team+news?team_id=147&page=1' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna os jogadores de uma equipe, como elenco ativo, elenco de 40 jogadores, temporada completa, lista de posições, convidados fora do elenco ou todos os jogadores de sua história, cada um com seu número, posição, status e biografia
Endpoint ID: 44511
GET https://zylalabs.com/api/15957/mlb+api/44511/get+mlb+team+roster
PARÂMETROS DE ENTRADA

Obter o elenco da equipe da MLB — Recursos do endpoint

Objeto Descrição
team_id Obrigatório Team id (e.g. "147"). Use the /team/list endpoint to list valid values.
roster_type Opcional Optional roster type (defaults to "active"). Use the /general/roster-types endpoint to list valid values.
season Opcional Optional season year (e.g. "2026"; defaults to the current season). Use the /general/seasons endpoint to list valid values.
date Opcional Optional date in the YYYY-MM-DD format, for the roster as it was on that day (e.g. "2026-07-01").

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

team_id
roster_type
season
date
RESPOSTA DE EXEMPLO DA API
JSON
[
    {
        "person": {
            "id": 645305,
            "fullName": "Ali Sánchez",
            "firstName": "Ali",
            "lastName": "Sánchez",
            "primaryNumber": "39",
            "birthDate": "1997-01-20",
            "currentAge": 29,
            "birthCity": "Carora",
            "birthCountry": "Venezuela",
            "height": "6' 0\"",
            "weight": 200,
            "active": true,
            "primaryPosition": {
                "code": "2",
                "name": "Catcher",
                "type": "Catcher",
                "abbreviation": "C"
            },
            "useName": "Ali",
            "useLastName": "Sánchez",
            "middleName": "Miguel",
            "boxscoreName": "Sánchez, A",
            "gender": "M",
            "nameMatrilineal": "Marchan",
            "isPlayer": true,
            "isVerified": true,
            "pronunciation": "AH-lee",
            "mlbDebutDate": "2020-08-10",
            "batSide": {
                "code": "R",
                "description": "Right"
            },
            "pitchHand": {
                "code": "R",
                "description": "Right"
            },
            "nameFirstLast": "Ali Sánchez",
            "nameSlug": "ali-sanchez-645305",
            "firstLastName": "Ali Sánchez",
            "lastFirstName": "Sánchez, Ali",
            "lastInitName": "Sánchez, A",
            "initLastName": "A Sánchez",
            "fullFMLName": "Ali Miguel Sánchez",
            "fullLFMName": "Sánchez, Ali Miguel",
            "strikeZoneTop": 3.195,
            "strikeZoneBottom": 1.612
        },
        "jerseyNumber": "39",
        "position": {
            "code": "2",
            "name": "Catcher",
            "type": "Catcher",
            "abbreviation": "C"
        },
        "status": {
            "code": "A",
            "description": "Active"
        },
        "parentTeamId": 147
    },
    {
        "person": {
            "id": 642708,
            "fullName": "Amed Rosario",
            "firstName": "German",
            "lastName": "Rosario",
            "birthDate": "1995-11-20",
            "currentAge": 31,
            "birthCity": "Santo Domingo",
            "birthCountry": "Dominican Republic",
            "height": "6' 1\"",
            "weight": 227,
            "active": true,
            "primaryPosition": {
                "code": "6",
                "name": "Shortstop",
                "type": "Infielder",
                "abbreviation": "SS"
            },
            "useName": "Amed",
            "useLastName": "Rosario",
            "middleName": "Amed",
            "boxscoreName": "Rosario, A",
            "nickName": "Rosie",
            "gender": "M",
            "nameMatrilineal": "Valdez",
            "isPlayer": true,
            "isVerified": true,
            "pronunciation": "row-SAH-ree-oh",
            "mlbDebutDate": "2017-08-01",
            "batSide": {
                "code": "R",
                "description": "Right"
            },
            "pitchHand": {
                "code": "R",
                "description": "Right"
            },
            "nameFirstLast": "Amed Rosario",
            "nameSlug": "amed-rosario-642708",
            "firstLastName": "Amed Rosario",
            "lastFirstName": "Rosario, Amed",
            "lastInitName": "Rosario, A",
            "initLastName": "A Rosario",
            "fullFMLName": "German Amed Rosario",
            "fullLFMName": "Rosario, German Amed",
            "strikeZoneTop": 3.27,
            "strikeZoneBottom": 1.65
        },
        "jerseyNumber": "14",
        "position": {
            "code": "5",
            "name": "Third Base",
            "type": "Infielder",
            "abbreviation": "3B"
        },
        "status": {
            "code": "A",
            "description": "Active"
        },
        "parentTeamId": 147
    },
    {
        "person": {
            "id": 683011,
            "fullName": "Anthony Volpe",
            "firstName": "Anthony",
            "lastName": "Volpe",
            "primaryNumber": "11",
            "birthDate": "2001-04-28",
            "currentAge": 25,
            "birthCity": "New York",
            "birthStateProvince": "NY",
            "birthCountry": "USA",
            "height": "5' 10\"",
            "weight": 197,
            "active": true,
            "primaryPosition": {
                "code": "6",
                "name": "Shortstop",
                "type": "Infielder",
                "abbreviation": "SS"
            },
            "useName": "Anthony",
            "useLastName": "Volpe",
            "middleName": "Michael",
            "boxscoreName": "Volpe",
            "gender": "M",
            "isPlayer": true,
            "isVerified": true,
            "draftYear": 2019,
            "pronunciation": "VOLE-pee",
            "mlbDebutDate": "2023-03-30",
            "batSide": {
                "code": "R",
                "description": "Right"
            },
            "pitchHand": {
                "code": "R",
                "description": "Right"
            },
            "nameFirstLast": "Anthony Volpe",
            "nameSlug": "anthony-volpe-683011",
            "firstLastName": "Anthony Volpe",
            "lastFirstName": "Volpe, Anthony",
            "lastInitName": "Volpe, A",
            "initLastName": "A Volpe",
            "fullFMLName": "Anthony Michael Volpe",
            "fullLFMName": "Volpe, Anthony Michael",
            "strikeZoneTop": 3.116,
            "strikeZoneBottom": 1.572
        },
        "jerseyNumber": "11",
        "position": {
            "code": "6",
            "name": "Shortstop",
            "type": "Infielder",
            "abbreviation": "SS"
        },
        "status": {
            "code": "A",
            "description": "Active"
        },
        "parentTeamId": 147
    }
]
Obter o elenco da equipe da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44511/get+mlb+team+roster?team_id=147&roster_type=active&season=2026&date=2026-07-01' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna todos os jogos de uma equipe em uma temporada incluindo o treinamento de primavera e a pós-temporada com o que o endpoint /game/list fornece para cada um deles
Endpoint ID: 44512
GET https://zylalabs.com/api/15957/mlb+api/44512/get+mlb+team+schedule
PARÂMETROS DE ENTRADA

Obter calendário de jogos da equipe da MLB — Recursos do endpoint

Objeto Descrição
team_id Obrigatório Team id (e.g. "147"). Use the /team/list endpoint to list valid values.
season Opcional Optional season year (e.g. "2026"; defaults to the current season). Use the /general/seasons endpoint to list valid values.
game_type Opcional Optional game type (e.g. "regular_season"; every type when left out). Use the /general/game-types endpoint to list valid values.

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

team_id
season
game_type
RESPOSTA DE EXEMPLO DA API
JSON
[
    {
        "gamePk": 823244,
        "gameGuid": "cc3d3afe-591e-44b8-a273-5730f50910b7",
        "gameType": "R",
        "season": "2026",
        "gameDate": "2026-03-26T00:05:00Z",
        "officialDate": "2026-03-25",
        "status": {
            "abstractGameState": "Final",
            "codedGameState": "F",
            "detailedState": "Final",
            "statusCode": "F",
            "startTimeTBD": false,
            "abstractGameCode": "F"
        },
        "teams": {
            "away": {
                "team": {
                    "id": 147,
                    "name": "New York Yankees",
                    "teamCode": "nya",
                    "abbreviation": "NYY",
                    "teamName": "Yankees",
                    "locationName": "Bronx",
                    "league": {
                        "id": 103,
                        "name": "American League"
                    },
                    "division": {
                        "id": 201,
                        "name": "American League East"
                    },
                    "shortName": "NY Yankees",
                    "franchiseName": "New York",
                    "clubName": "Yankees",
                    "logo": "https://www.mlbstatic.com/team-logos/147.svg",
                    "logoOnDark": "https://www.mlbstatic.com/team-logos/team-cap-on-dark/147.svg"
                },
                "leagueRecord": {
                    "wins": 1,
                    "losses": 0,
                    "ties": 0,
                    "pct": "1.000"
                },
                "score": 7,
                "isWinner": true,
                "probablePitcher": {
                    "id": 608331,
                    "fullName": "Max Fried",
                    "nameSlug": "max-fried-608331"
                },
                "splitSquad": false,
                "seriesNumber": 1,
                "springLeague": {
                    "id": 115,
                    "name": "Grapefruit League",
                    "abbreviation": "GL"
                }
            },
            "home": {
                "team": {
                    "id": 137,
                    "name": "San Francisco Giants",
                    "teamCode": "sfn",
                    "abbreviation": "SF",
                    "teamName": "Giants",
                    "locationName": "San Francisco",
                    "league": {
                        "id": 104,
                        "name": "National League"
                    },
                    "division": {
                        "id": 203,
                        "name": "National League West"
                    },
                    "shortName": "San Francisco",
                    "franchiseName": "San Francisco",
                    "clubName": "Giants",
                    "logo": "https://www.mlbstatic.com/team-logos/137.svg",
                    "logoOnDark": "https://www.mlbstatic.com/team-logos/team-cap-on-dark/137.svg"
                },
                "leagueRecord": {
                    "wins": 0,
                    "losses": 1,
                    "ties": 0,
                    "pct": ".000"
                },
                "score": 0,
                "isWinner": false,
                "probablePitcher": {
                    "id": 657277,
                    "fullName": "Logan Webb",
                    "nameSlug": "logan-webb-657277"
                },
                "splitSquad": false,
                "seriesNumber": 1,
                "springLeague": {
                    "id": 114,
                    "name": "Cactus League",
                    "abbreviation": "CL"
                }
            }
        }
    }
]
Obter calendário de jogos da equipe da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44512/get+mlb+team+schedule?team_id=147&season=2026&game_type=regular_season' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna as estatísticas de rebatidas, arremessos, defesa, recepção ou corrida de base de uma equipe em uma temporada no total, avançadas, por mês, por dia da semana, em casa e fora ou em vitórias e derrotas
Endpoint ID: 44513
GET https://zylalabs.com/api/15957/mlb+api/44513/get+mlb+team+statistics
PARÂMETROS DE ENTRADA

Obter estatísticas das equipes da MLB — Recursos do endpoint

Objeto Descrição
team_id Obrigatório Team id (e.g. "147"). Use the /team/list endpoint to list valid values.
group Opcional Optional stat group (defaults to "hitting"). Use the /general/stat-groups endpoint to list valid values.
type Opcional Optional stat type (defaults to "season"). Use the /general/team-stat-types endpoint to list valid values.
season Opcional Optional season year (e.g. "2026"; defaults to the current season). Use the /general/seasons endpoint to list valid values.

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

team_id
group
type
season
RESPOSTA DE EXEMPLO DA API
JSON
[
    {
        "type": {
            "displayName": "season"
        },
        "group": {
            "displayName": "hitting"
        },
        "exemptions": [],
        "splits": [
            {
                "season": "2026",
                "stat": {
                    "gamesPlayed": 161,
                    "groundOuts": 1206,
                    "airOuts": 1446,
                    "runs": 739,
                    "doubles": 224,
                    "triples": 19,
                    "homeRuns": 223,
                    "strikeOuts": 1480,
                    "baseOnBalls": 572,
                    "intentionalWalks": 18,
                    "hits": 1250,
                    "hitByPitch": 38,
                    "avg": ".235",
                    "atBats": 5330,
                    "obp": ".311",
                    "slg": ".409",
                    "ops": ".720",
                    "caughtStealing": 49,
                    "stolenBases": 153,
                    "stolenBasePercentage": ".757",
                    "caughtStealingPercentage": ".243",
                    "groundIntoDoublePlay": 92,
                    "numberOfPitches": 23857,
                    "plateAppearances": 5997,
                    "totalBases": 2181,
                    "rbi": 706,
                    "leftOnBase": 1002,
                    "sacBunts": 10,
                    "sacFlies": 42,
                    "babip": ".280",
                    "groundOutsToAirouts": "0.83",
                    "catchersInterference": 5,
                    "atBatsPerHomeRun": "23.90"
                },
                "team": {
                    "id": 147,
                    "name": "New York Yankees"
                }
            }
        ]
    }
]
Obter estatísticas das equipes da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44513/get+mlb+team+statistics?team_id=147&group=hitting&type=season&season=2026' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição
Retorna as transações de uma equipe entre duas datas da mais recente para a mais antiga: trocas contratações dispensas designações movimentações na lista de lesionados retornos e opções cada uma com o jogador as equipes e sua descrição
Endpoint ID: 44514
GET https://zylalabs.com/api/15957/mlb+api/44514/get+mlb+team+transactions
PARÂMETROS DE ENTRADA

Obtenha as transações das equipes da MLB — Recursos do endpoint

Objeto Descrição
team_id Obrigatório Team id (e.g. "147"). Use the /team/list endpoint to list valid values.
start_date Opcional Optional first date in the YYYY-MM-DD format (defaults to 6 days before "end_date"). At most 31 days before "end_date".
end_date Opcional Optional last date in the YYYY-MM-DD format (defaults to today).

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

team_id
start_date
end_date
RESPOSTA DE EXEMPLO DA API
JSON
[
    {
        "id": 933568,
        "person": {
            "id": 821877,
            "fullName": "Blake Schaaf",
            "nameSlug": "blake-schaaf-821877"
        },
        "toTeam": {
            "id": 147,
            "name": "New York Yankees"
        },
        "date": "2026-07-29",
        "effectiveDate": "2026-07-29",
        "resolutionDate": "2026-07-29",
        "typeCode": "SFA",
        "typeDesc": "Signed as Free Agent",
        "description": "New York Yankees signed free agent SS Blake Schaaf to a minor league contract."
    },
    {
        "id": 931999,
        "person": {
            "id": 542194,
            "fullName": "Christian Bethancourt",
            "nameSlug": "christian-bethancourt-542194"
        },
        "toTeam": {
            "id": 147,
            "name": "New York Yankees"
        },
        "date": "2026-07-28",
        "effectiveDate": "2026-07-28",
        "resolutionDate": "2026-07-28",
        "typeCode": "SFA",
        "typeDesc": "Signed as Free Agent",
        "description": "New York Yankees signed free agent C Christian Bethancourt to a minor league contract."
    },
    {
        "id": 931412,
        "person": {
            "id": 682987,
            "fullName": "Spencer Jones",
            "nameSlug": "spencer-jones-682987"
        },
        "fromTeam": {
            "id": 531,
            "name": "Scranton/Wilkes-Barre Highlanders"
        },
        "toTeam": {
            "id": 147,
            "name": "New York Yankees"
        },
        "date": "2026-07-26",
        "effectiveDate": "2026-07-26",
        "typeCode": "CU",
        "typeDesc": "Recalled",
        "description": "New York Yankees recalled CF Spencer Jones from Scranton/Wilkes-Barre RailRiders."
    },
    {
        "id": 931413,
        "person": {
            "id": 641355,
            "fullName": "Cody Bellinger",
            "nameSlug": "cody-bellinger-641355"
        },
        "toTeam": {
            "id": 147,
            "name": "New York Yankees"
        },
        "date": "2026-07-26",
        "effectiveDate": "2026-07-26",
        "resolutionDate": "2026-07-26",
        "typeCode": "SC",
        "typeDesc": "Status Change",
        "description": "New York Yankees placed LF Cody Bellinger on the 10-day injured list. Left hamstring strain."
    },
    {
        "id": 944050,
        "person": {
            "id": 682987,
            "fullName": "Spencer Jones",
            "nameSlug": "spencer-jones-682987"
        },
        "toTeam": {
            "id": 147,
            "name": "New York Yankees"
        },
        "date": "2026-07-26",
        "effectiveDate": "2026-07-26",
        "resolutionDate": "2026-07-26",
        "typeCode": "SC",
        "typeDesc": "Status Change",
        "description": "New York Yankees activated CF Spencer Jones."
    },
    {
        "id": 930211,
        "person": {
            "id": 682987,
            "fullName": "Spencer Jones",
            "nameSlug": "spencer-jones-682987"
        },
        "fromTeam": {
            "id": 147,
            "name": "New York Yankees"
        },
        "toTeam": {
            "id": 531,
            "name": "Scranton/Wilkes-Barre Highlanders"
        },
        "date": "2026-07-23",
        "effectiveDate": "2026-07-23",
        "typeCode": "OPT",
        "typeDesc": "Optioned",
        "description": "New York Yankees optioned CF Spencer Jones to Scranton/Wilkes-Barre RailRiders."
    },
    {
        "id": 930071,
        "person": {
            "id": 665645,
            "fullName": "Kervin Castro",
            "nameSlug": "kervin-castro-665645"
        },
        "fromTeam": {
            "id": 147,
            "name": "New York Yankees"
        },
        "toTeam": {
            "id": 531,
            "name": "Scranton/Wilkes-Barre Highlanders"
        },
        "date": "2026-07-22",
        "effectiveDate": "2026-07-22",
        "typeCode": "OPT",
        "typeDesc": "Optioned",
        "description": "New York Yankees optioned RHP Kervin Castro to Scranton/Wilkes-Barre RailRiders."
    },
    {
        "id": 929846,
        "person": {
            "id": 682987,
            "fullName": "Spencer Jones",
            "nameSlug": "spencer-jones-682987"
        },
        "fromTeam": {
            "id": 531,
            "name": "Scranton/Wilkes-Barre Highlanders"
        },
        "toTeam": {
            "id": 147,
            "name": "New York Yankees"
        },
        "date": "2026-07-22",
        "effectiveDate": "2026-07-22",
        "typeCode": "CU",
        "typeDesc": "Recalled",
        "description": "New York Yankees recalled CF Spencer Jones from Scranton/Wilkes-Barre RailRiders."
    },
    {
        "id": 930070,
        "person": {
            "id": 608331,
            "fullName": "Max Fried",
            "nameSlug": "max-fried-608331"
        },
        "toTeam": {
            "id": 147,
            "name": "New York Yankees"
        },
        "date": "2026-07-22",
        "effectiveDate": "2026-07-22",
        "resolutionDate": "2026-07-22",
        "typeCode": "SC",
        "typeDesc": "Status Change",
        "description": "New York Yankees activated LHP Max Fried from the 15-day injured list."
    },
    {
        "id": 928954,
        "person": {
            "id": 695684,
            "fullName": "Elmer Rodríguez",
            "nameSlug": "elmer-rodriguez-695684"
        },
        "fromTeam": {
            "id": 147,
            "name": "New York Yankees"
        },
        "toTeam": {
            "id": 531,
            "name": "Scranton/Wilkes-Barre Highlanders"
        },
        "date": "2026-07-20",
        "effectiveDate": "2026-07-20",
        "typeCode": "OPT",
        "typeDesc": "Optioned",
        "description": "New York Yankees optioned RHP Elmer Rodríguez to Scranton/Wilkes-Barre RailRiders."
    },
    {
        "id": 929080,
        "person": {
            "id": 842599,
            "fullName": "Austin Berggren",
            "nameSlug": "austin-berggren-842599"
        },
        "toTeam": {
            "id": 147,
            "name": "New York Yankees"
        },
        "date": "2026-07-20",
        "effectiveDate": "2026-07-20",
        "resolutionDate": "2026-07-20",
        "typeCode": "SGN",
        "typeDesc": "Signed",
        "description": "New York Yankees signed RHP Austin Berggren."
    },
    {
        "id": 929079,
        "person": {
            "id": 835219,
            "fullName": "Anthony Potestio",
            "nameSlug": "anthony-potestio-835219"
        },
        "toTeam": {
            "id": 147,
            "name": "New York Yankees"
        },
        "date": "2026-07-20",
        "effectiveDate": "2026-07-20",
        "resolutionDate": "2026-07-20",
        "typeCode": "SGN",
        "typeDesc": "Signed",
        "description": "New York Yankees signed SS Anthony Potestio."
    },
    {
        "id": 929078,
        "person": {
            "id": 821903,
            "fullName": "Garrett Ahern",
            "nameSlug": "garrett-ahern-821903"
        },
        "toTeam": {
            "id": 147,
            "name": "New York Yankees"
        },
        "date": "2026-07-20",
        "effectiveDate": "2026-07-20",
        "resolutionDate": "2026-07-20",
        "typeCode": "SGN",
        "typeDesc": "Signed",
        "description": "New York Yankees signed RHP Garrett Ahern."
    },
    {
        "id": 929076,
        "person": {
            "id": 701331,
            "fullName": "Blake Cyr",
            "nameSlug": "blake-cyr-701331"
        },
        "toTeam": {
            "id": 147,
            "name": "New York Yankees"
        },
        "date": "2026-07-20",
        "effectiveDate": "2026-07-20",
        "resolutionDate": "2026-07-20",
        "typeCode": "SGN",
        "typeDesc": "Signed",
        "description": "New York Yankees signed OF Blake Cyr."
    }
]
Obtenha as transações das equipes da MLB — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/15957/mlb+api/44514/get+mlb+team+transactions?team_id=147&start_date=2026-07-01&end_date=2026-07-31' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Chave de acesso à API e autenticação

Após se cadastrar, cada desenvolvedor recebe uma chave de acesso à API pessoal, uma combinação única de letras e dígitos para acessar nosso endpoint de API. Para autenticar com a MLB API basta incluir seu token Bearer no cabeçalho Authorization.

Cabeçalhos
Cabeçalho Descrição
Authorization Obrigatório Deve ser Bearer access_key. Veja "Sua chave de acesso à API" acima quando você estiver inscrito.

Sem compromisso de longo prazo. Faça upgrade, downgrade ou cancele a qualquer momento. O teste gratuito inclui até 50 requisições.

(Economize 2 meses com cobrança anual 🎉)

A partir de
$10.000/Ano


  • Volume personalizado
  • Limite de taxa personalizado
  • Suporte ao cliente especializado
  • Monitoramento de API em tempo real

Visão Geral

Dados de beisebol: jogos e placares ao vivo, súmulas, jogada a jogada de cada arremesso, probabilidade de vitória, equipes, escalações, estatísticas dos jogadores, classificações, líderes, draft e notícias

Perguntas Frequentes Gerais

O Zyla API Hub é como uma grande loja de APIs, onde você pode encontrar milhares delas em um só lugar. Também oferecemos suporte dedicado e monitoramento em tempo real de todas as APIs. Após se cadastrar, você pode escolher quais APIs deseja usar. Lembre-se apenas de que cada API precisa de sua própria assinatura. Mas se você se inscrever em várias, usará a mesma chave para todas elas, facilitando as coisas para você.
Os preços são listados em USD (Dólar Americano), EUR (Euro), CAD (Dólar Canadense), AUD (Dólar Australiano) e GBP (Libra Esterlina). Aceitamos todos os principais cartões de débito e crédito. Nosso sistema de pagamento usa a mais recente tecnologia de segurança e é operado pela Stripe, uma das empresas de pagamento mais confiáveis do mundo. Se tiver problemas para pagar com cartão, entre em contato conosco em [email protected]

Além disso, se você já tiver uma assinatura ativa em qualquer uma dessas moedas (USD, EUR, CAD, AUD, GBP), essa moeda será mantida para assinaturas subsequentes. Você pode alterar a moeda a qualquer momento, desde que não tenha assinaturas ativas.
A moeda local exibida na página de preços é baseada no país do seu endereço IP e é fornecida apenas como referência. Os preços reais são em USD (Dólar Americano). Ao efetuar o pagamento, a cobrança aparecerá no extrato do seu cartão em USD, mesmo que você veja o valor equivalente em sua moeda local em nosso site. Isso significa que você não pode pagar diretamente com sua moeda local.
Ocasionalmente, o banco pode recusar a cobrança devido às configurações de proteção contra fraude. Sugerimos contatar seu banco inicialmente para verificar se estão bloqueando nossas cobranças. Você também pode acessar o Portal de Cobrança e alterar o cartão associado para realizar o pagamento. Se isso não funcionar e precisar de mais ajuda, entre em contato com nossa equipe em [email protected]
Os preços são determinados por uma assinatura recorrente mensal ou anual, dependendo do plano escolhido.
As chamadas de API são descontadas do seu plano com base nas requisições bem-sucedidas. Cada plano possui um número específico de chamadas por mês. Apenas chamadas bem-sucedidas, indicadas por uma resposta com Status 200, serão contabilizadas, garantindo que falhas não afetem sua cota mensal.
O Zyla API Hub funciona com um sistema de assinatura mensal recorrente. Seu ciclo de cobrança começa no dia em que você compra um dos planos pagos e será renovado no mesmo dia do mês seguinte. Portanto, cancele sua assinatura com antecedência se quiser evitar cobranças futuras.
Para fazer upgrade do seu plano atual, acesse a página de preços da API e selecione o novo plano desejado. O upgrade é instantâneo, permitindo aproveitar imediatamente os recursos do novo plano. Observe que as chamadas restantes do plano anterior não serão transferidas; você será cobrado pelo valor integral do novo plano.
Para verificar quantas chamadas de API restam para o mês atual, consulte o campo 'X-Zyla-API-Calls-Monthly-Remaining' no cabeçalho da resposta. Por exemplo, se seu plano permite 1.000 requisições por mês e você usou 100, este campo no cabeçalho da resposta indicará 900 chamadas restantes.
Para ver o número máximo de requisições de API que seu plano permite, verifique o cabeçalho de resposta 'X-Zyla-RateLimit-Limit'. Por exemplo, se seu plano inclui 1.000 requisições por mês, este cabeçalho exibirá 1.000.
O cabeçalho 'X-Zyla-RateLimit-Reset' mostra o número de segundos até seu limite de taxa ser redefinido. Isso informa quando sua contagem de requisições começará do zero. Por exemplo, se exibir 3.600, significa que restam 3.600 segundos até o limite ser redefinido.
Sim, você pode cancelar seu plano a qualquer momento acessando sua conta e selecionando a opção de cancelamento na página de Cobrança. Observe que upgrades, downgrades e cancelamentos têm efeito imediato. Além disso, após o cancelamento, você não terá mais acesso ao serviço, mesmo que ainda tenha chamadas restantes na sua cota.
Para oferecer a oportunidade de experimentar nossas APIs sem compromisso, oferecemos um teste gratuito de 7 dias que permite realizar até 50 chamadas de API sem custo. Esse teste pode ser usado apenas uma vez; recomendamos aplicá-lo à API que mais interessa. Embora a maioria das APIs ofereça teste gratuito, algumas podem não oferecer. O teste termina após 7 dias ou quando você atingir 50 requisições, o que ocorrer primeiro. Se atingir o limite, será necessário "Iniciar seu plano pago" para continuar. Você encontra esse botão no perfil em Assinatura -> Escolha a API -> aba Preços. Se não cancelar até o 7º dia, sua assinatura será cobrada automaticamente, liberando todas as chamadas do plano.
Após 7 dias, será cobrado o valor total do plano ao qual você estava inscrito durante o teste. Portanto, é importante cancelar antes do término do período. Solicitações de reembolso por esquecimento de cancelamento não são aceitas.
Ao assinar um teste gratuito de API, você pode fazer até 50 chamadas. Se desejar fazer chamadas adicionais além desse limite, a API solicitará que você "Inicie seu plano pago". Você encontra o botão no perfil em Assinatura -> Escolha a API -> aba Preços.
As Ordens de Pagamento são processadas entre os dias 20 e 30 de cada mês. Se você enviar sua solicitação antes do dia 20, seu pagamento será processado dentro desse período.
Você pode nos contatar via chat para receber assistência imediata. Estamos online de 8h às 17h (EST). Se nos contatar após esse horário, retornaremos o mais rápido possível. Além disso, você pode enviar um e-mail para [email protected]

APIs relacionadas