EconomicService

GetGovernmentYieldCurve

GetGovernmentYieldCurve returns one sovereign market's daily yield curve from its official national publisher, or the OECD monthly 10Y benchmark when no daily curve is covered. Yields keep their publisher's measure and are never converted.

get/api/economic/v1/get-government-yield-curve

Request

  • Base URL: https://api.worldmonitor.app
  • URL: https://api.worldmonitor.app/api/economic/v1/get-government-yield-curve
  • Auth: one of:
    • API key in header X-WorldMonitor-Key
    • API key in header X-Api-Key

Query parameters

countrystring required

ISO 3166-1 alpha-2 code of the sovereign, e.g. "JP" or "DE".

historyboolean

True for every stored business day; false for the latest day.

limitinteger

Maximum recent observations per series, up to 366. Omit or use zero for the full stored history.

jmespathstring

Optional JMESPath expression applied server-side to project or reduce the JSON response before it is returned (mirrors the MCP jmespath argument). Invalid expressions, expressions larger than 1024 UTF-8 bytes, or projections that exceed the 256 KB output cap return HTTP 400 with a {_jmespath_error, original_keys} envelope. Grammar and worked examples: https://www.worldmonitor.app/docs/mcp-jmespath.

Response

OK

countrystring

Echoed uppercase ISO 3166-1 alpha-2 code.

sourcestring

Covered-market descriptor, e.g. "jp-mof-cmt" or "uk-boe-spot".

measurestring

Yield measure: "par", "spot", "benchmark", or "monthly-10y".

unavailableboolean

True when the market is uncovered or its seeded curve is unavailable. An empty curves list is graceful degradation, not a confirmed zero yield.

Changes

No recorded changes to this operation across all 1 revision of this API.