Arbiter

Quickstart (sellers)

Any HTTPS API can be sold per call in USDG. Paste the URL, set a price, write what one call delivers, post a deposit. You are paid in the same transaction as each call.

1. Describe the service

Open Sell in the app and connect the wallet that will own the service.

FieldWhat it is
Service idThe path of your covered URL: /x/<id>. 3 to 40 characters, a-z, 0-9 and dashes.
Upstream URLYour HTTPS endpoint. Buyers never see it. The path and query after /x/<id> are appended to it.
Secret headerOptional header the proxy adds to every call, for example x-api-key. Stored encrypted, never shown back.
PriceUSDG per call, from 0.02.
PromiseOne paragraph: what one call delivers. Disputes are read against it.
JSON SchemaOptional. Checked on every response; a mismatch is refunded automatically.
Max latencyUp to 60 seconds. A slower answer is refunded automatically.
Protection window10 minutes to 24 hours (default 1 hour): how long a buyer can dispute, and how long the price stays locked.
Payout addressWhere each payment lands. Defaults to the connected wallet.

2. Register the terms

Your wallet signs the settings (a message, no gas), then sends one transaction to the escrow: registerService(id, price, window, promiseHash, payTo). The promise hash ties the text buyers read to what is on-chain; the proxy refuses calls while they differ.

3. Post a deposit

Approve USDG and call depositBond. A call is only sold while your free deposit covers its full price. Each call locks its price until its window closes; size the deposit to the number of calls you expect inside one window. Withdraw the free part any time; calls whose window has closed are released first.

4. Share the covered URL

shell
curl -i https://www.arbiterprotection.xyz/x/<your-id>/any/path?q=1   # 402 with the payment requirements

The service is listed in the directory unless you untick it. Any x402 client can pay it.

Money

For each call you receive the price minus the fee in the same transaction. The fee is 1% with a floor of 0.005 USDG; the floor pays the gas of the covering transaction. If a call is refunded, the refund comes from your locked deposit, never from the payout you already received.

Block an abusive buyer address at the proxy from the Sell page. Buyers can open at most 10 disputes per service per day, and each service page shows its refund rate.

Writing a good promise

  • Say what the input is and what the output contains: fields, units, freshness.
  • Declare a JSON Schema when your answer is JSON; it turns broken answers into automatic refunds instead of disputes.
  • Do not promise what you cannot check yourself; a vague promise is read in the buyer's favour.