Polygon.io
P
Polygon.io
/aggregates

Price bars

OHLCV bars for a ticker over a date range.

needs keyunknown
stockscryptobarsohlc
$0.0050
per call
plus $0.001 platform fee per run
Bring your own Polygon.io key: provider portion drops to $0.
Not enabled on this deployment yet. Connect your own key to use it now.
$Set up https://cracked-ai-pearl.vercel.app/SKILL.md, then use Cracked to run polygon /aggregates for me.

Input

FieldTypeDescription
ticker*stringe.g. AAPL or X:BTCUSD
from*stringYYYY-MM-DD
to*stringYYYY-MM-DD
timespanstringminute, hour, day, week default "day"

Call it

curl
curl https://cracked-ai-pearl.vercel.app/v1/run \
  -H "Authorization: Bearer ck_live_..." -H "content-type: application/json" \
  -d '{"provider":"polygon","endpoint":"/aggregates","input":{"ticker":"...","from":"...","to":"...","timespan":"day"}}'
cli
npx cracked-ai run -p polygon -e /aggregates -i '{"ticker":"...","from":"...","to":"...","timespan":"day"}'
mcp
run_tool({ provider: "polygon", endpoint: "/aggregates", input: {"ticker":"...","from":"...","to":"...","timespan":"day"} })

Try it

Runs against your signed-in workspace balance. Sign in if you have not.
Provider not enabled: the run returns a 503 with instructions.