{
  "x402Version": 2,
  "id": 28493,
  "slug": "28493",
  "resource": "https://sovereign.lonestaroracle.xyz/sovereign",
  "description": "Per-country sovereign economic / default-risk score (?country=<name or ISO3>)",
  "type": "http",
  "serviceName": "SovereignRisk",
  "resourceType": "Security",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x52Ab53912D37759B2ad364f22dD06B16714b6C06",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "50000",
      "amountUsd": 0.05,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "3nmeVj5m9Uq2hSTfsVsn3tJMHRJQNMKR1AjzyUJbrSgw",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "50000",
      "amountUsd": 0.05,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "country": "Argentina",
        "data_year": "2025",
        "drivers": [
          "inflation 41.9% (runaway)",
          "govt debt 80.3% GDP"
        ],
        "interpretation": "Multiple stress signals; sovereign credit under real strain.",
        "iso3": "ARG",
        "max_score": 20,
        "metrics": {
          "current_account_gdp_pct": 1.2,
          "fiscal_balance_gdp_pct": -0.9,
          "gdp_growth_pct": 4.5,
          "govt_debt_gdp_pct": 80.3,
          "inflation_pct": 41.9,
          "reserves_months_import": 4.1,
          "reserves_year": "2024"
        },
        "risk_score": 7,
        "source": "IMF DataMapper (WEO) + World Bank",
        "sovereign_risk": "ELEVATED"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "country": "Argentina"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "country": "Argentina",
            "data_year": "2025",
            "drivers": [
              "inflation 41.9% (runaway)",
              "govt debt 80.3% GDP"
            ],
            "interpretation": "Multiple stress signals; sovereign credit under real strain.",
            "iso3": "ARG",
            "max_score": 20,
            "metrics": {
              "current_account_gdp_pct": 1.2,
              "fiscal_balance_gdp_pct": -0.9,
              "gdp_growth_pct": 4.5,
              "govt_debt_gdp_pct": 80.3,
              "inflation_pct": 41.9,
              "reserves_months_import": 4.1,
              "reserves_year": "2024"
            },
            "risk_score": 7,
            "source": "IMF DataMapper (WEO) + World Bank",
            "sovereign_risk": "ELEVATED"
          },
          "format": "json",
          "type": "object"
        }
      },
      "schema": {
        "category": "risk",
        "description": "Sovereign economic / default-risk scoring made agent-callable. One x402 call returns a composite solvency-and-distress signal (LOW / MODERATE / ELEVATED / HIGH / DISTRESSED with a 0-20 score) for ANY country, built from the core sovereign-credit fundamentals: government debt as a share of GDP, the fiscal balance, the current-account balance, consumer inflation, real GDP growth (all IMF WEO), and FX reserves measured in months of import cover (World Bank). Names the exact stress drivers (e.g. 'inflation 42% (runaway)', 'govt debt 130% GDP', 'FX reserves 1.8 mo of imports (thin)') and gives a plain-language interpretation. This is the ECONOMIC complement to GeoPulse's political read — a transparent public-data sovereign-stress score a risk, credit, or macro agent can pull per-country, pay-per-call. Not a rating-agency grade; a live, auditable metric read. $0.05 in USDC on Base via x402. Sources: IMF DataMapper (WEO), World Bank (free/public). Sibling of MENAPulse, LatAmPulse and GeoPulse.",
        "name": "SovereignRisk",
        "properties": {
          "input": {
            "properties": {
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "country": {
                    "description": "Country name (e.g. Argentina, Nigeria, Japan) or ISO3 code (ARG). Aliases accepted: nation, q, iso, code.",
                    "example": "Argentina",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "country": "Argentina",
                "data_year": "2025",
                "drivers": [
                  "inflation 41.9% (runaway)",
                  "govt debt 80.3% GDP"
                ],
                "interpretation": "Multiple stress signals; sovereign credit under real strain.",
                "iso3": "ARG",
                "max_score": 20,
                "metrics": {
                  "current_account_gdp_pct": 1.2,
                  "fiscal_balance_gdp_pct": -0.9,
                  "gdp_growth_pct": 4.5,
                  "govt_debt_gdp_pct": 80.3,
                  "inflation_pct": 41.9,
                  "reserves_months_import": 4.1,
                  "reserves_year": "2024"
                },
                "risk_score": 7,
                "source": "IMF DataMapper (WEO) + World Bank",
                "sovereign_risk": "ELEVATED"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "tags": [
          "sovereign",
          "macro",
          "credit",
          "default-risk",
          "risk"
        ],
        "type": "object",
        "version": "1.0.0"
      }
    }
  },
  "tags": [
    "sovereign",
    "macro",
    "credit",
    "default-risk",
    "risk",
    "bazaar"
  ],
  "sourceHost": "sovereign.lonestaroracle.xyz",
  "lastUpdated": "2026-10-08T05:33:10.252Z",
  "quality": {
    "calls30d": 7,
    "uniquePayers30d": 4,
    "lastCalledAt": "2026-10-08T05:33:10.098Z"
  },
  "metadata": {
    "serviceName": "SovereignRisk",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "country": "Argentina"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "country": "Argentina",
              "data_year": "2025",
              "drivers": [
                "inflation 41.9% (runaway)",
                "govt debt 80.3% GDP"
              ],
              "interpretation": "Multiple stress signals; sovereign credit under real strain.",
              "iso3": "ARG",
              "max_score": 20,
              "metrics": {
                "current_account_gdp_pct": 1.2,
                "fiscal_balance_gdp_pct": -0.9,
                "gdp_growth_pct": 4.5,
                "govt_debt_gdp_pct": 80.3,
                "inflation_pct": 41.9,
                "reserves_months_import": 4.1,
                "reserves_year": "2024"
              },
              "risk_score": 7,
              "source": "IMF DataMapper (WEO) + World Bank",
              "sovereign_risk": "ELEVATED"
            },
            "format": "json",
            "type": "object"
          }
        },
        "schema": {
          "category": "risk",
          "description": "Sovereign economic / default-risk scoring made agent-callable. One x402 call returns a composite solvency-and-distress signal (LOW / MODERATE / ELEVATED / HIGH / DISTRESSED with a 0-20 score) for ANY country, built from the core sovereign-credit fundamentals: government debt as a share of GDP, the fiscal balance, the current-account balance, consumer inflation, real GDP growth (all IMF WEO), and FX reserves measured in months of import cover (World Bank). Names the exact stress drivers (e.g. 'inflation 42% (runaway)', 'govt debt 130% GDP', 'FX reserves 1.8 mo of imports (thin)') and gives a plain-language interpretation. This is the ECONOMIC complement to GeoPulse's political read — a transparent public-data sovereign-stress score a risk, credit, or macro agent can pull per-country, pay-per-call. Not a rating-agency grade; a live, auditable metric read. $0.05 in USDC on Base via x402. Sources: IMF DataMapper (WEO), World Bank (free/public). Sibling of MENAPulse, LatAmPulse and GeoPulse.",
          "name": "SovereignRisk",
          "properties": {
            "input": {
              "properties": {
                "method": {
                  "enum": [
                    "GET",
                    "HEAD",
                    "DELETE"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "country": {
                      "description": "Country name (e.g. Argentina, Nigeria, Japan) or ISO3 code (ARG). Aliases accepted: nation, q, iso, code.",
                      "example": "Argentina",
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "country": "Argentina",
                  "data_year": "2025",
                  "drivers": [
                    "inflation 41.9% (runaway)",
                    "govt debt 80.3% GDP"
                  ],
                  "interpretation": "Multiple stress signals; sovereign credit under real strain.",
                  "iso3": "ARG",
                  "max_score": 20,
                  "metrics": {
                    "current_account_gdp_pct": 1.2,
                    "fiscal_balance_gdp_pct": -0.9,
                    "gdp_growth_pct": 4.5,
                    "govt_debt_gdp_pct": 80.3,
                    "inflation_pct": 41.9,
                    "reserves_months_import": 4.1,
                    "reserves_year": "2024"
                  },
                  "risk_score": 7,
                  "source": "IMF DataMapper (WEO) + World Bank",
                  "sovereign_risk": "ELEVATED"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "tags": [
            "sovereign",
            "macro",
            "credit",
            "default-risk",
            "risk"
          ],
          "type": "object",
          "version": "1.0.0"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "sovereign.lonestaroracle.xyz",
    "manifest_name": "sovereign.lonestaroracle.xyz",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": null,
    "type": "string"
  }
}