# Use when an agent needs a swap quote and price impact before trading. Input: chain (base, ethereum, arbitrum), from, to (ticker like USDC, ETH or 0x address), amounts (1-5 sizes in from-token units). Output: JSON per size best venue (Uniswap v3 fee tier, Uniswap v2, Aerodrome), amount out, effective price, price impact %, all venue quotes, spot price. Quote only: no calldata, nothing executed. Example: ?from=USDC&to=ETH&amounts=1000,100000

Verified by [Verified x402](https://verifiedx402.com).

- URL: https://1gateway.dev/v1/onchain/swap/quote
- Category: onchain
- Network: eip155:8453
- Advertised price: 0.002
- Last checked: 2026-11-25T09:25:48.723Z
- Score: 92.0

This listing passed a recent check: the endpoint is live and the advertised price and terms match. Check before paying, then pay the API yourself.

- HTML: https://verifiedx402.com/v/2c8b50ccad5b28d755c8c5ca024a4d4d
- Badge: https://verifiedx402.com/badge.svg?url=https%3A%2F%2F1gateway.dev%2Fv1%2Fonchain%2Fswap%2Fquote
- Independent check: [vet402](https://vet402.com/api/v1/check?url=https%3A%2F%2F1gateway.dev%2Fv1%2Fonchain%2Fswap%2Fquote)

```json
{
  "checkedAt": null,
  "httpStatus": null,
  "latencyMs": null,
  "priceMatches": null,
  "payToMatches": null
}
```
