Forex OHLC bars
forex_barsRead-only
Retrieve historical OHLC bars for forex pairs like EURUSD. Specify pair, date range, and interval (1m-1h) to get open, high, low, close data with pageable results.
Instructions
Historical OHLC bars for a 6-char FX pair (e.g. EURUSD). Volume is always 0 for OTC spot forex.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pair | Yes | 6-character FX pair, e.g. EURUSD. | |
| start | Yes | Inclusive lower bound, YYYY-MM-DD or RFC3339 (UTC). Required. | |
| end | No | Inclusive upper bound. Default: now. | |
| interval | No | Bar interval. Default 1m. | |
| cursor | No | Opaque pagination cursor. | |
| limit | No | Page size. |