P0 Quote/Swap — On-Chain Token Swap Quote is a paid API for AI agents from x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-11).
Returns an unsigned swap transaction (with approval details, gas estimate, and fee breakdown) for exchanging one ERC-20 token for another across major EVM chains, sourced from the best aggregator route available.
An open index of the machine-to-machine (agent) economy. x402 routes: ranked discovery over the live x402 service market, every indexed service scored by real 30-day calls and paying-wallet bounds, with a receipt naming the snapshot hash and scoring revision. /economy routes, for Tempo MPP, Virtuals ACP, Olas, Masumi, ERC-8004 agent registries, Solana agent registries, Base agent contracts and MCP servers (Official MCP Registry): each protocol's published figures (agent or server counts, transactions or payment events; payers and USD volume only where the source publishes them: payers for x402 and Tempo MPP, USD volume for x402 and Virtuals ACP), each with its unit, window and source; units differ, so totals are not summed. L402 and per-service MPP listings are not covered.
A JSON object containing: the unsigned swap transaction (to, from, data, value, chainId fields ready to sign and broadcast), an approval object (token address, amount, spender) if needed, buy/sell token metadata (symbol, address, decimals), buy and sell amounts, a gas estimate, the aggregator provider used, the quote timestamp, slippage in bps, and a detailed integrator fee breakdown (bps, token, amount, receiver, how the fee is split between P0 and the aggregator, and confirmation that the fee is embedded in calldata).
GEThttps://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/quote/swap?utm_source=zero.xyzUse this endpoint when an AI agent or autonomous wallet needs a ready-to-sign unsigned swap transaction across major EVM chains (Base, Arbitrum, Ethereum, Optimism, Polygon, BSC) with transparent fee breakdown and gas estimation, without custody or signing by any third party. Prefer it over raw DEX APIs when you want aggregated routing, integrator fee transparency, and a schema designed for machine-to-machine use in the x402 payment protocol ecosystem.
| Field | Type | Description |
|---|---|---|
| inputrequired | object | |
| output | object |
{
"type": "json",
"example": {
"tx": {
"to": "0x6a000f20005980200259b80c5102003040001068",
"data": "0x876a02f6...(shortened example)",
"from": "0x1111111111111111111111111111111111111111",
"value": "0",
"chainId": 8453
},
"note": "Unsigned transaction for you to review, sign and broadcast yourself. P0 never signs, holds or sends funds. Quotes go stale within seconds: run eth_estimateGas and send promptly, or request a new quote. Not financial advice.",
"chain": "base",
"chainId": 8453,
"approval": {
"token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000000",
"spender": "0x6a000f20005980200259b80c5102003040001068"
},
"buyToken": {
"symbol": "WETH",
"address": "0x4200000000000000000000000000000000000006",
"decimals": 18
},
"provider": "velora",
"quotedAt": "2026-10-04T18:37:00.000Z",
"buyAmount": "3695089715876312",
"sellToken": {
"symbol": "USDC",
"address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"decimals": 6
},
"sellAmount": "10000000",
"gasEstimate": "131096",
"slippageBps": 50,
"fallbackFrom": null,
"integratorFee": {
"bps": 20,
"note": "Integrator fee of 20 bps (0.20%) of this swap is taken by the aggregator contract inside the swap transaction you sign; buyAmount already excludes it. Velora keeps 15% of that fee and P0 receives 85% (about 17 bps).",
"split": {
"p0": 0.85,
"aggregator": 0.15
},
"token": "0x4200000000000000000000000000000000000006",
"amount": "7404989410574",
"percent": 0.2,
"receiver": "0xECa891e34b3E5873181Fb779672564E198C55354",
"chargedOn": "output",
"confirmed": true,
"inCalldata": true
},
"fallbackReason": null
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"