79trust / 100
Sovereign
by SovereignRisk in Security & trust
x402 APIPassing, checked 3 h ago
Per-country sovereign economic / default-risk score (?country=<name or ISO3>)
GET https://sovereign.lonestaroracle.xyz/sovereign
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 398 ms typical, 437 ms slowest 5%
- Last check
- 3 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://sovereign.lonestaroracle.xyz/sovereign?country=Argentina"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fsovereign.lonestaroracle.xyz%2Fsovereign
const res = await pay("https://sovereign.lonestaroracle.xyz/sovereign?country=Argentina");
console.log(await res.json());Example input
{
"country": "Argentina"
}Example output
{
"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"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 368 ms | $0.05 |
| 6 h ago | Passed | 402 | 370 ms | $0.05 |
| 10 h ago | Passed | 402 | 398 ms | $0.05 |
| 14 h ago | Passed | 402 | 392 ms | $0.05 |
| 17 h ago | Passed | 402 | 401 ms | $0.05 |
| 22 h ago | Passed | 402 | 519 ms | $0.05 |
| 25 h ago | Passed | 402 | 393 ms | $0.05 |
| 28 h ago | Passed | 402 | 437 ms | $0.05 |
| 33 h ago | Passed | 402 | 398 ms | $0.05 |