{"uid":"cap_4GGQdDl-Nn55hE1wIAzLD","slug":"retail-gross-profit-and-margin-calculator-8befd53f","name":"Retail Gross Profit and Margin Calculator","description":"Retail Gross profit and margin calculator: Calculate gross profit and gross margin from supplied values. Tailored for retail workflows.","url":"https://market.datapackvibe.com/x402/gross-margin-retail?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"cost":{"type":"number","default":620},"revenue":{"type":"number","default":1000}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_XWU1TdVG6KK4OqLnXfheN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","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 gross margin percentage from cost and revenue inputs, tailored for retail workflows.","exampleAgentPrompt":"What's my gross profit and margin if my product costs $620 and I'm selling it for $1,000?","exampleUseCases":[{"title":"Retail product pricing check","prompt":"I'm selling a jacket for $85 and it costs me $52 to source — can you calculate my gross profit and gross margin percentage?"},{"title":"Wholesale to retail markup analysis","prompt":"My wholesale cost is $340 and I'm retailing at $620 — what's my gross profit and what margin am I running at?"},{"title":"Pricing strategy evaluation","prompt":"If I drop my price from $1,000 to $850 on an item that costs me $620, how does my gross profit and margin change?"}],"resultDescription":"Returns calculated gross profit (revenue minus cost) and gross margin percentage (gross profit divided by revenue, expressed as a percentage), enabling quick profitability assessment for retail scenarios.","failureModes":["Missing required cost or revenue fields returns a validation error","Revenue of zero causes division-by-zero for margin calculation","Negative values may produce unexpected results if not validated by the API","Non-numeric inputs will likely return a 400 bad request"],"whenToPreferThis":"Choose this endpoint when you need a fast, inexpensive, retail-focused gross profit and margin calculation without building your own formula logic. Ideal for pricing bots, e-commerce agents, or retail analytics workflows that need to evaluate product profitability at scale for $0.01 per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T06:48:17.961Z","isFirstParty":false,"canonicalSlug":"retail-gross-profit-and-margin-calculator-8befd53f"}