Coverage
What you get
| Item | Detail |
|---|---|
| Product code | FX-BARS |
| Coverage | Major and minor pairs; the majors bundle has 28 pairs |
| Granularity | 1s, 1m, 5m, 15m, 1h |
| History | Free: 1-hour bars for 30 days. Starter: 5 years of 1-minute. Pro: full history from 2010 |
| Delivery | REST, CSV files per pair |
| Update speed | Bars close in real time from the same feed as our live rates |
Most free FX minute data is mid or bid only and doesn't say which. That matters. A long entry on a bid bar looks cheaper than it was by the full spread. Every bar here carries price_side, and Pro gives you bid and ask bars as well as mid.
Schema
Schema
| Field | Type | Required | Description |
|---|---|---|---|
symbol |
string | yes | Pair, e.g. GBPUSD |
interval |
string | yes | 1s, 1m, 5m, 15m, 1h |
timestamp |
string | yes | Bar start time, ISO 8601 UTC |
price_side |
string | yes | mid, bid or ask |
open |
number | yes | First price in the bar |
high |
number | yes | Highest price |
low |
number | yes | Lowest price |
close |
number | yes | Last price |
tick_count |
integer | optional | Price updates in the bar |
vwap |
number | optional | Tick-weighted average price |
average_spread |
number | optional | Mean ask minus bid in the bar, useful for cost modelling |
Bars are stamped at the start of the interval, in UTC.
Example record:
{
"symbol": "GBPUSD",
"interval": "1m",
"timestamp": "2026-11-19T14:31:00Z",
"price_side": "mid",
"open": 1.26412,
"high": 1.26431,
"low": 1.26405,
"close": 1.26427,
"tick_count": 214,
"vwap": 1.26418,
"average_spread": 0.00008
}
Sample data
Sample data
No free FX minute sample yet. There's no open-licence source for intraday forex that we can repackage, so we're waiting on our contributor feed. A sample file is available on request: pick a pair and a month.
Use cases
Use cases
Session breakout tests. Mark the Asian session range on GBPUSD (roughly 00:00 to 07:00 UTC), then test a break of it after London opens at 07:00 or 08:00 UTC, depending on daylight saving. That's 420 one-minute bars of setup per day, which daily data can't give you.
Realistic costs. average_spread per bar tells you what a market order cost in that minute. Spreads on most pairs widen around the 17:00 New York rollover and at news releases, and a strategy that trades then needs to know.
Execution modelling with sides. On Pro, fetch price_side = ask for entries on longs and bid for exits. No more adding a fixed pip cost and hoping it's right.
Activity filters. FX has no central volume, but tick_count tracks how busy a minute was. Skip signals in bars with very low tick counts, where prices are least reliable.
Code
Code examples
Example: one week of GBP/USD 1-minute mid bars.
curl "https://api.marketdata.co/v1/forex/bars?symbol=GBPUSD&interval=1m&price_side=mid&start=2026-11-09&end=2026-11-13" \
-H "Authorization: Bearer $MARKETDATA_API_KEY"
Example: Python, the Asian session range each day.
import os
import requests
import pandas as pd
resp = requests.get(
"https://api.marketdata.co/v1/forex/bars",
params={"symbol": "GBPUSD", "interval": "1m", "price_side": "mid",
"start": "2026-11-09", "end": "2026-11-13"},
headers={"Authorization": f"Bearer {os.environ['MARKETDATA_API_KEY']}"},
)
resp.raise_for_status()
bars = pd.DataFrame(resp.json()["results"])
bars["timestamp"] = pd.to_datetime(bars["timestamp"], utc=True)
asia = bars.set_index("timestamp").between_time("00:00", "06:59")
print(asia.groupby(asia.index.date).agg(high=("high", "max"), low=("low", "min")))
Pricing
Pricing
| Plan | FX intraday bars |
|---|---|
| Free, $0 | 1-hour bars, last 30 days |
| Starter, $29/mo | 1-minute bars, 5 years of history, 300 calls a minute |
| Pro, $79/mo | 1-second bars, full history from 2010, bid and ask sides |
| Business, $249/mo | Commercial use |
Prefer files? 1-minute mid bars are planned at $29 per pair for full history, or $399 for the 28-pair majors bundle, with bid and ask sides included. Prices are early access and may change.
Paid subscriptions for FX bars run from $29 to $375 a month among the vendors we studied, median $49.99. One-off files sell for $50 to $990, and one forex specialist charges £149 a month.
Side by side
How we compare
19 of the 50 providers we studied sell intraday FX bars. Some cut minute history at two to five years or offer only the last hour. We give 5 years of minutes at $29 a month, list the per-pair file price, and include bid, ask and spread data that free sources usually drop. The pair symbol and UTC timestamps match our tick and daily FX data.
FAQ
Frequently asked questions
Are the bars bid, ask or mid?
Whichever you ask for. price_side is on every bar, mid is the default, and Pro adds bid and ask.
What time zone are timestamps in?
UTC, stamped at the bar start. If you want New York or London session times, convert after loading and watch the daylight-saving changes, which happen on different dates in the US and Europe.
Do you include weekend bars?
No. The FX week runs from Sunday evening to Friday evening New York time, and there are no bars outside it.
Why is there no volume column?
Spot FX has no consolidated volume. tick_count is the number of price updates in the bar, which is the usual stand-in.
Can I use the bars commercially?
Starter and Pro are for personal use. Commercial use starts at Business.
What format are the files?
CSV, one file per pair, with the same columns as the API.
Keep reading
Related
- Asset hub: Forex
- Pairs: EUR/USD, GBP/USD, USD/JPY, USD/CHF, AUD/USD, USD/CAD
- Docs: API reference: forex
- Learn: Forex sessions and spreads, How to backtest with 1-minute data