{
  "schema_version": "agent-card/1",
  "name": "Slippage",
  "description": "Paid swap simulation for a Uniswap V2 pool on Base: reads getReserves() and token decimals on chain, then returns amount out, execution ratio and slippage percent measured against the pool's own spot rate, with a verdict of acceptable or expensive_route.",
  "url": "https://slippage.x402api.workers.dev",
  "version": "1.0.0",
  "kind": "x402-paid-api",
  "protocol": "x402",
  "protocol_version": 2,
  "network": "eip155:8453",
  "asset": {
    "symbol": "USDC",
    "contract": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
  },
  "price_usdc": 0.005,
  "payTo": "0xc9d0ab76b5e9cbe3da320347ccdaa111e515e6d0",
  "capabilities": [
    "dex-price-impact"
  ],
  "routes": [
    {
      "path": "/slip",
      "method": "GET",
      "description": "Use this when sizing a swap: returns amount out, execution ratio and slippage percent against the pool's spot rate for a given input, plus the pool reserves and token decimals, with a verdict of acceptable or expensive_route. Requires ?pool=0x... and ?amount=<integer token0 base units>.",
      "price_usdc": 0.005,
      "paid": true,
      "payment": {
        "protocol": "x402",
        "version": 2,
        "scheme": "exact",
        "network": "eip155:8453",
        "amount": "5000",
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "payTo": "0xc9d0ab76b5e9cbe3da320347ccdaa111e515e6d0",
        "header": "X-PAYMENT",
        "maxTimeoutSeconds": 60,
        "extra": {
          "name": "USD Coin",
          "version": "2"
        }
      }
    }
  ],
  "free_routes": [
    {
      "path": "/health",
      "method": "GET",
      "description": "Liveness and catalogued state: payTo, price, network.",
      "paid": false
    },
    {
      "path": "/free",
      "method": "GET",
      "description": "The same simulation, unpaid, as a preview.",
      "paid": false
    }
  ],
  "discovery": {
    "manifest": "https://slippage.x402api.workers.dev/.well-known/x402",
    "openapi": "https://slippage.x402api.workers.dev/openapi.json",
    "llms": "https://slippage.x402api.workers.dev/llms.txt",
    "agents": "https://slippage.x402api.workers.dev/agents.json"
  }
}