GETTING STARTEDIntroductionOverview of the xauapi data APIGETTING STARTEDQuickstartCreate a key and make your first requestGETTING STARTEDAuthenticationBearer tokens, key rotation and revocationGETTING STARTEDMCP integrationConnect AI tools to gold market dataCONCEPTSBroker feedsBrokers and source identityCONCEPTSFreshness & coverageTimestamps, sampling and stale dataAPI REFERENCELatest quoteGET /v1/quote · Bid, Ask and spreadAPI REFERENCECandlesGET /v1/candles · M1, M5 and M15 OHLCAPI REFERENCEFeed statusGET /v1/status · Connection and freshnessRESOURCESErrors401, 429 and 503 response handlingRESOURCESUsage & limitsAnnual allowance, rate limits and billing

11 topics. Select a result to open it.

api reference

Feed status

GET /v1/status · Connection and freshness

API reference · Code and response examples

Request

GET/v1/statusBearer token

Base URL: https://api.xauapi.com. Use an active private API key.

Request example
curl 'https://api.xauapi.com/v1/status?feed=justmarkets' \
  -H 'Authorization: Bearer YOUR_API_KEY'

Query parameters

feed is optional and accepts justmarkets.

Example response

Illustrative values. Production responses include actual broker timestamps and freshness.

200 · application/json
{
  "feed": "justmarkets",
  "symbol": "XAUUSD",
  "source": "vps_mt5",
  "collector": "TickBridge",
  "sampled": true,
  "stale": false,
  "quote_age_ms": 250,
  "receipt_age_ms": 100,
  "status": "available"
}

Response fields

FieldMeaning
statusavailable or stale, based on quote freshness.
quote_age_msTime since the source tick in milliseconds; null if unavailable.
receipt_age_msTime since the collector receipt in milliseconds; null if unavailable.
source / collectorSource type and collector identification.
staleTrue after five seconds without a source tick. A closed market can be stale while collector receipts continue.

Behavior & errors

Inspect freshness even when the HTTP response is 200. Missing feed data returns 503. Authenticated requests admitted by the quota gate count toward your annual allowance.

Error handling →