{"uid":"cap_3sQP3hK2PX1ZmxWOdSIlZ","slug":"speraxos-country-intelligence-api-31f88dda","name":"SperaxOS Country Intelligence API","description":"AI-powered DeFi intelligence APIs payable via the x402 HTTP payment protocol. No API key required — pay per request with USDC on Base. Identity-only (SIWX) endpoints are free for wallets with an agentcash identity.","url":"https://chat.sperax.io/api/x402/hq/country-intel?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"code":{"type":"string","description":"country code, used as cache key"},"context":{"type":"object","properties":{"level":{"type":"string"},"score":{"type":"number"},"trend":{"type":"string"},"outages":{"type":"integer"},"protests":{"type":"integer"},"change24h":{"type":"number"},"headlines":{"type":"array","items":{"type":"string"},"description":"first 15 used, cited as [N]"},"components":{"type":"object","properties":{"unrest":{"type":"number"},"security":{"type":"number"},"information":{"type":"number"}}},"stockIndex":{"type":"string"},"earthquakes":{"type":"integer"},"signalTypes":{"type":"array","items":{"type":"string"}},"militaryFlights":{"type":"integer"},"militaryVessels":{"type":"integer"},"convergenceScore":{"type":"number"},"regionalConvergence":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"country":{"type":"string","description":"country display name"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_FwHq8FZBZXZcC0fVlKPku","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0xD74f5255D557944cf7Dd0E45FF521520002D5748","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns AI-generated geopolitical and stability intelligence for a given country, including risk scores, unrest signals, security components, and headline citations, payable via x402 USDC on Base.","exampleAgentPrompt":"Give me a full country intelligence briefing for Brazil — the risk level is 'elevated', score 67, trend is worsening, there have been 3 outages, 12 protests, and these headlines: ['Protests erupt in São Paulo', 'Military on standby amid unrest', 'Markets drop 2.4%']. Unrest component is 0.7, security 0.6, information 0.5.","exampleUseCases":[{"title":"DeFi portfolio risk screening","prompt":"I'm considering deploying liquidity in Argentina — the current risk score is 74, trend is deteriorating, there are 5 reported outages and 8 protests, and the convergence score is 0.8. Can you generate a country intelligence summary so I can decide if it's too risky right now?"},{"title":"Geopolitical briefing for crisis monitoring","prompt":"Pull a country intel report for Pakistan using these signals: risk level 'critical', score 88, trend declining, 2 earthquakes, 15 military flights, 6 military vessels, and these 5 headlines: ['Border tensions escalate', 'Army deployed in Karachi', 'Power grid failures reported', 'IMF talks stall', 'Regional neighbors on alert']."},{"title":"Investment thesis validation","prompt":"I need an AI-generated intelligence assessment for Taiwan with a risk score of 55, trend stable, 20 military flights, 3 military vessels, and a regional convergence flag from South Korea and Japan. What does the intelligence say about the security outlook?"}],"resultDescription":"An AI-generated country intelligence report synthesizing the provided signals — risk level, score, trend, outage/protest/earthquake counts, military activity, stock index context, regional convergence signals, and up to 15 cited headlines — into a structured geopolitical and stability assessment with component breakdowns (unrest, security, information).","failureModes":["Missing or invalid country code causes cache miss or processing error","Malformed context object with wrong field types returns a validation error","Payment not included or insufficient USDC triggers HTTP 402 response requiring x402 payment","Excessive headline count beyond 15 may result in truncation of citations","Empty or null context object may yield a generic or low-confidence intelligence output"],"whenToPreferThis":"Use this endpoint when you need an AI-synthesized narrative country intelligence report that integrates heterogeneous signals (protests, outages, military activity, headlines, component scores) into a coherent geopolitical assessment. Prefer it over raw data feeds when you need cited, scored, and trend-aware analysis for DeFi risk decisions, investment screening, or crisis monitoring — and when you want to pay per request with USDC via x402 without managing API keys.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T03:57:43.014Z","isFirstParty":false,"canonicalSlug":"speraxos-country-intelligence-api-31f88dda"}