Historical rates
GET/api/v1/rates/history
OHLC candles for any active pair. The candle interval is chosen from the period: hourly candles for 1d / 7d, daily candles for 30d / 90d.
Query parameters
| Param | Description | |
|---|---|---|
| base | required | Base asset, e.g. BTC |
| quote | optional | Quote currency, e.g. USD. Default: USD |
| period | optional | 1d, 7d, 30d, or 90d. Default: 7d |
Example
$ curl "https://pricefeed.online/api/v1/rates/history?base=BTC"e=USD&period=7d"
Response · 200 OK
{ "success": true, "base": "BTC", "quote": "USD", "period": "7d", "interval": "1h", "points": [ { "timestamp": "2026-06-05T10:00:00+00:00", "open": 101230.00, "high": 101890.50, "low": 100950.20, "close": 101510.80 }, { "timestamp": "2026-06-05T11:00:00+00:00", "open": 101510.80, "high": 102420.00, "low": 101102.40, "close": 102007.30 } // … one point per interval ] }