EODHD Credit & Sovereign Risk API

Sovereign risk premiums, credit ratings, CDS spreads, and corporate credit metrics

GitHub OpenAPI

Operations 7

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /credit-risk/sovereign/risk-premium Get sovereign country risk premiums · Get sovereign country risk premiums #
Ask an LLM
“What is the country risk premium for a given country?”
“Can I get sovereign default spreads and equity risk premiums by region?”
Tell an agent
Get sovereign risk premiums for {country}.
Show country risk premiums for {country} in region {region} as of {as_of}.
GET /credit-risk/sovereign/credit-ratings Get sovereign credit ratings · Get sovereign credit ratings #
Ask an LLM
“What are the Moody's, S&P and Fitch ratings for a country?”
“Can I see a country's credit rating as of a specific date?”
Tell an agent
Get sovereign credit ratings for {country}.
Show the credit ratings for {country} as of {as_of}.
GET /credit-risk/sovereign/cds-spreads Get sovereign CDS spreads · Get sovereign CDS spreads #
Ask an LLM
“What are the sovereign credit default swap spreads for a country?”
“Can I get CDS spreads net of Switzerland?”
Tell an agent
Get sovereign CDS spreads for {country}.
Show CDS spreads for {country} net of Switzerland as of {as_of}.
GET /credit-risk/sovereign/default-spreads Get default spreads mapped to credit ratings · Get default spreads by rating #
Ask an LLM
“What is the default spread for a given credit rating bucket?”
“Can I see default spreads for a rating as of a specific date?”
Tell an agent
Get default spreads for rating {rating}.
Show default spreads for rating {rating} as of {as_of}.
GET /credit-risk/corporate/cmdi Get the corporate market debt index · Get corporate market debt indices (CMDI) #
Ask an LLM
“What is the Corporate Market Debt Index for investment-grade and high-yield bonds?”
“Can I get the CMDI series for a date range?”
Tell an agent
Get the corporate market debt index from {from} to {to}.
Show the CMDI series for investment-grade and high-yield bonds.
GET /credit-risk/corporate/hqm-yields Get high-quality market corporate bond yields · Get high quality market (HQM) corporate bond yields #
Ask an LLM
“What are the par and spot yields on high-quality market corporate bonds?”
“Can I get HQM yields for a specific tenor range?”
Tell an agent
Get HQM corporate bond yields for tenor {tenor}.
Show HQM yields for tenor {tenor} as of {from} to {to}.
GET /credit-risk/cds-market/aggregates Get CDS market aggregate statistics · Get CDS market aggregate statistics #
Ask an LLM
“What is the gross notional outstanding in the CDS market?”
“Can I break down CDS market aggregates by grade or cleared status?”
Tell an agent
Get CDS market aggregates for metric {metric}.
Show CDS market aggregates by {dimension} for region {region}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/eodhd:eodhd-credit-sovereign-risk-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

eodhd-credit-sovereign-risk-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: EODHD Financial Data Credit & Sovereign Risk API
  description: Comprehensive API for retrieving financial data including stock prices, fundamentals, calendar events, news, and more from EOD Historical Data (eodhd.com)
  version: 2.0.0
  contact:
    name: EODHD Support
    url: https://eodhd.com
    email: supportlevel1@eodhistoricaldata.com
  termsOfService: https://eodhd.com/financial-apis/terms-conditions
  license:
    name: Proprietary
    url: https://eodhd.com/financial-apis/terms-conditions
servers:
- url: https://eodhd.com/api
  description: Primary API path
- url: https://eodhistoricaldata.com/api
  description: Alternative API path
security:
- EODHDQueryKey: []
tags:


# --- truncated at 32 KB (43 KB total) ---
# Full source: https://artifacts.apis.io/eodhd/openapi/eodhd-credit-sovereign-risk-api-openapi.yml