O

Onrender · Budget Check

by Onrender

POSTBase

$0.03

per call · USD Coin on Base

Check budget and approve/deny AI agent spending with x402 payment verification

Endpoint

POST https://agent-budget-guard.onrender.com/api/budget/check

1

Calls / 30d

1

Unique payers / 30d

Aug 30

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://agent-budget-guard.onrender.com/api/budget/check", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "action_type": "x402_payment",
    "agent_id": "agent_001",
    "currency": "USDC",
    "requested_amount": 0.03,
    "target_api": "https://example.com/api/paid"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://agent-budget-guard.onrender.com/api/budget/check" \
  -H "Content-Type: application/json" \
  -d '{"action_type":"x402_payment","agent_id":"agent_001","currency":"USDC","requested_amount":0.03,"target_api":"https://example.com/api/paid"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "allow": true,
  "approval_required": false,
  "audit_status": "ready",
  "next_recommended": "proceed_with_x402_payment",
  "remaining_budget": 0.97,
  "risk_level": "low"
}

Payment details

Pay to0x60c402878efcecae5733a88075328aa2320c39be
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Other and the homepage with a featured placement.

Get featured →

More from Onrender & similar services

O

Onrender · Signals

quotient-api-gateway.onrender.com

Use this to scan Quotient's published prediction-market signals on Polymarket International, Polymarket US, Kalshi, and Limitless: side, entry YES price, latest Q probability and thesis, conviction, the forecast_status gauge with its standing adverse move, upside to Q, and capacity — one signal per market. A signal is active or retired; a missing live quote drops a row from the feed, and a caution/warning forecast_status marks an adverse move, never hides the row.

GETBaseOther
$0.01 / call88 calls / 30d
O

Onrender · Markets Search

quotient-api-gateway.onrender.com

Use this to search Quotient-covered markets by meaning, taxonomy, asset, venue, or historical cutoff. Results carry quote provenance plus Q and venue odds captured at the selected forecast. Polymarket International and Kalshi use verified live pricing or null; other venues label graph snapshots stale. Use as_of for discovery and the forecast-time pair for historical spreads, including since-closed markets.

GETBaseSearch & Web
$0.01 / call33 calls / 30d
O

Onrender · Markets Lookup

quotient-api-gateway.onrender.com

Use this to fetch full Quotient intelligence for up to ten markets across Polymarket International, Polymarket US, Kalshi, and Limitless. Returns forecasts, theses, cited drivers, resolution pathways, venue odds, and quote provenance. Polymarket International and Kalshi fail closed when live pricing is unavailable. Prefer market_keys; legacy slugs and condition IDs default to Polymarket unless venue is supplied.

GETBaseOther
$0.005 / call14 calls / 30d