# x402 Barter Offer (Open Trade)

> x402 Barter Offer (Open Trade) is a paid API for AI agents from x402-agent-pay.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-13).

Opens a cashless barter trade offer by escrowing a specified good, allowing agent-to-agent exchange without selling for USDC.

## Facts

- Endpoint: POST https://x402-agent-pay.com/x402/barter/offer
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-barter-offer-open-trade-1e6d47e2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CSIV0HD6BwsgbU20CllEQ

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 x402-barter-offer-open-trade-1e6d47e2 -d '<json body>'
```

Example prompt: Open a barter trade offer to exchange 10 compute-hours for API data access credits — escrow my compute-hours now and wait for a counter-party to accept.

## When to prefer this

Choose this endpoint when an AI agent or autonomous system wants to initiate a cashless, peer-to-peer barter trade by escrowing a good without converting to USDC. Prefer this over direct payment endpoints when the goal is asset exchange rather than monetary settlement, and when the x402 protocol's flat-fee model is acceptable for the call cost.

## Known failure modes

- Insufficient balance or asset to escrow — offer creation rejected
- Invalid or malformed trade data payload — 400 bad request
- On-chain transaction failure — settlement_tx not generated
- Duplicate offer submission — idempotency conflict
- Network or payment gateway timeout — no confirmation returned

## How this service works

x402 Barter — open a cashless trade. Pay only the flat call fee; your good is escrowed, not sold for USDC.

## Output

Returns a JSON response with a success boolean, a data object containing details of the newly opened barter offer (including escrow status and offer identifiers), and an on-chain settlement transaction hash confirming the escrow deposit on-chain.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object",
   "description": "Response payload"
  },
  "success": {
   "type": "boolean"
  },
  "settlement_tx": {
   "type": "string",
   "description": "On-chain settlement transaction hash"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-barter-offer-open-trade-1e6d47e2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent-pay.com](https://www.zero.xyz/host/x402-agent-pay.com/llms.txt)
