{
  "format": "delx/intent-card/v1",
  "id": "vwap-simple-api",
  "intent": "Simple VWAP for an agent workflow",
  "title": "Simple VWAP API for agents",
  "description": "Volume-weighted average price from price/size samples. Call when benchmarking execution against your own print tape. Returns vwap and total volume 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": [
    "Simple VWAP API",
    "Simple VWAP for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-23",
  "canonical_url": "https://commerce.delx.ai/intents/vwap-simple-api",
  "machine_url": "https://commerce.delx.ai/intents/vwap-simple-api.json",
  "recommendation": {
    "tool_name": "util_vwap_simple",
    "service_name": "Simple VWAP",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/vwap-simple",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "samples": {
          "description": "Input field: samples.",
          "type": "array"
        }
      },
      "required": [
        "samples"
      ],
      "additionalProperties": true
    },
    "example_input": {
      "samples": [
        {
          "price": 10,
          "size": 2
        },
        {
          "price": 12,
          "size": 2
        }
      ]
    },
    "example_output": {
      "schema": "delx/util-vwap-simple/v1",
      "vwap": 11,
      "volume": 4,
      "n": 2
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/vwap-simple -m POST -H 'x-delx-source: intent-card-vwap-simple-api' --max-amount 0.001 -b '{\"samples\":[{\"price\":10,\"size\":2},{\"price\":12,\"size\":2}]}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-vwap-simple-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/vwap-simple"
  }
}
