# Genexxis Government Yield Rate (Single Tenor)

> Genexxis Government Yield Rate (Single Tenor) is a paid API for AI agents from yields.genexxis.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-29).

Returns the current government bond yield at any specified tenor for US, Euro Area, or Morocco, linearly interpolated between published points, with 1-month and 1-year-ago comparisons.

## Facts

- Endpoint: GET https://yields.genexxis.com/rate?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/genexxis-government-yield-rate-single-tenor-445a9d2a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_80e-H0S4-xZE9JtklAmXl

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 genexxis-government-yield-rate-single-tenor-445a9d2a
```

Example prompt: What's the current US government yield at the 7-year tenor, and how does it compare to where it was a year ago?

## When to prefer this

Use this endpoint when you need a point yield at a specific, possibly non-standard tenor (e.g. 18M, 7Y, 12Y) rather than the full yield curve, and you need historical context (1-month and 1-year-ago values) alongside the current rate. Particularly useful for US Treasuries, Euro Area AAA sovereign bonds, or Moroccan government bonds. If you need the entire curve at once, prefer the sibling full-curve endpoint.

## Known failure modes

- Invalid country code (not US, EA, or MA) returns an error
- Unsupported or malformed tenor string returns an error
- Tenor outside the available curve range may not interpolate correctly
- Service unavailable if upstream yield data provider is down
- Missing required query parameters (country or tenor) return a 400-level error

## How this service works

Official government yield curves for agents: U.S. Treasury par yield curve (1M-30Y, U.S. Treasury), euro area AAA spot curve (3M-30Y, ECB) and Morocco Treasury bond reference rates (Bank Al-Maghrib secondary market), each with changes vs 1 month and 1 year ago; curve slopes (2s10s, 3m10y) with inversion flags, cross-market 10Y spreads, and interpolated yields at any tenor. Refreshed every 6 hours from official publications.

## Output

A JSON object containing the as-of date, requested tenor, country, current yield percentage, yield 1 month ago, yield 1 year ago, and a method field indicating whether the value is a published point or linearly interpolated between two published points.

## 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",
     "required": [
      "country",
      "tenor"
     ],
     "properties": {
      "tenor": {
       "type": "string",
       "description": "Tenor like 3M, 18M, 7Y or a number of years"
      },
      "country": {
       "type": "string",
       "description": "US, EA or MA"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "asOf": "2026-10-23",
  "tenor": "7Y",
  "method": "published point",
  "country": "US",
  "yieldPct": 4.86,
  "yieldPct1mAgo": 5.02,
  "yieldPct1yAgo": 3.95
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/genexxis-government-yield-rate-single-tenor-445a9d2a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from yields.genexxis.com](https://www.zero.xyz/host/yields.genexxis.com/llms.txt)
