Latest quote
GET /v1/quote · Bid, Ask and spread
Draft reference · Examples use sample data.
Request
Read-only endpoint. The base URL is a placeholder; these requests are not executable yet.
Request example
curl 'https://API_BASE_URL/v1/quote?feed=justmarkets' \
-H 'Authorization: Bearer YOUR_API_KEY'Query parameters
| Parameter | Type | Accepted value |
|---|---|---|
feed | string · required | justmarkets |
Pagination, date-range filters and batch size are not specified in this API contract.
Example response
200 OK Fixed sample data; not an executable market price.
application/json
{
"demo": true,
"feed": "justmarkets",
"symbol": "XAUUSD",
"timestamp": "2026-10-06T08:30:00Z",
"sampled": true,
"bid": 2650.4,
"ask": 2650.6,
"spread": 0.2,
"stale": false
}Response fields
| Field | Type | Description |
|---|---|---|
demo | boolean | True for sample responses. |
feed | string | Identifies the broker connection. |
symbol | string | Client-facing symbol: XAUUSD. |
timestamp | string | ISO 8601 UTC source timestamp. Fixed in examples. |
sampled | boolean | True: observations may omit intermediate ticks. |
bid | number | Sample broker Bid, quoted in USD. |
ask | number | Sample broker Ask, quoted in USD. |
spread | number | Ask minus Bid, in USD. |
stale | boolean | Whether the quote is considered stale. |
Behavior & errors
A stale-feed scenario returns 503 instead of a successful quote. Avoid using an old quote as a current price.
All endpoints may report invalid credentials (401), a rate limit (429), or an exhausted allowance (429). See error handling →
Try scenarios in the explorer →