CYRE Guardian · Policy

by CYRE Guardian

GETBasesolana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1

$0.002

per call · USD Coin on Base

Guardian Spend Policy — seal max spend, allow/deny hosts, networks, and risk ceiling into a signed policy token other agent middleware can enforce. Patterns, not verdicts. Agent guide: https://cyre.dev/SKILL.md

Endpoint

GET https://cyre.dev/api/policy

2

Calls / 30d

1

Unique payers / 30d

Sep 1

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://cyre.dev/api/policy", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://cyre.dev/api/policy?actor=9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM&allowHosts=cyre.dev%2Cexample.com&maxRisk=MEDIUM&maxSpendAtomic=100000&requireTicket=true" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "attestation": {
    "claims": {
      "kind": "cyre-spend-policy"
    },
    "token": "…"
  },
  "disclaimer": "Patterns, not verdicts.",
  "kind": "cyre-policy",
  "ok": true
}

Payment details

Pay to0x9ff25c4acf1dcddf15fd2702c127a285f1dfa712
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1
Schemesexact

Is this your API?

Pin it to the top of AI & Inference and the homepage with a featured placement.

Get featured →

More from CYRE Guardian & similar services