# SelectaRank JGB Yields — Japan Government Bond Yield Lookup

> SelectaRank JGB Yields — Japan Government Bond Yield Lookup is a paid API for AI agents from selectarank-data.vercel.app, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-02).

Returns Japan Government Bond (JGB) yield data for one or more trading days, sourced from the Ministry of Finance Japan, covering multiple tenors (1Y, 2Y, 10Y, etc.).

## Facts

- Endpoint: GET https://selectarank-data.vercel.app/v1/jp/jgb-yields?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/selectarank-jgb-yields-japan-government-bond-yield-lookup-888e20a6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xkKDAw1QAWGpV5x5S-yWt

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 selectarank-jgb-yields-japan-government-bond-yield-lookup-888e20a6
```

Example prompt: What are the Japan government bond yields across all tenors for the last 3 trading days? I need the 1Y, 2Y, and 10Y rates.

## When to prefer this

Choose this endpoint when you need Japan Government Bond yield data sourced directly from the Ministry of Finance Japan, with no API key required, pay-per-call via USDC on Base. Prefer this over scraping or general financial data APIs when you need structured, multi-tenor JGB data for specific historical dates or recent trading windows up to 60 days.

## Known failure modes

- Date not a valid trading day — returns empty data or error if market was closed on requested date
- Days parameter out of range (>60 or <1) — may return validation error
- Date in future — no data available, empty or error response
- Data source temporarily unavailable — upstream Ministry of Finance data feed may lag
- Invalid date format — must be YYYY-MM-DD or request fails

## How this service works

Pay-per-call access to public-domain data (USGS earthquakes, NOAA/NWS forecasts, World Bank indicators) plus an x402 endpoint pre-payment checker over x402 on Base USDC. No account or API key.

## Output

Returns a JSON object with an array of trading-day records, each containing the date and a yields map keyed by tenor (e.g. 1Y, 2Y, 10Y) in percent. Also includes metadata indicating the source (Ministry of Finance, Japan), the unit (percent), and the list of available tenors.

## 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": {
      "date": {
       "type": "string",
       "description": "Optional YYYY-MM-DD; returns that trading day"
      },
      "days": {
       "type": "string",
       "description": "Latest N trading days, 1-60 (default 1)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [
   {
    "date": "2026-08-31",
    "yields": {
     "10Y": 2.943
    }
   }
  ],
  "meta": {
   "source": "Ministry of Finance, Japan"
  },
  "unit": "percent",
  "tenors": [
   "1Y",
   "2Y",
   "10Y"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/selectarank-jgb-yields-japan-government-bond-yield-lookup-888e20a6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from selectarank-data.vercel.app](https://www.zero.xyz/host/selectarank-data.vercel.app/llms.txt)
