79trust / 100

Pulse

by AfricaPulse in Security & trust

x402 APIPassing, checked 3 h ago

Africa regional macro + geopolitical stress pulse (no params)

GET https://africa.lonestaroracle.xyz/pulse

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
391 ms typical, 473 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://africa.lonestaroracle.xyz/pulse"
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%2Fafrica.lonestaroracle.xyz%2Fpulse
const res = await pay("https://africa.lonestaroracle.xyz/pulse");
console.log(await res.json());

Example output

{
  "currencies": {
    "NGN": {
      "name": "Nigerian Naira",
      "peg": "managed float",
      "units_per_usd": 1364.2
    }
  },
  "energy_driver": {
    "Brent Crude": {
      "chg_30d_pct": -1.5,
      "price": 81.9
    }
  },
  "region": "Sub-Saharan Africa",
  "regional_stress": "ELEVATED",
  "source": "IMF DataMapper + exchangerate + Yahoo Finance",
  "stress_score": 8,
  "stressed_economies": [
    {
      "country": "Nigeria",
      "flags": [
        "inflation 23.0%"
      ]
    },
    {
      "country": "Angola",
      "flags": [
        "inflation 20.2%"
      ]
    },
    {
      "country": "Senegal",
      "flags": [
        "govt debt 130.2% GDP",
        "current account -5.6% GDP"
      ]
    }
  ]
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402361 ms$0.05
6 h agoPassed402401 ms$0.05
10 h agoPassed402391 ms$0.05
14 h agoPassed402417 ms$0.05
17 h agoPassed402346 ms$0.05
21 h agoPassed402473 ms$0.05
24 h agoPassed402346 ms$0.05
28 h agoPassed402515 ms$0.05
33 h agoPassed402373 ms$0.05