MLB API

API ID 15957

Datos de béisbol partidos y marcadores en directo cuadros de anotación jugada a jugada lanzamiento a lanzamiento probabilidad de victoria equipos plantillas estadísticas de jugadores clasificaciones líderes draft y noticias

Documentación de la API

Endpoints

Solicitud
Devuelve el resumen estadístico de cada equipo: totales de bateo, pitcheo y defensa del equipo, cada jugador con su posición, orden de bateo y estadísticas del partido y de la temporada, los bateadores, lanzadores, suplentes y relevistas, las notas de bateo y defensa y la información del partido (árbitros, clima, hora y asistencia)
Endpoint ID: 44465
GET https://zylalabs.com/api/15957/mlb+api/44465/get+mlb+game+boxscore
PARÁMETROS DE ENTRADA

Obtener el resumen estadístico del partido de MLB — Características del Endpoint

Objeto Descripción
game_id Requerido Game id (e.g. "849815"). Use the /game/list endpoint to list valid values.

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

game_id
RESPUESTA DE EJEMPLO DE LA 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
                }
            }
        }
    }
}
Obtener el resumen estadístico del partido de MLB — CÓDIGOS DE EJEMPLO

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' 


    
Solicitud
Devuelve la aparición al plato en curso durante un partido en vivo o la última de un partido terminado: bateador, lanzador, cuenta, corredores, todos los lanzamientos realizados hasta el momento y las zonas calientes y frías del bateador y del lanzador
Endpoint ID: 44466
GET https://zylalabs.com/api/15957/mlb+api/44466/get+mlb+game+current+play
PARÁMETROS DE ENTRADA

Obtener la jugada actual del partido de la MLB — Características del Endpoint

Objeto Descripción
game_id Requerido Game id (e.g. "849815"). Use the /game/list endpoint to list valid values.

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

game_id
RESPUESTA DE EJEMPLO DE LA 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
}
Obtener la jugada actual del partido de la MLB — CÓDIGOS DE EJEMPLO

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' 


    
Solicitud
Devuelve un partido con su tipo serie fecha y hora estado equipos estadio clima asistencia y duración lanzadores probables anotador oficial cantidad de revisiones y desafíos resumen por entradas lanzadores ganador perdedor y salvador y líderes del partido
Endpoint ID: 44467
GET https://zylalabs.com/api/15957/mlb+api/44467/get+mlb+game+details
PARÁMETROS DE ENTRADA

Obtener detalles del partido de la MLB — Características del Endpoint

Objeto Descripción
game_id Requerido Game id (e.g. "849815"). Use the /game/list endpoint to list valid values.

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

game_id
RESPUESTA DE EJEMPLO DE LA 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
        }
    }
}
Obtener detalles del partido de la MLB — CÓDIGOS DE EJEMPLO

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' 


    
Solicitud
Devuelve los momentos destacados en video de un partido cada uno con su titular descripción fecha duración imagen enlaces MP4 y HLS y etiquetas y el resumen del partido
Endpoint ID: 44468
GET https://zylalabs.com/api/15957/mlb+api/44468/get+mlb+game+highlights
PARÁMETROS DE ENTRADA

Obtén los mejores momentos de los partidos de la MLB — Características del Endpoint

Objeto Descripción
game_id Requerido Game id (e.g. "849815"). Use the /game/list endpoint to list valid values.

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

game_id
RESPUESTA DE EJEMPLO DE LA 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": []
        }
    ]
}
Obtén los mejores momentos de los partidos de la MLB — CÓDIGOS DE EJEMPLO

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' 


    
Solicitud
Devuelve las carreras los hits los errores y los corredores que quedaron en base de cada equipo entrada por entrada y en total con la entrada actual la cuenta los outs el bateador el lanzador y los corredores en base
Endpoint ID: 44469
GET https://zylalabs.com/api/15957/mlb+api/44469/get+mlb+game+linescore
PARÁMETROS DE ENTRADA

Obtener el marcador por entradas del partido de la MLB — Características del Endpoint

Objeto Descripción
game_id Requerido Game id (e.g. "849815"). Use the /game/list endpoint to list valid values.

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

game_id
RESPUESTA DE EJEMPLO DE LA 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
}
Obtener el marcador por entradas del partido de la MLB — CÓDIGOS DE EJEMPLO

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' 


    
Solicitud
Devuelve los partidos de un día con su estado equipos y récords marcador detalle de entradas con la entrada el conteo y los corredores en base lanzadores probables lanzadores ganadores perdedores y salvadores estadio transmisiones de televisión y radio y estado de la serie
Endpoint ID: 44470
GET https://zylalabs.com/api/15957/mlb+api/44470/get+mlb+games+by+date
PARÁMETROS DE ENTRADA

Obtener partidos de la MLB por fecha — Características del Endpoint

Objeto Descripción
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.

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

date
sport
team_id
game_type
RESPUESTA DE EJEMPLO DE LA API
JSON
{
    "date": "2026-09-15"
}
Obtener partidos de la MLB por fecha — CÓDIGOS DE EJEMPLO

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' 


    
Solicitud
Devuelve los juegos que están en curso ahora mismo, con lo que proporciona el endpoint /game/list para cada uno񎟉
Endpoint ID: 44471
GET https://zylalabs.com/api/15957/mlb+api/44471/get+mlb+live+games
PARÁMETROS DE ENTRADA

Ver partidos de MLB en vivo — Características del Endpoint

Objeto Descripción
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.

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

sport
RESPUESTA DE EJEMPLO DE LA API
JSON
[]
Ver partidos de MLB en vivo — CÓDIGOS DE EJEMPLO

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


    
Solicitud
Devuelve cada aparición al plato de un juego en orden: el resultado y su descripción, el marcador, la entrada, la cuenta, el bateador y el lanzador, los corredores y sus movimientos, los créditos defensivos y cada lanzamiento con su tipo, velocidad, giro, quiebre, ubicación y decisión, y para las bolas bateadas el primer movimiento, el ángulo, la distancia y la trayectoria.
Endpoint ID: 44472
GET https://zylalabs.com/api/15957/mlb+api/44472/get+mlb+game+play+by+play
PARÁMETROS DE ENTRADA

Obtener jugada a jugada de los partidos de la MLB — Características del Endpoint

Objeto Descripción
game_id Requerido 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").

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

game_id
inning
RESPUESTA DE EJEMPLO DE LA 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
    }
]
Obtener jugada a jugada de los partidos de la MLB — CÓDIGOS DE EJEMPLO

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' 


    
Solicitud
Devuelve a todas las personas de las dos plantillas de un partido con su biografía: nombre número fecha y lugar de nacimiento altura peso posición batea y lanza debut y zona de strike
Endpoint ID: 44473
GET https://zylalabs.com/api/15957/mlb+api/44473/get+mlb+game+players
PARÁMETROS DE ENTRADA

Obtener jugadores del partido de la MLB — Características del Endpoint

Objeto Descripción
game_id Requerido Game id (e.g. "849815"). Use the /game/list endpoint to list valid values.

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

game_id
RESPUESTA DE EJEMPLO DE LA 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
    }
]
Obtener jugadores del partido de la MLB — CÓDIGOS DE EJEMPLO

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' 


    
Solicitud
Devuelve las jugadas de un partido en las que se anotó una carrera, junto con lo que proporciona el endpoint /game/play-by-play para cada una
Endpoint ID: 44474
GET https://zylalabs.com/api/15957/mlb+api/44474/get+mlb+game+scoring+plays
PARÁMETROS DE ENTRADA

Obtener las jugadas de anotación del partido de MLB — Características del Endpoint

Objeto Descripción
game_id Requerido Game id (e.g. "849815"). Use the /game/list endpoint to list valid values.

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

game_id
RESPUESTA DE EJEMPLO DE LA 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
    }
]
Obtener las jugadas de anotación del partido de MLB — CÓDIGOS DE EJEMPLO

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' 


    
Solicitud
Devuelve la probabilidad de victoria de cada equipo después de cada aparición al plato con la probabilidad que añadió el índice de apalancamiento la entrada el evento su descripción el marcador el bateador y el lanzador
Endpoint ID: 44475
GET https://zylalabs.com/api/15957/mlb+api/44475/get+mlb+game+win+probability
PARÁMETROS DE ENTRADA

Obtén la probabilidad de ganar el partido de la MLB — Características del Endpoint

Objeto Descripción
game_id Requerido Game id (e.g. "849815"). Use the /game/list endpoint to list valid values.

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

game_id
RESPUESTA DE EJEMPLO DE LA 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
    }
]
Obtén la probabilidad de ganar el partido de la MLB — CÓDIGOS DE EJEMPLO

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' 


    
Solicitud
Devuelve cada premio con su id, nombre, descripción y deporte (MVP, Cy Young, Novato del Año, Guante de Oro, Bate de Plata, Salón de la Fama, jugadores de la semana y del mes…), tal como los acepta el parámetro "award_id" del endpoint /league/award-winners
Endpoint ID: 44476
GET https://zylalabs.com/api/15957/mlb+api/44476/get+mlb+awards
PARÁMETROS DE ENTRADA

Pruebas gratuitas restantes: 3 de 3.

Este endpoint no requiere parámetros de entrada.

RESPUESTA DE EJEMPLO DE LA 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
    }
]
Obtener premios de la MLB — CÓDIGOS DE EJEMPLO

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


    
Solicitud
Devuelve las divisiones de un deporte con su nombre, abreviatura y liga
Endpoint ID: 44477
GET https://zylalabs.com/api/15957/mlb+api/44477/get+mlb+divisions
PARÁMETROS DE ENTRADA

Obtén las divisiones de la MLB — Características del Endpoint

Objeto Descripción
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.

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

sport
RESPUESTA DE EJEMPLO DE LA 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
    }
]
Obtén las divisiones de la MLB — CÓDIGOS DE EJEMPLO

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


    
Solicitud
Enumera los valores aceptados por el parámetro "category" de los endpoints /league/leaders y /team/leaders (jonrones, promedio de bateo, ERA, ponches, salvamentos, bases robadas…)
Endpoint ID: 44478
GET https://zylalabs.com/api/15957/mlb+api/44478/get+mlb+leader+categories
PARÁMETROS DE ENTRADA

Pruebas gratuitas restantes: 3 de 3.

Este endpoint no requiere parámetros de entrada.

RESPUESTA DE EJEMPLO DE LA 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"
]
Obtener categorías de líderes de la MLB — CÓDIGOS DE EJEMPLO

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


    
Solicitud
Devuelve las ligas de un deporte con sus abreviaturas, fechas de temporada, número de partidos, divisiones y configuración de comodines.
Endpoint ID: 44479
GET https://zylalabs.com/api/15957/mlb+api/44479/get+mlb+leagues
PARÁMETROS DE ENTRADA

Obtener ligas de MLB — Características del Endpoint

Objeto Descripción
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.

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

sport
RESPUESTA DE EJEMPLO DE LA 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
    }
]
Obtener ligas de MLB — CÓDIGOS DE EJEMPLO

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


    
Solicitud
Enumera los valores aceptados por el parámetro "type" del endpoint /player/statistics
Endpoint ID: 44480
GET https://zylalabs.com/api/15957/mlb+api/44480/get+mlb+player+stat+types
PARÁMETROS DE ENTRADA

Pruebas gratuitas restantes: 3 de 3.

Este endpoint no requiere parámetros de entrada.

RESPUESTA DE EJEMPLO DE LA 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"
    }
]
Obtener tipos de estadísticas de jugadores de la MLB — CÓDIGOS DE EJEMPLO

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


    
Solicitud
Devuelve cada posición con su código abreviatura nombre y tipo tal como lo acepta el parámetro "position"
Endpoint ID: 44481
GET https://zylalabs.com/api/15957/mlb+api/44481/get+mlb+positions
PARÁMETROS DE ENTRADA

Pruebas gratuitas restantes: 3 de 3.

Este endpoint no requiere parámetros de entrada.

RESPUESTA DE EJEMPLO DE LA 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
    }
]
Obtener posiciones de MLB — CÓDIGOS DE EJEMPLO

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


    
Solicitud
Devuelve todas las temporadas de un deporte de la más reciente a la más antigua con las fechas de los entrenamientos de primavera la temporada regular el Juego de las Estrellas la postemporada y la temporada baja y las apariciones al plato y entradas mínimas para ser elegible
Endpoint ID: 44482
GET https://zylalabs.com/api/15957/mlb+api/44482/get+mlb+seasons
PARÁMETROS DE ENTRADA

Obtener temporadas de MLB — Características del Endpoint

Objeto Descripción
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.

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

sport
RESPUESTA DE EJEMPLO DE LA 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
    }
]
Obtener temporadas de MLB — CÓDIGOS DE EJEMPLO

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


    
Solicitud
Enumera los valores aceptados por el parámetro "sport": las Grandes Ligas de Béisbol y los niveles de sus ligas menores (Triple-A, Doble-A, High-A, Single-A, Rookie) y las ligas de invierno
Endpoint ID: 44483
GET https://zylalabs.com/api/15957/mlb+api/44483/get+mlb+sports
PARÁMETROS DE ENTRADA

Pruebas gratuitas restantes: 3 de 3.

Este endpoint no requiere parámetros de entrada.

RESPUESTA DE EJEMPLO DE LA 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"
    }
]
Consigue deportes de la MLB — CÓDIGOS DE EJEMPLO

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


    
Solicitud
Enumera los valores aceptados por el parámetro «group» .
Endpoint ID: 44484
GET https://zylalabs.com/api/15957/mlb+api/44484/get+mlb+stat+groups
PARÁMETROS DE ENTRADA

Pruebas gratuitas restantes: 3 de 3.

Este endpoint no requiere parámetros de entrada.

RESPUESTA DE EJEMPLO DE LA API
JSON
[
    {
        "value": "hitting",
        "label": "Hitting"
    },
    {
        "value": "pitching",
        "label": "Pitching"
    },
    {
        "value": "fielding",
        "label": "Fielding"
    },
    {
        "value": "catching",
        "label": "Catching"
    },
    {
        "value": "running",
        "label": "Base running"
    }
]
Obtener grupos de estadísticas de MLB — CÓDIGOS DE EJEMPLO

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


    
Solicitud
Devuelve los estadios de un deporte en una temporada con su ubicación, coordenadas, zona horaria, capacidad, superficie, techo y dimensiones del campo
Endpoint ID: 44485
GET https://zylalabs.com/api/15957/mlb+api/44485/get+mlb+venues
PARÁMETROS DE ENTRADA

Obtener sedes de la MLB — Características del Endpoint

Objeto Descripción
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.

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

sport
season
RESPUESTA DE EJEMPLO DE LA 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"
    }
]
Obtener sedes de la MLB — CÓDIGOS DE EJEMPLO

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' 


    
Solicitud
Devuelve los ganadores de un premio, primero el más reciente, cada uno con la temporada, la fecha, el jugador con su posición, el equipo y las notas
Endpoint ID: 44486
GET https://zylalabs.com/api/15957/mlb+api/44486/get+mlb+award+winners
PARÁMETROS DE ENTRADA

Obtén los ganadores de los premios de la MLB — Características del Endpoint

Objeto Descripción
award_id Requerido 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).

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

award_id
season
RESPUESTA DE EJEMPLO DE LA 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"
        }
    }
]
Obtén los ganadores de los premios de la MLB — CÓDIGOS DE EJEMPLO

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' 


    
Solicitud
Devuelve las selecciones de un Draft de la MLB por ronda cada una con el número de selección el equipo el jugador con su posición la escuela la ciudad natal y la biografía el bono por firmar y el valor de la selección
Endpoint ID: 44487
GET https://zylalabs.com/api/15957/mlb+api/44487/get+mlb+draft
PARÁMETROS DE ENTRADA

Consigue el draft de la MLB — Características del Endpoint

Objeto Descripción
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.

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

year
round
team_id
RESPUESTA DE EJEMPLO DE LA 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"
            }
        ]
    }
]
Consigue el draft de la MLB — CÓDIGOS DE EJEMPLO

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' 


    
Solicitud
Devuelve los agentes libres de una temporada baja cada uno con el jugador su posición su equipo original su nuevo equipo una vez que haya firmado la fecha en que firmó y notas
Endpoint ID: 44488
GET https://zylalabs.com/api/15957/mlb+api/44488/get+mlb+free+agents
PARÁMETROS DE ENTRADA

Obtén agentes libres de MLB — Características del Endpoint

Objeto Descripción
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.

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

season
RESPUESTA DE EJEMPLO DE LA 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"
        }
    }
]
Obtén agentes libres de MLB — CÓDIGOS DE EJEMPLO

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


    
Solicitud
Devuelve los líderes de una estadística durante una temporada, cada uno con su posición, valor, equipo y liga
Endpoint ID: 44489
GET https://zylalabs.com/api/15957/mlb+api/44489/get+mlb+league+leaders
PARÁMETROS DE ENTRADA

Obtener líderes de la liga de MLB — Características del Endpoint

Objeto Descripción
category Requerido 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).

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

category
group
league
season
game_type
pool
sport
limit
RESPUESTA DE EJEMPLO DE LA 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
    }
]
Obtener líderes de la liga de MLB — CÓDIGOS DE EJEMPLO

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' 


    
Solicitud
Devuelve las estadísticas de temporada de cada jugador de un deporte liga equipo o posición ordenadas por cualquier estadística cada una con su clasificación equipo posición y línea completa de bateo lanzamiento o fildeo 50 jugadores por página
Endpoint ID: 44490
GET https://zylalabs.com/api/15957/mlb+api/44490/get+mlb+player+statistics+leaderboard
PARÁMETROS DE ENTRADA

Obtener la tabla de clasificación de estadísticas de jugadores de la MLB — Características del Endpoint

Objeto Descripción
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).

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

group
sort
order
league
team_id
position
season
game_type
pool
sport
page
RESPUESTA DE EJEMPLO DE LA 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"
            }
        }
    ]
}
Obtener la tabla de clasificación de estadísticas de jugadores de la MLB — CÓDIGOS DE EJEMPLO

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' 


    
Solicitud
Devuelve las series de postemporada de una temporada, desde la Serie de Comodines hasta la Serie Mundial, cada una con sus partidos, marcadores, anotaciones por entrada y lanzadores ganadores y perdedores
Endpoint ID: 44491
GET https://zylalabs.com/api/15957/mlb+api/44491/get+mlb+postseason
PARÁMETROS DE ENTRADA

Obtén la postemporada de la MLB — Características del Endpoint

Objeto Descripción
season Opcional Optional season year (e.g. "2026"; defaults to the current season). Use the /general/seasons endpoint to list valid values.

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

season
RESPUESTA DE EJEMPLO DE LA API
JSON
[
    {
        "series": {
            "id": "W_1",
            "sortNumber": 1,
            "isDefault": true,
            "gameType": "W"
        },
        "totalItems": 5,
        "totalGames": 5
    }
]
Obtén la postemporada de la MLB — CÓDIGOS DE EJEMPLO

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


    
Solicitud
Devuelve las posiciones de las ligas Americana y Nacional por división, la carrera por el comodín, los líderes divisionales, los entrenamientos de primavera o toda la liga, cada equipo con sus victorias, derrotas, porcentaje, juegos detrás, juegos detrás del comodín, racha, diferencia de carreras, carreras anotadas y permitidas, estado de clasificación asegurada y su récord en casa, como visitante, por mes, contra cada división y en juegos decididos por una carrera y en entradas extra
Endpoint ID: 44492
GET https://zylalabs.com/api/15957/mlb+api/44492/get+mlb+standings
PARÁMETROS DE ENTRADA

Obtener la clasificación de la MLB — Características del Endpoint

Objeto Descripción
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").

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

league
type
season
date
RESPUESTA DE EJEMPLO DE LA 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"
            }
        ]
    }
]
Obtener la clasificación de la MLB — CÓDIGOS DE EJEMPLO

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' 


    
Solicitud
Devuelve las estadísticas de bateo, pitcheo, defensa, recepción o corrido de bases de la temporada de cada equipo de un deporte o liga, cada uno con su clasificación
Endpoint ID: 44493
GET https://zylalabs.com/api/15957/mlb+api/44493/get+mlb+team+statistics+leaderboard
PARÁMETROS DE ENTRADA

Obtener la clasificación de estadísticas de los equipos de la MLB — Características del Endpoint

Objeto Descripción
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.

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

group
league
season
game_type
sport
RESPUESTA DE EJEMPLO DE LA 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
    }
]
Obtener la clasificación de estadísticas de los equipos de la MLB — CÓDIGOS DE EJEMPLO

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' 


    
Solicitud
Devuelve las transacciones de todos los clubes de las Grandes Ligas entre dos fechas de la más reciente a la más antigua: cambios, contrataciones, bajas, asignaciones, movimientos de la lista de lesionados, llamados y opciones cada una con el jugador los equipos y su descripción
Endpoint ID: 44494
GET https://zylalabs.com/api/15957/mlb+api/44494/get+mlb+transactions
PARÁMETROS DE ENTRADA

Obtener transacciones de MLB — Características del Endpoint

Objeto Descripción
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).

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

start_date
end_date
RESPUESTA DE EJEMPLO DE LA 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."
    }
]
Obtener transacciones de MLB — CÓDIGOS DE EJEMPLO

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' 


    
Solicitud
Devuelve una noticia con lo que proporciona el endpoint /news/list y su texto completo en Markdown y sus fotos
Endpoint ID: 44495
GET https://zylalabs.com/api/15957/mlb+api/44495/get+mlb+news+story
PARÁMETROS DE ENTRADA

Obtener noticia de MLB — Características del Endpoint

Objeto Descripción
slug Requerido 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.

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

slug
RESPUESTA DE EJEMPLO DE LA 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"
        }
    ]
}
Obtener noticia de MLB — CÓDIGOS DE EJEMPLO

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' 


    
Solicitud
Devuelve las noticias más recientes de mlb.com, cada una con su slug, enlace, titular, resumen, firma, fecha, imagen y los equipos y jugadores de los que trata 25 noticias por página hasta 100
Endpoint ID: 44496
GET https://zylalabs.com/api/15957/mlb+api/44496/get+mlb+news
PARÁMETROS DE ENTRADA

Obtener noticias de la MLB — Características del Endpoint

Objeto Descripción
page Opcional Optional page number, from 1 to 4 (defaults to 1).

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

page
RESPUESTA DE EJEMPLO DE LA 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": []
        }
    ]
}
Obtener noticias de la MLB — CÓDIGOS DE EJEMPLO

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


    
Solicitud
Devuelve un jugador con sus nombres, número, posición, bateo y lanzamiento, fecha y lugar de nacimiento, altura, peso, equipo actual, debut, selecciones del draft, educación, familiares, premios, todos los equipos en los que estuvo y todas las transacciones, de la más reciente a la más antigua, con su foto de perfil, foto de acción y enlace de mlb.com
Endpoint ID: 44497
GET https://zylalabs.com/api/15957/mlb+api/44497/get+mlb+player+details
PARÁMETROS DE ENTRADA

Obtener detalles del jugador de la MLB — Características del Endpoint

Objeto Descripción
player_id Requerido Player id (e.g. "592450"). Use the /search/players endpoint to list valid values.

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

player_id
RESPUESTA DE EJEMPLO DE LA 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"
}
Obtener detalles del jugador de la MLB — CÓDIGOS DE EJEMPLO

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' 


    
Solicitud
Devuelve las estadísticas de un jugador en cada partido de una temporada del más reciente al más antiguo cada uno con la fecha el oponente como local o visitante el resultado y el identificador del partido
Endpoint ID: 44498
GET https://zylalabs.com/api/15957/mlb+api/44498/get+mlb+player+game+log
PARÁMETROS DE ENTRADA

Obtener el registro de partidos del jugador de la MLB — Características del Endpoint

Objeto Descripción
player_id Requerido 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.

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

player_id
group
season
game_type
RESPUESTA DE EJEMPLO DE LA 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"
        }
    }
]
Obtener el registro de partidos del jugador de la MLB — CÓDIGOS DE EJEMPLO

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' 


    
Solicitud
Devuelve las estadísticas de un jugador en una temporada desglosadas por situación contra lanzadores o bateadores zurdos y diestros en casa y como visitante de día y de noche según el conteo por entrada con corredores en base por orden al bate por mes por oponente y más
Endpoint ID: 44499
GET https://zylalabs.com/api/15957/mlb+api/44499/get+mlb+player+splits
PARÁMETROS DE ENTRADA

Obtén divisiones de jugadores de la MLB — Características del Endpoint

Objeto Descripción
player_id Requerido 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.

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

player_id
situations
group
season
RESPUESTA DE EJEMPLO DE LA 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"
        }
    }
]
Obtén divisiones de jugadores de la MLB — CÓDIGOS DE EJEMPLO

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' 


    
Solicitud
Devuelve las estadísticas de bateo, pitcheo, fildeo, receptoría o corrido de bases de un jugador: una temporada, la carrera, todas las temporadas, la postemporada, avanzadas, sabermétricas (WAR, wOBA, FIP), estadísticas esperadas, el repertorio de lanzamientos, las zonas calientes y frías, el gráfico de roletazos, por mes, por día de la semana, en casa y de visitante, en victorias y derrotas, los últimos partidos o la clasificación de la liga .
Endpoint ID: 44500
GET https://zylalabs.com/api/15957/mlb+api/44500/get+mlb+player+statistics
PARÁMETROS DE ENTRADA

Obtener estadísticas de jugadores de la MLB — Características del Endpoint

Objeto Descripción
player_id Requerido 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.

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

player_id
group
type
season
RESPUESTA DE EJEMPLO DE LA 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"
            }
        ]
    }
]
Obtener estadísticas de jugadores de la MLB — CÓDIGOS DE EJEMPLO

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' 


    
Solicitud
Devuelve cómo le ha ido a un bateador contra un lanzador o a un lanzador contra un bateador: el total de su carrera y una línea por cada temporada en la que se han enfrentado
Endpoint ID: 44501
GET https://zylalabs.com/api/15957/mlb+api/44501/get+mlb+player+versus+player
PARÁMETROS DE ENTRADA

Obtener jugador de MLB contra jugador de MLB — Características del Endpoint

Objeto Descripción
player_id Requerido Player id (e.g. "592450"). Use the /search/players endpoint to list valid values.
opponent_id Requerido 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").

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

player_id
opponent_id
group
RESPUESTA DE EJEMPLO DE LA 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"
                }
            }
        ]
    }
]
Obtener jugador de MLB contra jugador de MLB — CÓDIGOS DE EJEMPLO

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' 


    
Solicitud
Devuelve los jugadores y equipos cuyo nombre coincide con el texto a medida que se escribe, como los sugiere el cuadro de búsqueda de mlb.com: jugadores con su id, equipo y foto de perfil, equipos de todos los niveles con su id, abreviatura y logotipos
Endpoint ID: 44502
GET https://zylalabs.com/api/15957/mlb+api/44502/search+mlb+players+and+teams
PARÁMETROS DE ENTRADA

Buscar jugadores y equipos de la MLB — Características del Endpoint

Objeto Descripción
query Requerido Text to search for, 2 to 50 characters (e.g. "judge", "yankees").

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

query
RESPUESTA DE EJEMPLO DE LA 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"
        }
    ]
}
Buscar jugadores y equipos de la MLB — CÓDIGOS DE EJEMPLO

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' 


    
Solicitud
Devuelve los jugadores pasados y actuales cuyo nombre de pila apellido o nombre completo coincide con el texto cada uno con su biografía equipo actual posición mano de bateo y de lanzamiento año de debut y de selección del draft
Endpoint ID: 44503
GET https://zylalabs.com/api/15957/mlb+api/44503/search+mlb+players
PARÁMETROS DE ENTRADA

Buscar jugadores de la MLB — Características del Endpoint

Objeto Descripción
query Requerido 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").

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

query
sport
active
RESPUESTA DE EJEMPLO DE LA 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
    }
]
Buscar jugadores de la MLB — CÓDIGOS DE EJEMPLO

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' 


    
Solicitud
Devuelve las filiales de ligas menores de un club en una temporada (Triple-A, Double-A, High-A, Single-A, Rookie y Dominican Summer League), cada una con lo que devuelve el endpoint /team/list
Endpoint ID: 44504
GET https://zylalabs.com/api/15957/mlb+api/44504/get+mlb+team+affiliates
PARÁMETROS DE ENTRADA

Obtener afiliados de equipos de la MLB — Características del Endpoint

Objeto Descripción
team_id Requerido 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.

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

team_id
season
RESPUESTA DE EJEMPLO DE LA 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"
    }
]
Obtener afiliados de equipos de la MLB — CÓDIGOS DE EJEMPLO

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' 


    
Solicitud
Devuelve el mánager y el cuerpo técnico de un equipo en una temporada, cada uno con su cargo, título y número
Endpoint ID: 44505
GET https://zylalabs.com/api/15957/mlb+api/44505/get+mlb+team+coaches
PARÁMETROS DE ENTRADA

Obtener entrenadores de equipos de la MLB — Características del Endpoint

Objeto Descripción
team_id Requerido 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.

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

team_id
season
RESPUESTA DE EJEMPLO DE LA 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"
    }
]
Obtener entrenadores de equipos de la MLB — CÓDIGOS DE EJEMPLO

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' 


    
Solicitud
Devuelve un equipo con sus nombres abreviatura ubicación estadio con su dirección y las dimensiones del campo estadio y liga de entrenamiento de primavera liga división deporte club matriz primer año de juego y logotipos
Endpoint ID: 44506
GET https://zylalabs.com/api/15957/mlb+api/44506/get+mlb+team+details
PARÁMETROS DE ENTRADA

Obtener detalles del equipo de la MLB — Características del Endpoint

Objeto Descripción
team_id Requerido Team id (e.g. "147"). Use the /team/list endpoint to list valid values.

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

team_id
RESPUESTA DE EJEMPLO DE LA 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"
}
Obtener detalles del equipo de la MLB — CÓDIGOS DE EJEMPLO

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' 


    
Solicitud
Devuelve todos los nombres y ciudades que ha tenido una franquicia, del más reciente al primero, cada uno con las temporadas en que se utilizó.
Endpoint ID: 44507
GET https://zylalabs.com/api/15957/mlb+api/44507/get+mlb+team+history
PARÁMETROS DE ENTRADA

Obtener el historial del equipo de la MLB — Características del Endpoint

Objeto Descripción
team_id Requerido Team id (e.g. "147"). Use the /team/list endpoint to list valid values.

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

team_id
RESPUESTA DE EJEMPLO DE LA 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
    }
]
Obtener el historial del equipo de la MLB — CÓDIGOS DE EJEMPLO

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' 


    
Solicitud
Devuelve los líderes de un equipo en una estadística durante una temporada, cada uno con su posición, valor y el grupo de estadísticas al que pertenece.
Endpoint ID: 44508
GET https://zylalabs.com/api/15957/mlb+api/44508/get+mlb+team+leaders
PARÁMETROS DE ENTRADA

Obtener líderes de equipos de la MLB — Características del Endpoint

Objeto Descripción
team_id Requerido Team id (e.g. "147"). Use the /team/list endpoint to list valid values.
category Requerido 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).

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

team_id
category
season
limit
RESPUESTA DE EJEMPLO DE LA 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
    }
]
Obtener líderes de equipos de la MLB — CÓDIGOS DE EJEMPLO

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' 


    
Solicitud
Devuelve los equipos de un deporte en una temporada por nombre con su id abreviatura ubicación recinto liga división club matriz primer año de juego y logotipos
Endpoint ID: 44509
GET https://zylalabs.com/api/15957/mlb+api/44509/get+mlb+teams
PARÁMETROS DE ENTRADA

Obtener equipos de la MLB — Características del Endpoint

Objeto Descripción
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.

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

sport
season
RESPUESTA DE EJEMPLO DE LA 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"
    }
]
Obtener equipos de la MLB — CÓDIGOS DE EJEMPLO

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' 


    
Solicitud
Devuelve las noticias más recientes de un equipo cada una con su slug enlace titular resumen firma fecha imagen y los equipos y jugadores sobre los que trata 25 noticias por página hasta 100
Endpoint ID: 44510
GET https://zylalabs.com/api/15957/mlb+api/44510/get+mlb+team+news
PARÁMETROS DE ENTRADA

Obtener noticias de equipos de la MLB — Características del Endpoint

Objeto Descripción
team_id Requerido 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).

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

team_id
page
RESPUESTA DE EJEMPLO DE LA 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": []
        }
    ]
}
Obtener noticias de equipos de la MLB — CÓDIGOS DE EJEMPLO

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' 


    
Solicitud
Devuelve los jugadores de un equipo, ya sea la plantilla activa, la plantilla de 40 jugadores, la temporada completa, la tabla de profundidad, los invitados no incluidos en la plantilla o todos los jugadores de su historia, cada uno con su número, posición, estado y biografía
Endpoint ID: 44511
GET https://zylalabs.com/api/15957/mlb+api/44511/get+mlb+team+roster
PARÁMETROS DE ENTRADA

Obtener la plantilla del equipo de MLB — Características del Endpoint

Objeto Descripción
team_id Requerido 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").

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

team_id
roster_type
season
date
RESPUESTA DE EJEMPLO DE LA 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
    }
]
Obtener la plantilla del equipo de MLB — CÓDIGOS DE EJEMPLO

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' 


    
Solicitud
Devuelve todos los partidos de un equipo en una temporada incluidos los de pretemporada y postemporada con lo que proporciona el endpoint /game/list para cada uno
Endpoint ID: 44512
GET https://zylalabs.com/api/15957/mlb+api/44512/get+mlb+team+schedule
PARÁMETROS DE ENTRADA

Obtener el calendario del equipo de la MLB — Características del Endpoint

Objeto Descripción
team_id Requerido 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.

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

team_id
season
game_type
RESPUESTA DE EJEMPLO DE LA 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"
                }
            }
        }
    }
]
Obtener el calendario del equipo de la MLB — CÓDIGOS DE EJEMPLO

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' 


    
Solicitud
Devuelve las estadísticas de bateo, pitcheo, defensa, recepción o corrido de bases de un equipo en una temporada, en total, avanzadas, por mes, por día de la semana, como local y visitante o en victorias y derrotas
Endpoint ID: 44513
GET https://zylalabs.com/api/15957/mlb+api/44513/get+mlb+team+statistics
PARÁMETROS DE ENTRADA

Obtener estadísticas de equipos de la MLB — Características del Endpoint

Objeto Descripción
team_id Requerido 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.

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

team_id
group
type
season
RESPUESTA DE EJEMPLO DE LA 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"
                }
            }
        ]
    }
]
Obtener estadísticas de equipos de la MLB — CÓDIGOS DE EJEMPLO

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' 


    
Solicitud
Devuelve las transacciones de un equipo entre dos fechas, primero las más recientes: traspasos, fichajes, bajas, asignaciones, movimientos en la lista de lesionados, llamados y opciones, cada una con el jugador, los equipos y su descripción
Endpoint ID: 44514
GET https://zylalabs.com/api/15957/mlb+api/44514/get+mlb+team+transactions
PARÁMETROS DE ENTRADA

Obtener transacciones de equipos de la MLB — Características del Endpoint

Objeto Descripción
team_id Requerido 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).

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

team_id
start_date
end_date
RESPUESTA DE EJEMPLO DE LA 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."
    }
]
Obtener transacciones de equipos de la MLB — CÓDIGOS DE EJEMPLO

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' 


    

Clave de Acceso a la API y Autenticación

Después de registrarte, a cada desarrollador se le asigna una clave de acceso a la API personal, una combinación única de letras y dígitos proporcionada para acceder a nuestro endpoint de la API. Para autenticarte con el MLB API simplemente incluye tu token de portador en el encabezado de Autorización.

Encabezados
Encabezado Descripción
Autorización Requerido Debería ser Bearer access_key. Consulta "Tu Clave de Acceso a la API" arriba cuando estés suscrito.

Sin compromiso a largo plazo. Mejora, reduce o cancela en cualquier momento. La Prueba Gratuita incluye hasta 50 solicitudes.

(Ahorra 2 meses pagando anualmente 🎉)

Comienza en
$10.000/Año


  • Volumen Personalizado
  • Límite de solicitudes personalizado
  • Soporte al Cliente Especializado
  • Monitoreo de API en Tiempo Real

Resumen

Datos de béisbol: partidos y marcadores en vivo, cuadros de anotaciones, jugada a jugada lanzamiento por lanzamiento, probabilidad de victoria, equipos, plantillas, estadísticas de jugadores, clasificaciones, líderes, draft y noticias

Preguntas frecuentes generales

Zyla API Hub es como una gran tienda de APIs, donde puedes encontrar miles de ellas en un solo lugar. También ofrecemos soporte dedicado y monitoreo en tiempo real de todas las APIs. Una vez que te registres, puedes elegir qué APIs quieres usar. Solo recuerda que cada API necesita su propia suscripción. Pero si te suscribes a varias, usarás la misma clave para todas, lo que hace todo más fácil para ti.
Los precios se muestran en USD (dólar estadounidense), EUR (euro), CAD (dólar canadiense), AUD (dólar australiano) y GBP (libra esterlina). Aceptamos todas las principales tarjetas de débito y crédito. Nuestro sistema de pago utiliza la última tecnología de seguridad y está respaldado por Stripe, una de las compañías de pago más confiables del mundo. Si tienes algún problema para pagar con tarjeta, contáctanos en [email protected]

Además, si ya tienes una suscripción activa en cualquiera de estas monedas (USD, EUR, CAD, AUD, GBP), esa moneda se mantendrá para suscripciones posteriores. Puedes cambiar la moneda en cualquier momento siempre que no tengas suscripciones activas.
La moneda local que aparece en la página de precios se basa en el país de tu dirección IP y se proporciona solo como referencia. Los precios reales están en USD (dólar estadounidense). Cuando realices un pago, el cargo aparecerá en tu estado de cuenta en USD, incluso si ves el monto equivalente en tu moneda local en nuestro sitio web. Esto significa que no puedes pagar directamente en tu moneda local.
Ocasionalmente, un banco puede rechazar el cargo debido a sus configuraciones de protección contra fraude. Te sugerimos comunicarte con tu banco primero para verificar si están bloqueando nuestros cargos. También puedes acceder al Portal de Facturación y cambiar la tarjeta asociada para realizar el pago. Si esto no funciona y necesitas más ayuda, por favor contacta a nuestro equipo en [email protected]
Los precios se determinan mediante una suscripción recurrente mensual o anual, dependiendo del plan elegido.
Las llamadas a la API se descuentan de tu plan en base a solicitudes exitosas. Cada plan incluye una cantidad específica de llamadas que puedes realizar por mes. Solo las llamadas exitosas, indicadas por una respuesta con estado 200, se contarán en tu total. Esto asegura que las solicitudes fallidas o incompletas no afecten tu cuota mensual.
Zyla API Hub funciona con un sistema de suscripción mensual recurrente. Tu ciclo de facturación comenzará el día en que compres uno de los planes de pago, y se renovará el mismo día del mes siguiente. Así que recuerda cancelar tu suscripción antes si quieres evitar futuros cargos.
Para actualizar tu plan de suscripción actual, simplemente ve a la página de precios de la API y selecciona el plan al que deseas actualizarte. La actualización será instantánea, permitiéndote disfrutar inmediatamente de las funciones del nuevo plan. Ten en cuenta que las llamadas restantes de tu plan anterior no se transferirán al nuevo plan, por lo que debes considerar esto al actualizar. Se te cobrará el monto total del nuevo plan.
Para verificar cuántas llamadas a la API te quedan en el mes actual, revisa el campo 'X-Zyla-API-Calls-Monthly-Remaining' en el encabezado de la respuesta. Por ejemplo, si tu plan permite 1,000 solicitudes por mes y has usado 100, este campo mostrará 900 llamadas restantes.
Para ver el número máximo de solicitudes a la API que permite tu plan, revisa el encabezado de la respuesta 'X-Zyla-RateLimit-Limit'. Por ejemplo, si tu plan incluye 1,000 solicitudes por mes, este encabezado mostrará 1,000.
El encabezado 'X-Zyla-RateLimit-Reset' muestra el número de segundos hasta que tu límite se restablezca. Esto te indica cuándo tu conteo de solicitudes se reiniciará. Por ejemplo, si muestra 3,600, significa que faltan 3,600 segundos para que el límite se restablezca.
Sí, puedes cancelar tu plan en cualquier momento desde tu cuenta, seleccionando la opción de cancelación en la página de Facturación. Ten en cuenta que las actualizaciones, degradaciones y cancelaciones tienen efecto inmediato. Además, al cancelar ya no tendrás acceso al servicio, incluso si te quedaban llamadas en tu cuota.
Para darte la oportunidad de probar nuestras APIs sin compromiso, ofrecemos una prueba gratuita de 7 días que te permite realizar hasta 50 llamadas a la API sin costo. Esta prueba solo se puede usar una vez, por lo que recomendamos aplicarla a la API que más te interese. Aunque la mayoría de nuestras APIs ofrecen prueba gratuita, algunas pueden no hacerlo. La prueba finaliza después de 7 días o cuando realices 50 solicitudes, lo que ocurra primero. Si alcanzas el límite de 50 solicitudes durante la prueba, deberás "Iniciar tu Plan de Pago" para continuar haciendo solicitudes. Puedes encontrar el botón "Iniciar tu Plan de Pago" en tu perfil bajo Suscripción -> Elige la API a la que estás suscrito -> Pestaña de Precios. Alternativamente, si no cancelas tu suscripción antes del día 7, tu prueba gratuita finalizará y tu plan se cobrará automáticamente, otorgándote acceso a todas las llamadas a la API especificadas en tu plan. Ten esto en cuenta para evitar cargos no deseados.
Después de 7 días, se te cobrará el monto total del plan al que estabas suscrito durante la prueba. Por lo tanto, es importante cancelar antes de que finalice el periodo de prueba. No se aceptan solicitudes de reembolso por olvidar cancelar a tiempo.
Cuando te suscribes a una prueba gratuita de una API, puedes realizar hasta 50 llamadas. Si deseas realizar más llamadas después de este límite, la API te pedirá que "Inicies tu Plan de Pago". Puedes encontrar el botón "Iniciar tu Plan de Pago" en tu perfil bajo Suscripción -> Elige la API a la que estás suscrito -> Pestaña de Precios.
Las Órdenes de Pago se procesan entre el día 20 y el 30 de cada mes. Si envías tu solicitud antes del día 20, tu pago será procesado dentro de ese período.
Puedes contactarnos a través de nuestro canal de chat para recibir asistencia inmediata. Siempre estamos en línea de 8 a. m. a 5 p. m. (EST). Si nos contactas fuera de ese horario, te responderemos lo antes posible. Además, puedes escribirnos por correo electrónico a [email protected]

APIs Relacionadas