{"uid":"cap_bDKsV5HLHAb0q-fJnpXdY","slug":"delx-commerce-execution-quality-vs-vwap-calculator-3462ccb3","name":"Delx Commerce — Execution Quality vs VWAP Calculator","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/exec-quality-vs-vwap?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"side":{"type":"string","description":"Trade side: buy or sell"},"vwap":{"type":"number","description":"VWAP benchmark price"},"avg_fill":{"type":"number","description":"Average fill price"}}},"responseSchema":{"type":"json","example":{"side":"sell","schema":"delx/util-exec-quality-vs-vwap/v1","slippage_bps":50}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_q57ZzD2JDt4O-64ckR-7-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes trade execution slippage in basis points relative to a VWAP benchmark for a given trade side and average fill price","exampleAgentPrompt":"I sold at an average fill of 102.50 and the VWAP was 102.00 — can you calculate my execution slippage in basis points?","exampleUseCases":[{"title":"Post-trade execution audit for sell order","prompt":"My sell order had an average fill of 101.75 and the VWAP for that period was 102.00 — how many basis points of slippage did I get?"},{"title":"Buy-side algo performance review","prompt":"We ran a buy algo that filled at an average of 45.30, but the VWAP was 45.10. Can you tell me the execution quality slippage in bps?"},{"title":"Real-time fill quality check during trading","prompt":"I just got a partial fill on a sell at 200.80 with a VWAP of 200.50 — what's my slippage versus VWAP in basis points?"}],"resultDescription":"Returns a JSON object containing the trade side, the schema identifier (delx/util-exec-quality-vs-vwap/v1), and the computed slippage in basis points (slippage_bps) relative to the VWAP benchmark.","failureModes":["Missing required field (side, vwap, or avg_fill) returns a validation error","Invalid trade side value (not 'buy' or 'sell') causes rejection","Non-numeric vwap or avg_fill values return a parsing error","Payment failure via x402 protocol blocks execution","Zero or negative price values may produce undefined or erroneous slippage results"],"whenToPreferThis":"Choose this endpoint when you need a fast, pay-per-call, no-signup computation of execution slippage in basis points against a VWAP benchmark for a single trade leg. It is ideal for algorithmic trading agents that need verifiable, auditable fill quality metrics at low cost ($0.001 USDC per call) without managing a subscription. Prefer alternatives if you need multi-leg slippage, portfolio-level analytics, or integration with a full TCA (transaction cost analysis) platform.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:42.249Z","isFirstParty":false,"canonicalSlug":"delx-commerce-execution-quality-vs-vwap-calculator-3462ccb3"}