{"uid":"cap_mX6TRR5tuSwp2xdDSracq","slug":"delx-commerce-impact-price-3c328c4b","name":"Delx Commerce Impact Price","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/impact-price?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"mid":{"type":"integer","description":"Input field: mid."},"side":{"type":"string","description":"Input field: side."},"slippage_bps":{"type":"integer","description":"Input field: slippage bps."}}},"responseSchema":{"type":"json","example":{"mid":100,"side":"buy","schema":"delx/util-impact-price/v1","impact_price":100.15}},"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_vaAAGEu9I3pcoPKDTloBM","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":"Calculates the market impact price for a trade given a mid price, side (buy/sell), and slippage tolerance in basis points","exampleAgentPrompt":"What's the impact-adjusted execution price for a buy order at a mid of 100 with 15 basis points of slippage tolerance?","exampleUseCases":[{"title":"Pre-trade cost estimation for algo bot","prompt":"Before I place this buy order, calculate the impact price at mid 100 with 20 bps of slippage so I know my worst-case execution cost."},{"title":"Sell-side slippage check for DeFi agent","prompt":"I'm about to sell — mid price is 250, slippage tolerance is 5 bps. What impact price should I expect on the sell side?"},{"title":"Comparing buy vs sell impact prices","prompt":"Can you compute the impact price for both a buy and a sell at mid 500 with 10 basis points slippage so I can compare the spread?"}],"resultDescription":"Returns a JSON object containing the input mid price, the trade side, the schema identifier, and the calculated impact price reflecting market impact and slippage adjustment (e.g. {\"mid\":100,\"side\":\"buy\",\"schema\":\"delx/util-impact-price/v1\",\"impact_price\":100.15}).","failureModes":["Missing required fields (mid, side, or slippage_bps) returns a 400 error","Invalid side value (not 'buy' or 'sell') causes a validation error","Payment failure or insufficient USDC balance results in 402 Payment Required","Malformed integer for mid or slippage_bps causes a schema validation error","Network or API downtime returns 5xx errors"],"whenToPreferThis":"Choose this endpoint when you need a fast, pay-per-use computation of market impact price for a single order without setting up an account or managing subscriptions. It is ideal for AI trading agents that need on-demand, verifiable execution price estimates with USDC micropayments via the x402 protocol on Base or Solana.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:46.046Z","isFirstParty":false,"canonicalSlug":"delx-commerce-impact-price-3c328c4b"}