# Read MT5 quotes and recent candles over REST

URL: https://docs.fxapis.com/guides/market-data

> What fxapis market data is, and is not: a REST poll of the account's broker quotes, and up to 1,000 recent candles from that terminal. No tick history, no…



fxapis can read the prices the account's own broker is showing, and a short run of recent bars from that same terminal. It is not a market-data vendor.

Verified against the API on 1 November 2026. Owner: the market-data routes in `apps/api/src/routes/candles.ts` and the quotes route they share a budget with.

| You need            | What you get                                                                                                                                                              | What you do not get              |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------- |
| Current bid and ask | [`GET /v1/accounts/{id}/quotes`](/api-reference/market-data/live-prices-from-the-account-s-broker), polled, up to 20 symbols                                              | A WebSocket stream               |
| Recent OHLC         | [`GET /v1/accounts/{id}/candles`](/api-reference/market-data/price-history-candles-from-the-account-s-broker), M1 through MN1, up to 1,000 bars back from the current one | A multi-year backtesting archive |
| Tick history        | Not available                                                                                                                                                             | Do not infer it from quotes      |
| Streaming           | Not available                                                                                                                                                             | Do not infer it from REST quotes |

The account must be online. Each call reaches its terminal and shares the account's live-read budget with quotes and fresh figures (300 a minute plus 50). Past that, the answer is `429 RATE_LIMITED` with `retry-after`.

Candle times are when each bar opened, in UTC, converted with the broker's current clock offset. Bars from before its last daylight-saving change can be an hour out. `tickVolume` counts price changes, not contracts traded. The last bar is still forming.

Send `symbol` or `instrument`, not both. `symbol` is the broker's name. `instrument` is fxapis's name for the market, mapped to that account's symbol.

```bash
curl "https://api.fxapis.com/v1/accounts/$ACCOUNT_ID/quotes?symbol=EURUSD" \
  -H "Authorization: Bearer $FXAPIS_KEY"

curl "https://api.fxapis.com/v1/accounts/$ACCOUNT_ID/candles?symbol=EURUSD&timeframe=H1&count=100" \
  -H "Authorization: Bearer $FXAPIS_KEY"
```

Use a broker demo account. A successful read is a price or a list of bars, not a charting product.
