Skip to content
Fourohtwo

agents.tickerlayer.com/forex/agg/:symbol/:multiplier/:timespan/:from/:to

Returns 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 o

BaseUnchecked
GEThttps://agents.tickerlayer.com/forex/agg/:symbol/:multiplier/:timespan/:from/:to

UptimeNot 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://agents.tickerlayer.com/forex/agg/:symbol/:multiplier/:timespan/:from/:to");
console.log(await res.json());

Example input

{}

More from TickerLayer