{"uid":"cap_M13tZGixhX6CUR4drTH0b","slug":"delx-commerce-price-floor-calculator-92a1d44b","name":"Delx Commerce Price Floor 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/price-floor?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"cost":{"type":"number","description":"Input field: cost."},"target_margin_percent":{"type":"number","description":"Input field: target_margin_percent."}}},"responseSchema":{"type":"json","example":{"cost":0.002,"schema":"delx/util-price-floor/v1","formula":"cost / (1 - target_margin)","minimum_price":0.003333,"target_margin_percent":40}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Eu-2ANphMYVGYBFnFLNPH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates the minimum sell price for an API call given a base cost and desired profit margin percentage.","exampleAgentPrompt":"My underlying cost for this API call is $0.002 and I want a 40% profit margin — what's the minimum price I should charge?","exampleUseCases":[{"title":"Pricing an agent API service","prompt":"I'm selling access to my AI endpoint and my cost per call is $0.003. I want to keep a 35% margin — what's the minimum price I should list it at?"},{"title":"Validating price before publishing","prompt":"Before I publish my API on the marketplace, can you check if charging $0.005 per call makes sense? My cost is $0.002 and I'm targeting a 45% margin — what's the price floor?"},{"title":"Adjusting margin for competitive pricing","prompt":"I want to lower my margin target from 50% to 30% on my API that costs me $0.0015 per call — what would the new minimum price be?"}],"resultDescription":"Returns a JSON object with the computed minimum price, the base cost used, the target margin percent, the formula applied (cost / (1 - target_margin)), and the schema identifier for this response type.","failureModes":["Missing required fields (cost or target_margin_percent) results in a 400 error","target_margin_percent of 100 or above causes division by zero or infinite price","Negative cost values may produce nonsensical results","Invalid data types (e.g. string instead of number) return a validation error","Payment not included or insufficient USDC triggers a 402 Payment Required response"],"whenToPreferThis":"Use this endpoint when you need a deterministic, formula-based calculation of the minimum price to charge for a service given a known cost and desired margin. Ideal for API monetization scenarios, agent commerce pipelines, or any automated pricing workflow where reproducibility and exact math matter. Prefer this over manual calculation when operating in agent workflows that require verifiable, auditable pricing decisions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:41.768Z","isFirstParty":false,"canonicalSlug":"delx-commerce-price-floor-calculator-92a1d44b"}