{"sport":"mlb","slug":"alan-trejo","bio":{"fullName":"Alan Trejo","position":"SS","team":"COL","heightInches":72,"weightLbs":205,"birthDate":"1996-05-30","rookieSeason":2021,"lastSeason":2025,"status":"ACT","externalIds":{"mlbam":"676701","chadwick":"8651c006","retro":"treja001","wikidata":"Q106454043"}},"draft":{"year":2017,"round":null,"pick":null,"team":null,"undrafted":false},"statTables":[{"id":"batting","label":"Batting","columns":[{"key":"g"},{"key":"ab"},{"key":"r"},{"key":"h"},{"key":"doubles"},{"key":"triples"},{"key":"hr"},{"key":"rbi"},{"key":"sb"},{"key":"bb"},{"key":"so"},{"key":"avg"},{"key":"obp"},{"key":"slg"},{"key":"ops"}],"rows":[{"season":2021,"seasonType":"REG","team":"COL","rowScope":"team","gamesPlayed":28,"values":{"g":28,"ab":46,"r":7,"h":10,"doubles":2,"triples":0,"hr":1,"rbi":3,"sb":0,"bb":3,"so":15,"avg":0.217,"obp":0.26,"slg":0.326,"ops":0.586}},{"season":2022,"seasonType":"REG","team":"COL","rowScope":"team","gamesPlayed":35,"values":{"g":35,"ab":118,"r":15,"h":32,"doubles":6,"triples":0,"hr":4,"rbi":17,"sb":1,"bb":5,"so":31,"avg":0.271,"obp":0.312,"slg":0.424,"ops":0.736}},{"season":2023,"seasonType":"REG","team":"COL","rowScope":"team","gamesPlayed":83,"values":{"g":83,"ab":207,"r":24,"h":48,"doubles":11,"triples":0,"hr":4,"rbi":26,"sb":5,"bb":16,"so":51,"avg":0.232,"obp":0.288,"slg":0.343,"ops":0.631}},{"season":2024,"seasonType":"REG","team":"COL","rowScope":"team","gamesPlayed":28,"values":{"g":28,"ab":63,"r":4,"h":9,"doubles":0,"triples":0,"hr":0,"rbi":1,"sb":0,"bb":2,"so":15,"avg":0.143,"obp":0.182,"slg":0.143,"ops":0.325}},{"season":2025,"seasonType":"REG","team":"COL","rowScope":"team","gamesPlayed":14,"values":{"g":14,"ab":40,"r":3,"h":7,"doubles":2,"triples":0,"hr":0,"rbi":1,"sb":0,"bb":1,"so":7,"avg":0.175,"obp":0.19,"slg":0.225,"ops":0.415}}],"careerTotals":{"REG":{"g":188,"ab":474,"r":53,"h":106,"doubles":21,"triples":0,"hr":9,"rbi":48,"sb":6,"bb":27,"so":119,"avg":0.224,"obp":0.269,"slg":0.325,"ops":0.594}}},{"id":"pitching","label":"Pitching","columns":[{"key":"g"},{"key":"gs"},{"key":"w"},{"key":"l"},{"key":"sv"},{"key":"ip"},{"key":"so"},{"key":"bb"},{"key":"h"},{"key":"er"},{"key":"hr"},{"key":"era"},{"key":"whip"}],"rows":[{"season":2023,"seasonType":"REG","team":"COL","rowScope":"team","gamesPlayed":2,"values":{"g":2,"gs":0,"w":0,"l":0,"sv":0,"ip":2,"so":1,"bb":0,"h":4,"er":3,"hr":2,"era":13.5,"whip":2}},{"season":2025,"seasonType":"REG","team":"COL","rowScope":"team","gamesPlayed":1,"values":{"g":1,"gs":0,"w":0,"l":0,"sv":0,"ip":1,"so":0,"bb":0,"h":1,"er":0,"hr":0,"era":0,"whip":1}}],"careerTotals":{"REG":{"g":3,"gs":0,"w":0,"l":0,"sv":0,"ip":3,"so":1,"bb":0,"h":5,"er":3,"hr":2,"era":9,"whip":1.67}}},{"id":"advanced","label":"Advanced (League-Relative)","columns":[{"key":"ops_plus","label":"OPS+","description":"On-base plus slugging vs the player's own season+league (100 = league average). Park-unadjusted; OBP uses a consistent (H+BB)/(AB+BB) rate. Higher is better.","format":"int","higherIsBetter":true},{"key":"era_plus","label":"ERA+","description":"Earned-run average vs the player's own season+league (100 = league average). Park-unadjusted. Higher is better.","format":"int","higherIsBetter":true}],"rows":[{"season":2021,"seasonType":"REG","team":"COL","values":{"ops_plus":66,"era_plus":null},"rowScope":"team"},{"season":2022,"seasonType":"REG","team":"COL","values":{"ops_plus":105,"era_plus":null},"rowScope":"team"},{"season":2023,"seasonType":"REG","team":"COL","values":{"ops_plus":74,"era_plus":33},"rowScope":"team"},{"season":2024,"seasonType":"REG","team":"COL","values":{"ops_plus":-10,"era_plus":null},"rowScope":"team"},{"season":2025,"seasonType":"REG","team":"COL","values":{"ops_plus":18,"era_plus":null},"rowScope":"team"}],"careerTotals":{"REG":{"ops_plus":65,"era_plus":33}},"advancedMeta":{"method":"computed in-house from MLB StatsAPI season batting/pitching lines, normalized to each player's own (season, league) baseline","formulas":{"era_plus":"100 * lgERA / playerERA (league ERA = 9 * ΣER / ΣIP over the season+league)","ops_plus":"100 * (OBP/lgOBP + SLG/lgSLG - 1)","career_era_plus":"innings-weighted league ERA / career ERA (B-Ref method)","career_ops_plus":"AB-weighted OBP & SLG against AB-weighted league rates"},"caveats":["PARK-UNADJUSTED: no park-factor data exists in the corpus, so these are league-relative but not park-adjusted (true B-Ref ERA+/OPS+ also divide by a park factor)","OBP baseline uses a consistent (H+BB)/(AB+BB) reached-base rate for BOTH player and league — the source feed carries no HBP or SF, so this is not the full (H+BB+HBP)/(AB+BB+HBP+SF) OBP; SLG is exact from the hit-type columns","league resolved from team code + season (most-recently-founded franchise existing by that season); the same resolver builds the baseline and looks up the player, so ratios stay internally coherent","a (season, league) bucket below the sample floor (3000 AB batting / 1000 IP pitching) yields null — no noisy baselines","regular season only; postseason lines are excluded from league baselines and metrics","AL and NL and each historical/Negro league are normalized separately — never blended across leagues or eras"]}}],"dataSources":["MLB StatsAPI (statsapi.mlb.com — official public league API; facts only, raw payloads not republished)"],"generatedAt":"2026-10-29T08:16:05.616Z"}