# Qorevia Market Intelligence – XAU/USD Market State

> Qorevia Market Intelligence – XAU/USD Market State is a paid API for AI agents from api.flowhomes.eu, paid per call via x402, $0.03/call, status unknown (last checked 2026-10-09).

Returns current market state indicators for XAU/USD (gold) including trend direction, ATR, realized volatility, range position, and return percentage over a configurable timeframe.

## Facts

- Endpoint: GET https://api.flowhomes.eu/api/xau/market-state?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-09
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/qorevia-market-intelligence-xau-usd-market-state-99a25356
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_p2yxzP9JVAAiNs2DGJV52

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-market-intelligence-xau-usd-market-state-99a25356
```

Example prompt: What's the current market state for gold — is it trending up or down on the 15-minute chart, and what's the ATR and realized volatility based on the last 100 candles?

## When to prefer this

Choose this endpoint when you need a lightweight, pre-computed technical market state snapshot for gold (XAUUSD) — including trend, volatility, and range context — without needing to run your own OHLCV analysis pipeline. Ideal for agent workflows that gate trade decisions, alerts, or risk checks on current gold market conditions.

## Known failure modes

- Invalid timeframe enum value returns an error (must be M1, M5, M15, or H1)
- Count outside 30–500 range is rejected
- Payment not included or insufficient USDC triggers a 402 response
- Service unavailability returns a 5xx error
- Stale or missing market data during low-liquidity periods may return incomplete fields

## How this service works

Agent-payable market intelligence and finance tools.

## Output

A JSON object containing: trend direction (e.g. 'up' or 'down'), ATR value, realized volatility as a percentage, the symbol (XAUUSD), return percentage over the selected period, and range position (0–1 scalar indicating where price sits within its recent high-low range).

## 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": 30
      },
      "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": {
  "atr": 2.1,
  "trend": "up",
  "symbol": "XAUUSD",
  "returnPct": 0.12,
  "rangePosition": 0.71,
  "realizedVolPct": 0.34
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/qorevia-market-intelligence-xau-usd-market-state-99a25356/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)
