Real-time price snapshot for a US-listed ticker
api.financialdatasets.ai/prices/snapshot
Real-time price snapshot for a US-listed ticker: current price, day change, day change percent and the quote time. Use when an agent needs the latest price for one ticker, not history. Non-Professional use; Professional use needs a plan at financialdatasets.ai.
GET
https://api.financialdatasets.ai/prices/snapshotUptimeNot checked yet
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
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://api.financialdatasets.ai/prices/snapshot?ticker=AAPL");
console.log(await res.json());Example input
{
"ticker": "AAPL"
}