{"uid":"cap_CSIV0HD6BwsgbU20CllEQ","slug":"x402-barter-offer-open-trade-1e6d47e2","name":"x402 Barter Offer (Open Trade)","description":"x402 Barter — open a cashless trade. Pay only the flat call fee; your good is escrowed, not sold for USDC.","url":"https://x402-agent-pay.com/x402/barter/offer","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"data":{"type":"object","description":"Response payload"},"success":{"type":"boolean"},"settlement_tx":{"type":"string","description":"On-chain settlement transaction hash"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_bQF_rwqykL5EQM3ZyDYYK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Opens a cashless barter trade offer by escrowing a specified good, allowing agent-to-agent exchange without selling for USDC.","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Agent swapping compute for API credits","prompt":"I want to offer 50 GPU-hours in escrow and trade them for database query credits with another agent — open a barter offer for that now."},{"title":"IoT device trading energy data","prompt":"My IoT sensor wants to offer its hourly energy readings in escrow and trade them for weather forecast access — can you open a barter trade offer for that?"},{"title":"AI agent proposing service exchange","prompt":"Open a cashless barter trade where I escrow my text-summarization service capacity and wait for another agent to counter with image-tagging capacity."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:36:02.893Z","isFirstParty":false}