Euro Area Government Bond Yield Curve
ecb-rates.macro.yield_curveGet the euro area AAA-rated government bond spot yield curve rate for a given maturity (1, 5, 10, or 30 years). Business-day series used as a euro area risk-free benchmark. Filter by tenor_years, and either last_n_observations or start_period/end_period. Data: ECB Statistical Data Warehouse (data-api.ecb.europa.eu), no auth required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_period | No | End of date range: YYYY, YYYY-MM, or YYYY-MM-DD depending on series frequency. Ignored if last_n_observations is set. | |
| tenor_years | No | Bond maturity in years for the spot rate: "1", "5", "10", or "30". Default "10". | |
| start_period | No | Start of date range: YYYY, YYYY-MM, or YYYY-MM-DD depending on series frequency. Ignored if last_n_observations is set. | |
| last_n_observations | No | Return only the most recent N observations (max 100). Takes precedence over start_period/end_period. Default 10 if no range given. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |