# Agent Bounties Margin Verifier

> Agent Bounties Margin Verifier is a paid API for AI agents from openworker.etips.me, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-20).

Calculates and audits the net cash margin for an Agent Bounties task by breaking down solver reward, external spend, bond, and profit in base units with full arithmetic transparency.

## Facts

- Endpoint: POST https://openworker.etips.me/api/services/bounty_margin_verify?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-bounties-margin-verifier-22315b71
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6QcpHULSSuq9jFvMt79V8

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 agent-bounties-margin-verifier-22315b71 -d '<json body>'
```

Example prompt: Before I claim this bounty, verify the margin for me: the solver reward is 5000000 base units, required external spend is 2000000 base units, the claim bond is 500000 base units, and the advertised profit is 2500000 base units — all in 6-decimal USDC. Is the gross margin non-negative and does it match the advertised profit?

## When to prefer this

Use this endpoint when an AI agent is about to claim an Agent Bounties task and needs to confirm profitability with auditable arithmetic — especially when the advertised profit needs cross-checking against actual spend and bond requirements. Prefer this over manual calculation when you need rounding details and a verified margin sign surfaced explicitly. Best suited for pre-claim guard logic in agentic bounty-hunting workflows.

## Known failure modes

- Missing required fields (solver_reward_base_units or required_external_spend_base_units) returns a validation error
- Negative margin detected — returned as a flag indicating the bounty is unprofitable
- Mismatch between computed net and advertised profit surfaced as a discrepancy in the response
- Invalid decimals value (outside 0–18) causes schema validation failure
- Non-integer base unit values rejected by schema validation
- API pricing layer ($0.01 USDC) not satisfied causes payment-required error (x402)

## How this service works

Deterministic calculator that takes an Agent Bounties task specification and returns a verified breakdown of solver reward, required external spend, bond, and net cash margin in base units. Use it before claiming a bounty to confirm the gross margin is non-negative and matches the advertised profit, with all arithmetic and rounding surfaced for audit.

## Output

Returns a verified breakdown of the bounty financials including: computed net cash margin in base units, solver reward, required external spend, bond amount, whether the margin is non-negative, whether the computed net matches the advertised profit, and full arithmetic/rounding details for audit purposes.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "solver_reward_base_units",
      "required_external_spend_base_units"
     ],
     "properties": {
      "decimals": {
       "type": "integer",
       "default": 6,
       "maximum": 18,
       "minimum": 0,
       "description": "Token decimals used to interpret base units."
      },
      "claim_bond_base_units": {
       "type": "integer",
       "minimum": 0,
       "description": "Refundable bond posted to claim the task, in base units. Defaults to 0."
      },
      "solver_reward_base_units": {
       "type": "integer",
       "minimum": 0,
       "description": "Reward paid to the solver in base units (6 decimals for USDC)."
      },
      "advertised_profit_base_units": {
       "type": "integer",
       "minimum": 0,
       "description": "Profit advertised by the task, in base units, to cross-check against computed net."
      },
      "required_external_spend_base_units": {
       "type": "integer",
       "minimum": 0,
       "description": "Mandatory spend required to complete the task, in base units."
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-bounties-margin-verifier-22315b71/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from openworker.etips.me](https://www.zero.xyz/host/openworker.etips.me/llms.txt)
