75trust / 100

Run News

by ioswarm.io in News & content

x402 APIPassing, checked 3 h ago

A same-day, cross-outlet news digest on a topic or region, every item dated and attributed, with the primary source separated from corroboration. Pay $0.75 USDC per run; the response carries a run id and poll URL, the report lands in 3–10 minutes. No account needed — the paying wallet becomes the account and an API key is returned once.

POST https://ioswarm.io/api/v1/x402/run/news

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
370 ms typical, 436 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 POST "https://ioswarm.io/api/v1/x402/run/news" \
  -H "content-type: application/json" \
  -d '{"input":"<the question or brief for this run>"}'
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%2Fioswarm.io%2Fapi%2Fv1%2Fx402%2Frun%2Fnews
const res = await pay("https://ioswarm.io/api/v1/x402/run/news", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"input":"<the question or brief for this run>"}),
});
console.log(await res.json());

Example input

{
  "input": "<the question or brief for this run>"
}

Example output

{
  "mode": "news",
  "paid": {
    "transaction": "0x…",
    "usd": 0.75
  },
  "poll_url": "https://ioswarm.io/api/v1/runs/run-1789440847776-0001",
  "report_url": "https://ioswarm.io/api/v1/runs/run-1789440847776-0001/report",
  "run_id": "run-1789440847776-0001",
  "status": "running"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402579 ms$0.75
6 h agoPassed402122 ms$0.75
10 h agoPassed402382 ms$0.75
13 h agoPassed402436 ms$0.75
17 h agoPassed402418 ms$0.75
21 h agoPassed402122 ms$0.75
24 h agoPassed402370 ms$0.75
28 h agoPassed402370 ms$0.75
32 h agoPassed402121 ms$0.75
35 h agoPassed402374 ms$0.75
41 h agoPassed402130 ms$0.75