agents.tickerlayer.com/stocks/quote/:symbol
Returns the best bid and ask with sizes and the observation timestamp for one stock. 404 when the symbol is unknown, 503 when no serviceable quote exists.
GET
https://agents.tickerlayer.com/stocks/quote/:symbolUptime0.0% of 1 check 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
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://agents.tickerlayer.com/stocks/quote/:symbol");
console.log(await res.json());Example input
{}More from TickerLayer
- agents.tickerlayer.com/forex/agg/:symbol/:multiplier/:timespan/:from/:toReturns historical OHLCV bars for one currency pair between two UTC dates, inclusive, at 1, 5 or 15 minute, 1 or 4 hour, or daily size, paged with limit and offset. Priced by the page size requested, in three tiers: up to 100 bars, up to 500 (the default) and up to 1,000. One request covers at most 31 days of 1-minute bars, 90 of 5-minute, 180 of 15-minute, 365 of hourly, 730 of 4-hour and 5,000 o0.05
- x402.tickerlayer.com/v1/commodities/symbolsDiscover the current TickerLayer Commodities symbol catalog. Stock symbols are market-qualified in COUNTRY_OR_MARKET:SYMBOL form such as US:KO.0.02
- x402.tickerlayer.com/v1/forex/symbolsDiscover the current TickerLayer Forex symbol catalog. Stock symbols are market-qualified in COUNTRY_OR_MARKET:SYMBOL form such as US:KO.0.02
- x402.tickerlayer.com/v1/indices/symbolsDiscover the current TickerLayer Indices symbol catalog. Stock symbols are market-qualified in COUNTRY_OR_MARKET:SYMBOL form such as US:AAPL.0.02
- x402.tickerlayer.com/v1/markets/statusCheck whether a market, asset class, or symbol is open, closed, in pre-market, or in post-market, with timezone-aware session context.0.01
- x402.tickerlayer.com/v1/stocks/quote/:symbolGet the latest validated Stocks bid, ask, sizes, and observation timestamp for one symbol.0.01
