{"uid":"cap_82QnbKw6cP0qafm8nKBOt","slug":"signaldesk-ai-profit-margin-calculator-b835f23c","name":"SignalDesk AI Profit Margin Calculator","description":"Evidence-backed autonomous AI jobs and paid data tools. Queue/D1/cron run outside the chat; free quotas and bounded execution apply.","url":"https://x402-agent.kariguetoazul.workers.dev/api/finance/margin?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"cost":{"type":"number","maximum":1000000000000,"minimum":0,"description":"Amount in one consistent currency; floating-point calculation, not an accounting ledger."},"selling_price":{"type":"number","maximum":1000000000000,"minimum":-1000000000000000,"description":"Positive price.","exclusiveMinimum":0}}},"responseSchema":{"type":"json","example":{"notice":"Calculation from supplied inputs only; no tax, investment or lending advice.","profit":40,"margin_percent":40}},"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_vWFpXjIAXMNsdMgdnd_Re","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 gross profit and margin percentage from cost and selling price inputs","exampleAgentPrompt":"What's my profit margin if my product costs $60 to make and I'm selling it for $100?","exampleUseCases":[{"title":"Retail product pricing check","prompt":"I'm selling a pair of sneakers for $150 and they cost me $90 to source — what's my profit margin?"},{"title":"SaaS subscription margin analysis","prompt":"Our software subscription costs $25 per month to deliver and we charge customers $80 — can you calculate the gross margin percentage?"},{"title":"Restaurant menu item profitability","prompt":"A dish costs $8 in ingredients and we're selling it for $22 on the menu — what's the profit and margin percent?"}],"resultDescription":"Returns a JSON object containing the calculated profit (selling_price minus cost), margin_percent (profit as a percentage of selling price), and a disclaimer notice clarifying that the result is a simple calculation with no tax, investment, or lending advice implied.","failureModes":["Missing required fields (cost or selling_price) results in validation error","selling_price must be strictly positive (exclusiveMinimum: 0); zero or negative values rejected","cost or selling_price exceeding maximum bounds (1e12) will be rejected","Non-numeric inputs cause schema validation failure","Network timeout or Cloudflare Worker cold-start latency may delay response"],"whenToPreferThis":"Use this endpoint when you need a quick, deterministic gross margin calculation from raw cost and price figures, without any tax, accounting, or advisory complexity. Ideal for agents embedded in pricing workflows, product management tools, or financial dashboards that need a simple margin figure on demand. Prefer this over building your own arithmetic when you want a standardized, schema-validated result with a built-in advisory disclaimer.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:41:44.705Z","isFirstParty":false,"canonicalSlug":"signaldesk-ai-profit-margin-calculator-b835f23c"}