# Alchemy Swap Allowance Holder Indicative Price

> Alchemy Swap Allowance Holder Indicative Price is a paid API for AI agents from agent-proxy.alchemy.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns an indicative (non-binding) price quote for a token swap using the Allowance Holder contract to manage token allowances

## Facts

- Endpoint: GET https://agent-proxy.alchemy.com/v1/x402/86b0ec6d1d0b3dc0/swap-allowance-holder-price/
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-proxy-alchemy-com-ba46c303
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XnvTOOV2OhAhEoSdKSofg

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agent-proxy-alchemy-com-ba46c303
```

Example prompt: What's the indicative price to swap 1 ETH for USDC right now using the Allowance Holder contract on Alchemy?

## When to prefer this

Use this endpoint when you need a quick, non-binding price estimate for a token swap using the Allowance Holder pattern, before committing to a firm quote or executing a trade. Prefer this over the firm quote endpoint when you just want to preview pricing or show the user an estimate without locking in a rate.

## Known failure modes

- Unsupported token pair returns an error or empty result
- Invalid or missing query parameters result in a 400 bad request
- Network congestion may cause stale or unavailable pricing
- Insufficient liquidity for the requested swap size
- Payment of $0.01 USDC not fulfilled results in 402 Payment Required

## How this service works

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

## Output

Returns an indicative (non-firm) price for the requested token swap, including estimated output amount, exchange rate, and fee breakdown using the Allowance Holder mechanism — useful for previewing a trade before requesting a firm quote.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "chainId": 1,
   "buyToken": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
   "sellToken": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
   "sellAmount": "1000000000000000000"
  }
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "gas",
  "zid",
  "fees",
  "mode",
  "route",
  "issues",
  "buyToken",
  "gasPrice",
  "buyAmount",
  "sellToken",
  "sellAmount",
  "blockNumber",
  "minBuyAmount",
  "tokenMetadata",
  "allowanceTarget",
  "totalNetworkFee",
  "liquidityAvailable"
 ],
 "properties": {
  "gas": {
   "type": "string"
  },
  "zid": {
   "type": "string"
  },
  "fees": {
   "type": "object",
   "required": [
    "gasFee",
    "zeroExFee",
    "integratorFee",
    "integratorFees"
   ],
   "properties": {
    "gasFee": {
     "type": "null"
    },
    "zeroExFee": {
     "type": "object",
     "required": [
      "type",
      "token",
      "amount"
     ],
     "properties": {
      "type": {
       "type": "string"
      },
      "token": {
       "type": "string"
      },
      "amount": {
       "type": "string"
      }
     }
    },
    "integratorFee": {
     "type": "null"
    },
    "integratorFees": {
     "type": "null"
    }
   }
  },
  "mode": {
   "type": "string"
  },
  "route": {
   "type": "object",
   "required": [
    "fills",
    "tokens"
   ],
   "properties": {
    "fills": {
     "type": "array",
     "items": {
      "type": "object",
      "required": [
       "to",
       "from",
       "source",
       "proportionBps"
      ],
      "properties": {
       "to": {
        "type": "string"
       },
       "from": {
        "type": "string"
       },
       "source": {
        "type": "string"
       },
       "proportionBps": {
        "type": "string"
       }
      }
     }
    },
    "tokens": {
     "type": "array",
     "items": {
      "type": "object",
      "required": [
       "symbol",
       "address"
      ],
      "properties": {
       "symbol": {
        "type": "string"
       },
       "address": {
        "type": "string"
       }
      }
     }
    }
   }
  },
  "issues": {
   "type": "object",
   "required": [
    "balance",
    "allowance",
    "invalidSourcesPassed",
    "simulationIncomplete"
   ],
   "properties": {
    "balance": {
     "type": "object",
     "required": [
      "token",
      "actual",
      "expected"
     ],
     "properties": {
      "token": {
       "type": "string"
      },
      "actual": {
       "type": "string"
      },
      "expected": {
       "type": "string"
      }
     }
    },
    "allowance": {
     "type": "null"
    },
    "invalidSourcesPassed": {
     "type": "array",
     "items": {
      "type": "unknown"
     }
    },
    "simulationIncomplete
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-proxy-alchemy-com-ba46c303/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-proxy.alchemy.com](https://www.zero.xyz/host/agent-proxy.alchemy.com/llms.txt)
