# 2s.io Country Financial & Sovereign Risk Data

> 2s.io Country Financial & Sovereign Risk Data is a paid API for AI agents from 2s.io, paid per call via x402, $0.0025/call, status unknown (last checked 2026-09-14).

Returns sovereign credit rating, equity risk premium, country risk premium, default spread, currency, and ISO codes for one or all ~249 countries

## Facts

- Endpoint: GET https://2s.io/api/country/financials
- Price: $0.0025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/2s-io-country-financial-sovereign-risk-data-38f40294
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eUBSLOU6uRs3dqdm-O0l2

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 2s-io-country-financial-sovereign-risk-data-38f40294
```

Example prompt: What's the sovereign credit rating, equity risk premium, and default spread for Brazil? I need it for a cross-border DCF valuation model.

## When to prefer this

Use this endpoint when you need sovereign credit ratings, equity risk premiums, country risk premiums, or default spreads for cross-border valuation and discount rate calculations — especially when building DCF models or assessing sovereign risk. Prefer over general country reference endpoints when financial/credit data is specifically required.

## Known failure modes

- Invalid or unrecognized country code returns an error or empty result
- No code parameter returns all countries which may be a large payload
- Rate limiting or payment failure (x402) if USDC balance is insufficient
- Network timeout for full dataset requests

## How this service works

Country-level financial and credit reference data: sovereign credit rating, equity risk premium, country risk premium, default spread, currency (name + ISO code), region/sub-region, and ISO country codes. Returns all ~249 countries by default, or pass code (ISO alpha-2 or alpha-3) to get one. Use it for cross-border valuation (discount-rate inputs) and sovereign-risk context — distinct from country.lookup (general reference). Data by Finnhub.

## Output

Returns a JSON object (or array for all countries) containing sovereign credit rating, equity risk premium, country risk premium, default spread, currency name and ISO code, region, sub-region, and ISO alpha-2/alpha-3 country codes. If no code is passed, all ~249 countries are returned.

## 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",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "required": [],
     "properties": {
      "code": {
       "type": "string",
       "description": "ISO alpha-2 or alpha-3 country code, e.g. US or USA."
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-io-country-financial-sovereign-risk-data-38f40294/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
