STAT-API

MLB Cookbook

Recipes for specific jobs. The API reference documents one endpoint at a time — this documents one task at a time, from the first call to the printed answer. Open any recipe to run its calls and see real rows.

Every recipe is generated from one source and compiled against the published SDKs, so the code here is the code that ships in the client libraries.

Start here

The first calls. Resolve an id, read a pool.

Build a view

Rank games and teams the way a lineup is built.