Instant AMM swap quote — exact output amount, price impact and swap fee for any
Instant AMM swap quote — exact output amount, price impact and swap fee for any token pair; DeFi exchange-rate and swap pricing API. Deterministic on-chain execution by the AmanChain node — live consensus state, real blocks, pools and balances. Pay per call via x402 (USDC on Base), no account, no API key. POST JSON {"serviceId":"aman-swap-quote","request":"<input>"}.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://amanchain-relay.gitajhd.workers.dev/api/x402/aman-swap-quote
| Category | Code and developer |
|---|---|
| Provider host | amanchain-relay.gitajhd.workers.dev |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 20 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
We never call tools that send, buy, move money or file anything, not even without paying.
Example input (from the provider)
{
"body": {
"request": "100 AMAN->USDT",
"serviceId": "aman-swap-quote"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"properties": {
"input": {
"properties": {
"body": {
"type": "object"
}
},
"type": "object"
},
"output": {
"properties": {
"example": {
"example": {
"amountIn": 100,
"amountOut": 61.8,
"feePct": 0.3,
"priceImpactPct": 0.31
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
}