{
  "openapi": "3.1.0",
  "info": {
    "title": "SovereignRisk",
    "version": "1.0.0",
    "x-guidance": "Sovereign risk: call /sovereign?country=<name or ISO3> (e.g. ?country=Argentina or ?country=NGA). Returns a LOW / MODERATE / ELEVATED / HIGH / DISTRESSED signal with a 0-20 score, the named stress drivers, and the underlying IMF+World Bank metrics. Global coverage, one country per call. $0.05 via x402. Full catalog: lonestaroracle.xyz",
    "description": "Per-country sovereign economic and default-risk score (IMF plus World Bank). Pass ?country=.",
    "contact": {
      "email": "jay@lonestaroracle.xyz"
    },
    "x-x402-proof": "https://sovereign.lonestaroracle.xyz/.well-known/x402-proof"
  },
  "externalDocs": {
    "url": "https://docs.lonestaroracle.xyz",
    "description": "LoneStarOracle API & integration docs"
  },
  "paths": {
    "/sovereign": {
      "get": {
        "summary": "Sovereign Default Risk",
        "operationId": "sovereign_sovereign_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "402": {
            "description": "Payment Required"
          }
        },
        "parameters": [
          {
            "name": "country",
            "in": "query",
            "required": true,
            "description": "Country name (e.g. Argentina, Nigeria, Japan) or ISO3 code (ARG). Aliases accepted: nation, q, iso, code.",
            "schema": {
              "type": "string",
              "example": "Argentina"
            }
          }
        ],
        "x-payment-info": {
          "authMode": "payment",
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.050000"
          },
          "security": [
            {
              "x402": {}
            }
          ]
        },
        "description": "Per-country sovereign economic and default-risk score (IMF plus World Bank). Pass ?country=.",
        "tags": [
          "sovereign",
          "default-risk",
          "country",
          "imf",
          "macro",
          "credit"
        ]
      }
    },
    "/health": {
      "get": {
        "summary": "Health",
        "operationId": "health_health_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        },
        "x-payment-info": {
          "authMode": "free"
        }
      }
    }
  }
}