Go to example tasks

Get an MLB player's career stats as JSON

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.

Try for free
Athlete Intelligence Agent
Athlete Intelligence Agentfilip_cicvarek/athlete-intelligence-agent
OK
Source
Layer
URL
+3 fields
Text
Number
Boolean
List
Object

Input

What do you want?:stats
Athlete name:Shohei Ohtani
Sport hint (optional):baseball

Output fields

OK
Source
Layer
URL
Error
Fetched
Data

How it works

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.

Image

Integrate "Get an MLB player's career stats as JSON" into your workflow

Connect "Get an MLB player's career stats as JSON" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay