Get an MLB player's career stats as JSON
Filip Cicvárek
Returns Shohei Ohtani's player record and career hitting and pitching statistics from the official MLB Stats API as raw structured data, with no AI step. It is one data lookup per run, so it is cheap to call from your own app, fantasy sports tool or AI agent. Change the name to look up any MLB player.
Input
Output fields
Sign up on Apify or log in
The Athlete Intelligence Agent Actor is ready to run with the inputs already set for "Get an MLB player's career stats as JSON". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Get an MLB player's career stats as JSON" task
The Athlete Intelligence Agent Actor will start running based on the input automatically. You can also change all the input fields, like what do you want?, athlete name, and more, to match your specific use case.
Receive the "Get an MLB player's career stats as JSON" output
Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as OK, source, layer, and more.
Integrate into your workflow
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Get an MLB player's career stats as JSON" task via API.
