{
  "x402Version": 2,
  "id": 33494,
  "slug": "33494",
  "resource": "https://agent.api.0x.org/v1/x402/swap-allowance-holder-price/",
  "description": "Get the indicative price for a swap using Allowance Holder to set allowances",
  "type": "http",
  "resourceType": "Market Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xb15a55e85FdF5edc41B6c1eaf7813e2c6e6def59",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "94tKEV2exvhoHwUYTw8fgm2aMD5eXmHHAm6NMwcszFHU",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xb15a55e85FdF5edc41B6c1eaf7813e2c6e6def59",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 605400
    },
    {
      "scheme": "batch-settlement",
      "network": "eip155:8453",
      "payTo": "0xb15a55e85FdF5edc41B6c1eaf7813e2c6e6def59",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "description": "Get the indicative price for a swap using Allowance Holder to set allowances",
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {},
          "type": "http"
        },
        "output": {
          "example": {
            "allowanceTarget": "",
            "blockNumber": "",
            "buyAmount": "",
            "buyToken": "",
            "fees": {},
            "gas": "",
            "gasPrice": "",
            "issues": {},
            "liquidityAvailable": false,
            "minBuyAmount": "",
            "route": {},
            "sellAmount": "",
            "sellToken": "",
            "totalNetworkFee": "",
            "zid": ""
          },
          "type": "json"
        },
        "serviceName": "0x",
        "tags": [
          "swapAllowanceHolderPrice"
        ]
      },
      "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"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "agent.api.0x.org",
  "lastUpdated": "2026-10-13T07:36:37.496Z",
  "quality": {
    "calls30d": 313,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-13T07:36:39.306Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "description": "Get the indicative price for a swap using Allowance Holder to set allowances",
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {},
            "type": "http"
          },
          "output": {
            "example": {
              "allowanceTarget": "",
              "blockNumber": "",
              "buyAmount": "",
              "buyToken": "",
              "fees": {},
              "gas": "",
              "gasPrice": "",
              "issues": {},
              "liquidityAvailable": false,
              "minBuyAmount": "",
              "route": {},
              "sellAmount": "",
              "sellToken": "",
              "totalNetworkFee": "",
              "zid": ""
            },
            "type": "json"
          },
          "serviceName": "0x",
          "tags": [
            "swapAllowanceHolderPrice"
          ]
        },
        "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"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "agent.api.0x.org",
    "manifest_name": "agent.api.0x.org",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}