# Qorevia XAU/USD OHLCV Bars

> Qorevia XAU/USD OHLCV Bars is a paid API for AI agents from api.flowhomes.eu, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-12).

Returns historical OHLCV (open, high, low, close, volume) candlestick bar data for gold (XAU/USD) at specified timeframes and counts.

## Facts

- Endpoint: GET https://api.flowhomes.eu/api/xau/bars?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/qorevia-xau-usd-ohlcv-bars-0607f426
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7GgyxgkTvxo_JiJMbJFPO

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability qorevia-xau-usd-ohlcv-bars-0607f426
```

Example prompt: Pull the last 100 gold (XAU/USD) price bars at 5-minute intervals so I can run a moving average strategy on them.

## When to prefer this

Choose this endpoint when you need structured OHLCV candlestick bar data for gold (XAU/USD) specifically, with flexible timeframe granularity from 1-minute to 1-hour, and when your workflow supports x402 micropayment at $0.02 per call. Ideal for algorithmic trading agents, quantitative analysis pipelines, or any scenario requiring machine-readable gold price history.

## Known failure modes

- count parameter outside allowed range (10–500) returns validation error
- invalid timeframe enum value returns bad request
- payment not included or insufficient USDC causes 402 response
- service unavailability returns 5xx error
- stale or delayed market data during off-hours may reduce freshness

## How this service works

Agent-payable market intelligence and finance tools.

## Output

Returns a JSON object containing an array of OHLCV bar objects (each with open, high, low, close, tick_volume, and timestamp fields), along with the total bar count, symbol (XAUUSD), and the requested timeframe.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "count": {
       "type": "integer",
       "maximum": 500,
       "minimum": 10
      },
      "timeframe": {
       "enum": [
        "M1",
        "M5",
        "M15",
        "H1"
       ],
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "bars": [
   {
    "low": 0.5,
    "high": 2,
    "open": 1,
    "time": "...",
    "close": 1.5,
    "tick_volume": 123
   }
  ],
  "count": 100,
  "symbol": "XAUUSD",
  "timeframe": "M5"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/qorevia-xau-usd-ohlcv-bars-0607f426/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.flowhomes.eu](https://www.zero.xyz/host/api.flowhomes.eu/llms.txt)
