{
  "format": "delx/intent-card/v1",
  "id": "exec-quality-vs-vwap-api",
  "intent": "Execution Quality vs VWAP for an agent workflow",
  "title": "Execution Quality vs VWAP API for agents",
  "description": "Compare average fill to VWAP benchmark (bps). Call when post-trade quality vs a caller-supplied VWAP. Returns slippage_bps_vs_vwap 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": [
    "Execution Quality vs VWAP API",
    "Execution Quality vs VWAP for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-23",
  "canonical_url": "https://commerce.delx.ai/intents/exec-quality-vs-vwap-api",
  "machine_url": "https://commerce.delx.ai/intents/exec-quality-vs-vwap-api.json",
  "recommendation": {
    "tool_name": "util_exec_quality_vs_vwap",
    "service_name": "Execution Quality vs VWAP",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/exec-quality-vs-vwap",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "avg_fill": {
          "type": "number",
          "description": "Average fill price"
        },
        "vwap": {
          "type": "number",
          "description": "VWAP benchmark price"
        },
        "side": {
          "type": "string",
          "description": "Trade side: buy or sell"
        }
      },
      "required": [
        "avg_fill",
        "vwap"
      ],
      "additionalProperties": true
    },
    "example_input": {
      "avg_fill": 99.5,
      "vwap": 100,
      "side": "sell"
    },
    "example_output": {
      "schema": "delx/util-exec-quality-vs-vwap/v1",
      "slippage_bps": 50,
      "side": "sell"
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/exec-quality-vs-vwap -m POST -H 'x-delx-source: intent-card-exec-quality-vs-vwap-api' --max-amount 0.001 -b '{\"avg_fill\":99.5,\"vwap\":100,\"side\":\"sell\"}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-exec-quality-vs-vwap-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/exec-quality-vs-vwap"
  }
}
