{"uid":"cap_s0LfFtjeLJUJxPT1KlaIq","slug":"delx-commerce-absolute-spread-calculator-abaccacb","name":"Delx Commerce — Absolute Spread 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/spread-abs?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"ask":{"type":"number","description":"Input field: ask."},"bid":{"type":"number","description":"Input field: bid."}}},"responseSchema":{"type":"json","example":{"ask":100.5,"bid":99.5,"schema":"delx/util-spread-abs/v1","spread":1}},"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_q6OT_YC2X6BmYLMxNM_o-","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 the absolute spread (ask minus bid) given an ask price and a bid price for a financial instrument","exampleAgentPrompt":"Calculate the absolute spread for me — the ask is 100.5 and the bid is 99.5.","exampleUseCases":[{"title":"Real-time spread monitoring for trading bot","prompt":"My trading bot needs to know the current spread — the ask is 102.75 and the bid is 101.50. What's the absolute spread?"},{"title":"Market liquidity check before order placement","prompt":"Before I place this order, can you compute the absolute spread? The ask price is 55.20 and the bid is 54.85."},{"title":"Spread comparison across multiple price quotes","prompt":"I have a quote where ask is 200.00 and bid is 198.75 — what's the absolute spread so I can compare it to my other quotes?"}],"resultDescription":"A JSON object containing the original ask price, the original bid price, the computed absolute spread (ask minus bid), and a schema version identifier (delx/util-spread-abs/v1).","failureModes":["Missing ask or bid field returns a validation error","Non-numeric values for ask or bid cause a 400 bad request","Ask price lower than bid price may return a negative spread or error","Payment failure via x402 protocol results in a 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need a simple, verifiable, pay-per-use absolute spread computation without any signup overhead. Ideal for AI agents operating in financial workflows that require auditable, micropayment-based access to financial utility functions on Base or Solana via USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:54:02.003Z","isFirstParty":false,"canonicalSlug":"delx-commerce-absolute-spread-calculator-abaccacb"}