# Bounty Engineer Agent Purchase Firewall

> Bounty Engineer Agent Purchase Firewall is a paid API for AI agents from bounty-engineer-x402-prod.onrender.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Acts as a spend-control and decision gateway that approves or denies autonomous agent purchases by enforcing daily budget limits, network allowlists, and per-transaction amount caps before payment is executed.

## Facts

- Endpoint: POST https://bounty-engineer-x402-prod.onrender.com/v1/agent-purchase-firewall?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bounty-engineer-agent-purchase-firewall-be19c9af
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_q6K5AGAmvyf0U3khzDWn1

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability bounty-engineer-agent-purchase-firewall-be19c9af -d '<json body>'
```

Example prompt: Before my agent pays the seller at 0xABC...123 on base-sepolia for the webpage extraction resource, run it through the purchase firewall — my daily budget is $5.00 and the transaction is $0.01 USDC — let me know if it's approved.

## When to prefer this

Use this endpoint when an autonomous agent needs a policy enforcement layer before executing any payment — specifically when you need budget tracking across calls within a day, network allowlisting, and per-transaction max caps all evaluated together in a single gating call. Prefer it over ad-hoc client-side budget checks when you need a persistent, server-side record of approved spend and a structured allow/deny signal that the agent can act on directly.

## Known failure modes

- Missing required fields (pay_to, network, resource) returns a validation error
- amount_usd exceeding max_amount_usd returns a deny decision
- Projected daily spend exceeding daily_budget_usd returns a deny decision
- Network not in allowed_networks list triggers a deny
- Invalid seller_origin URI format causes a parsing error
- Service unavailable on Render cold start may cause timeout

## How this service works

Machine-buyable infrastructure for autonomous agents: API cost routing, margin optimization, funding-rate data, webpage extraction, result verification, spend controls, retry planning, state, tender search and GitHub bounty intelligence.

## Output

Returns a JSON object with a boolean 'ok' flag, the decision ('allow' or 'deny'), current budget tracking (approved_today_usd and projected_today_usd), the mode identifier 'agent_purchase_firewall', and an array of 'findings' detailing any policy violations or notes that influenced the decision.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "pay_to": {
   "type": "string"
  },
  "network": {
   "type": "string"
  },
  "resource": {
   "type": "string"
  },
  "buyer_key": {
   "type": "string"
  },
  "intent_id": {
   "type": "string"
  },
  "amount_usd": {
   "type": "number",
   "minimum": 0
  },
  "seller_origin": {
   "type": "string",
   "format": "uri"
  },
  "max_amount_usd": {
   "type": "number",
   "minimum": 0
  },
  "allowed_networks": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "daily_budget_usd": {
   "type": "number",
   "minimum": 0
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "mode": "agent_purchase_firewall",
  "budget": {
   "approved_today_usd": 0,
   "projected_today_usd": 0.05
  },
  "decision": "allow",
  "findings": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bounty-engineer-agent-purchase-firewall-be19c9af/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bounty-engineer-x402-prod.onrender.com](https://www.zero.xyz/host/bounty-engineer-x402-prod.onrender.com/llms.txt)
