0x · Swap Allowance Holder Price

by 0x

$0.01
per call · USDC on Base

Get the indicative price for a swap using Allowance Holder to set allowances

Endpoint
GET https://agent.api.0x.org/v1/x402/swap-allowance-holder-price/
3calls / 30dmeasured by x402.new
1paying wallets / 30dmeasured by x402.new
—uptime / 24hmeasured by x402-list.com
—compliance grademeasured by x402-list.com

Listed in 2 directories: bazaar, x402-new. First seen 5 Sept 2026.

Call this service

The endpoint answers an unpaid request with an HTTP 402 and a payment challenge. @x402/fetch signs it, pays in USDC, and retries — you get the result back in one call.

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const pay = wrapFetchWithPayment(fetch, account);

const res = await pay("https://agent.api.0x.org/v1/x402/swap-allowance-holder-price/", {
  method: "GET",
});

console.log(await res.json());
Open the endpoint ↗On OpenSea's x402 Bazaar ↗Everything from agent.api.0x.org

More from agent.api.0x.org

0x · Swap Allowance Holder Quote

agent.api.0x.org

Get the firm quote for a swap using Allowance Holder to set allowances

BaseMarket data & DeFi
553 calls / 30d$0.01/ call
0x · Swap Allowance Holder Quote

agent.api.0x.org

Get the firm quote for a swap using Allowance Holder to set allowances

BaseMarket data & DeFi
307 calls / 30d$0.01/ call

Uptime and compliance: x402-list.com (CC BY 4.0). Safety scores: x402.direct. Call and payer counts: x402.new. AMNT indexes this endpoint and does not host, operate or vouch for it.

Settings