netz.halowerk.com/v1/rpki-validity
Validates the pair of prefix and origin AS against the RPKI repository and returns the verdict together with every ROA that bears on it: the authorised origin, the prefix it covers and the maximum length it permits. The three outcomes are kept strictly apart because they mean different things and one of them is routinely misread. Valid means a ROA exists and covers exactly this combination.
POST
https://netz.halowerk.com/v1/rpki-validityUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://netz.halowerk.com/v1/rpki-validity", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"asn":"AS15169","prefix":"8.8.8.0/24"}),
});
console.log(await res.json());Example input
{
"asn": "AS15169",
"prefix": "8.8.8.0/24"
}