Decide for each URL an agent wants to open whether it passes a policy
denk.halowerk.com/v1/url-policy-check
Decide for each URL an agent wants to open whether it passes a policy: schemes, allow/deny domains, IP literals, private ranges, credentials, ports and IDN homographs. Static policy evaluation without resolving or fetching anything: allowed schemes, domain allow and deny lists with subdomain matching, IP-literal and private/reserved address rejection, embedded credentials, non-standard ports, maxi
POST
https://denk.halowerk.com/v1/url-policy-checkUptime100% of 2 checks 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://denk.halowerk.com/v1/url-policy-check", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"allow_domains":["halowerk.com"],"urls":["https://docs.halowerk.com/a","http://169.254.169.254/latest/meta-data","https://xn--pypal-4ve.com/"]}),
});
console.log(await res.json());Example input
{
"allow_domains": [
"halowerk.com"
],
"urls": [
"https://docs.halowerk.com/a",
"http://169.254.169.254/latest/meta-data",
"https://xn--pypal-4ve.com/"
]
}