# Lumi Trades Yen Carry-Trade Risk Watch

> Lumi Trades Yen Carry-Trade Risk Watch is a paid API for AI agents from api.lumitrades.io, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-28).

Returns USD/JPY and Nikkei 225 market data plus a rule-based yen carry-trade risk level (low/watch/elevated) and upcoming Japan macro events relevant to crypto markets.

## Facts

- Endpoint: GET https://api.lumitrades.io/v1/macro/yen?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lumi-trades-yen-carry-trade-risk-watch-022cdbd7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aWT9qL5bLuM4BO5m881KZ

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 lumi-trades-yen-carry-trade-risk-watch-022cdbd7
```

Example prompt: Check the current yen carry-trade risk level — give me USD/JPY price, Nikkei 225 performance, whether we're near the 155 danger zone, and any upcoming BOJ or Japan CPI events that could move crypto.

## When to prefer this

Choose this endpoint when you need a single, pre-computed signal about whether yen carry-trade dynamics pose a risk to crypto markets, including both the raw USD/JPY and Nikkei data and an interpretive risk level with reasons. Prefer it over generic FX data APIs when you want the 155 USD/JPY threshold logic and Japan event calendar already baked in, and when you need freshness guarantees (stale_after, next_update) suitable for automated agent workflows.

## Known failure modes

- Stale data: endpoint returns cached data with stale_after exceeded — not charged in this case
- Bad input: malformed request parameters — not charged
- Network timeout: api.lumitrades.io unreachable, no response
- Market data unavailable: upstream FX or Nikkei data feed outage
- Payment failure: x402 micropayment of $0.01 USDC not processed correctly

## How this service works

Yen carry-trade monitor: USD/JPY and Nikkei 225 levels with daily and 5-day changes, a rule-based carry-trade risk level (low, watch or elevated) measured against the 155 USD/JPY line with reasons, and upcoming Japan events such as BOJ decisions and CPI releases, with sources. Use when an agent needs to assess whether yen funding stress could affect risk assets including crypto. Analytics only, not financial advice. Not charged on stale data.

## Output

A JSON object containing: USD/JPY spot price with 1-day and 5-day percentage changes; Nikkei 225 price and 1-day change; a rule-based carry-trade risk level (low, watch, or elevated) with reasons and distance to the 155 USD/JPY key level; a list of upcoming Japan macro events (BOJ decisions, CPI releases); and freshness metadata including as_of timestamp, data_age_seconds, next_update, and stale_after fields. Payment details (asset, payer, amount, network, transaction) are also included.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "kind": "macro_yen",
  "as_of": "2026-10-22T11:05:00Z",
  "payment": {
   "asset": "USDC",
   "payer": "0x12ab...89cd",
   "amount": "0.01",
   "network": "eip155:8453",
   "transaction": "0x5f0c...e41a"
  },
  "usd_jpy": {
   "price": 157.08,
   "change_pct": -0.62,
   "change_5d_pct": -0.67
  },
  "nikkei_225": {
   "price": 62907.84,
   "change_pct": -2.65
  },
  "next_update": "2026-10-22T17:05:00Z",
  "stale_after": "2026-10-22T23:05:00Z",
  "japan_events": [
   {
    "date": "2026-10-30",
    "title": "BOJ policy decision"
   }
  ],
  "carry_trade_risk": {
   "level": "watch",
   "reasons": [
    "USD/JPY within 1.5% of 155"
   ],
   "key_level": 155,
   "distance_to_key_level_pct": 1.34
  },
  "data_age_seconds": 600
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lumi-trades-yen-carry-trade-risk-watch-022cdbd7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.lumitrades.io](https://www.zero.xyz/host/api.lumitrades.io/llms.txt)
