DELXCOMMERCE Payable now

Portable intent card · commercial-operations

AMM Price Impact (bps) API for agents

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.

AMM Price Impact (bps) APIAMM Price Impact (bps) for agentspay per result APIx402 APIno API key

Intent to transaction

One command, attributed.

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}'
Example inputPOST /api/v1/x402/amm-price-impact-bps
{
  "reserve_in": 1000,
  "reserve_out": 1000,
  "amount_in": 50,
  "fee_bps": 30
}
Agent discoverydelx/intent-card/v1
{
  "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

Share the intent, not a directory search.