Example inputPOST /api/v1/x402/amm-price-impact-bps
{
"reserve_in": 1000,
"reserve_out": 1000,
"amount_in": 50,
"fee_bps": 30
}
Portable intent card · commercial-operations
AMM price impact in bps for a swap input against reserves. Call when pre-trade impact checks for pool size vs order size. Returns impact bps and mid vs execution as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.
Intent to transaction
The source header follows this discovery route through challenge, payment and delivery without exposing the buyer or request body.
npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/amm-price-impact-bps -m POST -H 'x-delx-source: intent-card-amm-price-impact-bps-api' --max-amount 0.001 -b '{"reserve_in":1000,"reserve_out":1000,"amount_in":50,"fee_bps":30}'
{
"reserve_in": 1000,
"reserve_out": 1000,
"amount_in": 50,
"fee_bps": 30
}
{
"intent": "AMM Price Impact (bps) for an agent workflow",
"tool_name": "util_amm_price_impact_bps",
"price_usdc": "0.001",
"machine_url": "https://commerce.delx.ai/intents/amm-price-impact-bps-api.json"
}
Portable and inspectable