{
  "format": "delx/intent-card/v1",
  "id": "impact-price-api",
  "intent": "Impact Price for an agent workflow",
  "title": "Impact Price API for agents",
  "description": "Expected impact price from mid and signed slippage fraction. Call when simulating worse fills before sending size. Returns impacted price from mid 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.",
  "keywords": [
    "Impact Price API",
    "Impact Price for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-23",
  "canonical_url": "https://commerce.delx.ai/intents/impact-price-api",
  "machine_url": "https://commerce.delx.ai/intents/impact-price-api.json",
  "recommendation": {
    "tool_name": "util_impact_price",
    "service_name": "Impact Price",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/impact-price",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "mid": {
          "description": "Input field: mid.",
          "type": "integer"
        },
        "slippage_bps": {
          "description": "Input field: slippage bps.",
          "type": "integer"
        },
        "side": {
          "description": "Input field: side.",
          "type": "string"
        }
      },
      "required": [
        "mid",
        "slippage_bps",
        "side"
      ],
      "additionalProperties": true
    },
    "example_input": {
      "mid": 100,
      "slippage_bps": 15,
      "side": "buy"
    },
    "example_output": {
      "schema": "delx/util-impact-price/v1",
      "mid": 100,
      "side": "buy",
      "impact_price": 100.15
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/impact-price -m POST -H 'x-delx-source: intent-card-impact-price-api' --max-amount 0.001 -b '{\"mid\":100,\"slippage_bps\":15,\"side\":\"buy\"}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-impact-price-api"
  },
  "evidence": {
    "paid_openapi": "https://api.delx.ai/openapi.x402.json",
    "governed_portfolio": "https://api.delx.ai/x402-portfolio.json",
    "live_contract": "https://api.delx.ai/api/v1/x402/impact-price"
  }
}
