mirrored listing x402 eip155:8453solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp

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

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

Do you run agent.api.0x.org? This listing was mirrored from Coinbase's public Bazaar. Claim it in 30 seconds — no account required — and it becomes verified, permanently overriding the mirrored copy.

Claim this listing
10000 (raw units)
price
700
calls / 30d
3
unique payers
2026-09-14
updated

Provider

agent.api.0x.org · discovered, not yet claimed by its owner

Payment (x402 accepts[])

[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0xb15a55e85FdF5edc41B6c1eaf7813e2c6e6def59",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "payTo": "94tKEV2exvhoHwUYTw8fgm2aMD5eXmHHAm6NMwcszFHU",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "10000",
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0xb15a55e85FdF5edc41B6c1eaf7813e2c6e6def59",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "maxTimeoutSeconds": 605400
  }
]

Output schema

{
  "bazaar": {
    "description": "Get the firm quote for a swap using Allowance Holder to set allowances",
    "info": {
      "input": {
        "method": "GET",
        "queryParams": {},
        "type": "http"
      },
      "output": {
        "example": {
          "allowanceTarget": "",
          "blockNumber": "",
          "buyAmount": "",
          "buyToken": "",
          "fees": {},
          "gas": "",
          "gasFee": {},
          "gasPrice": "",
          "integratorFees": [],
          "issues": {},
          "liquidityAvailable": false,
          "minBuyAmount": "",
          "route": {},
          "sellAmount": "",
          "sellToken": "",
          "tokenMetadata": {},
          "totalNetworkFee": "",
          "zeroExFee": {},
          "zid": ""
        },
        "type": "json"
      },
      "serviceName": "0x",
      "tags": [
        "swapAllowanceHolderQuote"
      ]
    },
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "input": {
          "additionalProperties": false,
          "properties": {
            "method": {
              "enum": [
                "GET",
                "HEAD",
                "DELETE"
              ],
              "type": "string"
            },
            "queryParams": {
              "type": "object"
            },
            "type": {
              "const": "http",
              "type": "string"
            }
          },
          "required": [
            "type",
            "method"
          ],
          "type": "object"
        },
        "output": {
          "properties": {
            "example": {
              "type": "object"
            },
            "type": {
              "type": "string"
            }
          },
          "required": [
            "type"
          ],
          "type": "object"
        }
      },
      "required": [
        "input"
      ],
      "type": "object"
    }
  }
}

Use it

curl

curl "https://agent.api.0x.org/v1/x402/swap-allowance-holder-quote/"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid

JavaScript

const res = await fetch("https://agent.api.0x.org/v1/x402/swap-allowance-holder-quote/");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}

Python

import httpx
res = httpx.get("https://agent.api.0x.org/v1/x402/swap-allowance-holder-quote/")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Machine-readable

Everything on this page is also available as clean JSON at /resources/6862.json, and this resource appears in /discovery/resources and /discovery/search.