Historical end-of-day stock prices for a US-listed ticker
api.financialdatasets.ai/prices
Historical end-of-day stock prices for a US-listed ticker: open, high, low, close and volume per day, week, month or year between start_date and end_date, oldest first. Paginated with next_page_url. Use when an agent needs a price series or a return over a date range. Non-Professional use; Professional use needs a plan at financialdatasets.ai.
GET
https://api.financialdatasets.ai/pricesUptime100% of 3 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.financialdatasets.ai/prices?end_date=2025-10-03&interval=day&start_date=2025-09-29&ticker=AAPL");
console.log(await res.json());Example input
{
"end_date": "2025-10-03",
"interval": "day",
"start_date": "2025-09-29",
"ticker": "AAPL"
}