{"sport":"mlb","slug":"cody-allen","bio":{"fullName":"Cody Allen","position":"P","team":"LAA","heightInches":73,"weightLbs":210,"birthDate":"1988-11-20","rookieSeason":2012,"lastSeason":2019,"status":"RET","externalIds":{"mlbam":"592102","chadwick":"1aa704d3","retro":"allec002","wikidata":"Q2981711"}},"draft":{"year":2011,"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":2013,"seasonType":"REG","team":"CLE","gamesPlayed":77,"values":{"g":77,"ab":0,"r":0,"h":0,"doubles":0,"triples":0,"hr":0,"rbi":0,"sb":0,"bb":0,"so":0,"avg":0,"obp":0,"slg":0,"ops":0},"rowScope":"team"},{"season":2014,"seasonType":"REG","team":"CLE","gamesPlayed":76,"values":{"g":76,"ab":0,"r":0,"h":0,"doubles":0,"triples":0,"hr":0,"rbi":0,"sb":0,"bb":0,"so":0,"avg":0,"obp":0,"slg":0,"ops":0},"rowScope":"team"},{"season":2015,"seasonType":"REG","team":"CLE","gamesPlayed":70,"values":{"g":70,"ab":0,"r":0,"h":0,"doubles":0,"triples":0,"hr":0,"rbi":0,"sb":0,"bb":0,"so":0,"avg":0,"obp":0,"slg":0,"ops":0},"rowScope":"team"},{"season":2016,"seasonType":"REG","team":"CLE","gamesPlayed":67,"values":{"g":67,"ab":0,"r":0,"h":0,"doubles":0,"triples":0,"hr":0,"rbi":0,"sb":0,"bb":0,"so":0,"avg":0,"obp":0,"slg":0,"ops":0},"rowScope":"team"},{"season":2016,"seasonType":"POST","team":"CLE","gamesPlayed":10,"values":{"g":10,"ab":0,"r":0,"h":0,"doubles":0,"triples":0,"hr":0,"rbi":0,"sb":0,"bb":0,"so":0,"avg":0,"obp":0,"slg":0,"ops":0},"rowScope":"team"},{"season":2017,"seasonType":"REG","team":"CLE","gamesPlayed":69,"values":{"g":69,"ab":0,"r":0,"h":0,"doubles":0,"triples":0,"hr":0,"rbi":0,"sb":0,"bb":0,"so":0,"avg":0,"obp":0,"slg":0,"ops":0},"rowScope":"team"},{"season":2018,"seasonType":"REG","team":"CLE","gamesPlayed":70,"values":{"g":70,"ab":0,"r":0,"h":0,"doubles":0,"triples":0,"hr":0,"rbi":0,"sb":0,"bb":0,"so":0,"avg":0,"obp":0,"slg":0,"ops":0},"rowScope":"team"},{"season":2019,"seasonType":"REG","team":"LAA","gamesPlayed":25,"values":{"g":25,"ab":1,"r":0,"h":0,"doubles":0,"triples":0,"hr":0,"rbi":0,"sb":0,"bb":0,"so":1,"avg":0,"obp":0,"slg":0,"ops":0},"rowScope":"team"}],"careerTotals":{"REG":{"g":481,"ab":1,"r":0,"h":0,"doubles":0,"triples":0,"hr":0,"rbi":0,"sb":0,"bb":0,"so":1,"avg":0,"obp":0,"slg":0,"ops":0},"POST":{"g":17,"ab":0,"r":0,"h":0,"doubles":0,"triples":0,"hr":0,"rbi":0,"sb":0,"bb":0,"so":0,"avg":0,"obp":0,"slg":0,"ops":0}}},{"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":2012,"seasonType":"REG","team":"CLE","gamesPlayed":27,"values":{"g":27,"gs":0,"w":0,"l":1,"sv":0,"ip":29,"so":27,"bb":15,"h":29,"er":12,"hr":2,"era":3.72,"whip":1.52},"rowScope":"team"},{"season":2013,"seasonType":"REG","team":"CLE","gamesPlayed":77,"values":{"g":77,"gs":0,"w":6,"l":1,"sv":2,"ip":70.1,"so":88,"bb":26,"h":62,"er":19,"hr":7,"era":2.43,"whip":1.25},"rowScope":"team"},{"season":2013,"seasonType":"POST","team":"CLE","gamesPlayed":1,"values":{"g":1,"gs":0,"w":0,"l":0,"sv":0,"ip":0.1,"so":1,"bb":0,"h":1,"er":0,"hr":0,"era":0,"whip":3},"rowScope":"team"},{"season":2014,"seasonType":"REG","team":"CLE","gamesPlayed":76,"values":{"g":76,"gs":0,"w":6,"l":4,"sv":24,"ip":69.2,"so":91,"bb":26,"h":48,"er":16,"hr":7,"era":2.07,"whip":1.06},"rowScope":"team"},{"season":2015,"seasonType":"REG","team":"CLE","gamesPlayed":70,"values":{"g":70,"gs":0,"w":2,"l":5,"sv":34,"ip":69.1,"so":99,"bb":25,"h":56,"er":23,"hr":2,"era":2.99,"whip":1.17},"rowScope":"team"},{"season":2016,"seasonType":"REG","team":"CLE","gamesPlayed":67,"values":{"g":67,"gs":0,"w":3,"l":5,"sv":32,"ip":68,"so":87,"bb":27,"h":41,"er":19,"hr":8,"era":2.51,"whip":1},"rowScope":"team"},{"season":2016,"seasonType":"POST","team":"CLE","gamesPlayed":10,"values":{"g":10,"gs":0,"w":0,"l":0,"sv":6,"ip":13.2,"so":24,"bb":5,"h":8,"er":0,"hr":0,"era":0,"whip":0.95},"rowScope":"team"},{"season":2017,"seasonType":"REG","team":"CLE","gamesPlayed":69,"values":{"g":69,"gs":0,"w":3,"l":7,"sv":30,"ip":67.1,"so":92,"bb":21,"h":57,"er":22,"hr":9,"era":2.94,"whip":1.16},"rowScope":"team"},{"season":2017,"seasonType":"POST","team":"CLE","gamesPlayed":4,"values":{"g":4,"gs":0,"w":0,"l":0,"sv":1,"ip":5.1,"so":8,"bb":3,"h":5,"er":1,"hr":0,"era":1.69,"whip":1.5},"rowScope":"team"},{"season":2018,"seasonType":"REG","team":"CLE","gamesPlayed":70,"values":{"g":70,"gs":0,"w":4,"l":6,"sv":27,"ip":67,"so":80,"bb":33,"h":58,"er":35,"hr":11,"era":4.7,"whip":1.36},"rowScope":"team"},{"season":2018,"seasonType":"POST","team":"CLE","gamesPlayed":2,"values":{"g":2,"gs":0,"w":0,"l":0,"sv":0,"ip":1,"so":2,"bb":2,"h":4,"er":6,"hr":2,"era":54,"whip":6},"rowScope":"team"},{"season":2019,"seasonType":"REG","team":"LAA","gamesPlayed":25,"values":{"g":25,"gs":0,"w":0,"l":2,"sv":4,"ip":23,"so":29,"bb":20,"h":24,"er":16,"hr":9,"era":6.26,"whip":1.91},"rowScope":"team"}],"careerTotals":{"REG":{"g":481,"gs":0,"w":24,"l":31,"sv":153,"ip":463.2,"so":593,"bb":193,"h":375,"er":162,"hr":55,"era":3.14,"whip":1.23},"POST":{"g":17,"gs":0,"w":0,"l":0,"sv":7,"ip":20.1,"so":35,"bb":10,"h":18,"er":7,"hr":2,"era":3.1,"whip":1.38}}},{"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":2012,"seasonType":"REG","team":"CLE","values":{"ops_plus":null,"era_plus":129},"rowScope":"team"},{"season":2013,"seasonType":"REG","team":"CLE","values":{"ops_plus":null,"era_plus":157},"rowScope":"team"},{"season":2014,"seasonType":"REG","team":"CLE","values":{"ops_plus":null,"era_plus":173},"rowScope":"team"},{"season":2015,"seasonType":"REG","team":"CLE","values":{"ops_plus":null,"era_plus":123},"rowScope":"team"},{"season":2016,"seasonType":"REG","team":"CLE","values":{"ops_plus":null,"era_plus":154},"rowScope":"team"},{"season":2017,"seasonType":"REG","team":"CLE","values":{"ops_plus":null,"era_plus":112},"rowScope":"team"},{"season":2018,"seasonType":"REG","team":"CLE","values":{"ops_plus":null,"era_plus":80},"rowScope":"team"},{"season":2019,"seasonType":"REG","team":"LAA","values":{"ops_plus":-100,"era_plus":76},"rowScope":"team"}],"careerTotals":{"REG":{"ops_plus":-100,"era_plus":121}},"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-07-03T01:45:00.516Z"}