{"uid":"cap_M1A1gArhT521InF16gF4M","slug":"penny-engine-price-batch-profitability-analyzer-e38818bd","name":"Penny Engine — Price Batch Profitability Analyzer","description":"Machine-to-machine result validation via x402. One structured call, deterministic PASS or FAIL and SHA-256 fingerprint, $0.001 USDC on Base.","url":"https://penny-paid-batch-production.up.railway.app/api/price-batch?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"scenarios":{"type":"array","items":{"type":"object","required":["price","cost"],"properties":{"ads":{"type":"number"},"cost":{"type":"number"},"price":{"type":"number"},"feePct":{"type":"number"},"shipping":{"type":"number"}}},"maxItems":50,"minItems":1},"targetMarginPct":{"type":"number"}}},"responseSchema":{"type":"json","example":{"count":2,"currency":"USD","scenarios":[],"assumptions":"Estimates from supplied data.","highestEstimatedProfit":{"id":"plan-B","estimatedProfitUsd":7.52}}},"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_FO03ZFpKrOhT99NXjqwTz","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":"Evaluates up to 50 pricing scenarios and returns profit estimates, identifying the highest-profit plan given price, cost, fees, ads, and shipping inputs.","exampleAgentPrompt":"I have two pricing scenarios for my product — Plan A: price $25, cost $10, shipping $3, ads $2, fee 10%; Plan B: price $30, cost $12, shipping $4, ads $3, fee 10%. Can you batch-evaluate both and tell me which one gives me the highest estimated profit, targeting a 30% margin?","exampleUseCases":[{"title":"Ecommerce product launch pricing","prompt":"I'm launching a new gadget and have three price points in mind — $19.99, $24.99, and $29.99 — with a unit cost of $8, $2 shipping, $1.50 in ads, and a 12% platform fee. Which price gives me the best profit, and does any of them hit a 40% margin?"},{"title":"Dropshipping margin comparison","prompt":"I'm dropshipping phone cases and want to compare selling at $15 vs $18 vs $20. My supplier cost is $5, shipping is $3.50, ads are $2, and marketplace fees are 15%. Run all three scenarios and tell me which one makes the most money."},{"title":"Fee and ad spend sensitivity check","prompt":"Same product at $35 price and $12 cost, but I want to see what happens to profit if my ad spend is $1, $3, or $5 while shipping stays at $2.50 and fees at 8%. Which ad budget leaves me the most profit?"}],"resultDescription":"Returns a JSON object with the total count of evaluated scenarios, the currency (USD), a list of scenario results with estimated profit per scenario, a plain-language assumptions note, and a highlighted 'highestEstimatedProfit' object identifying the best-performing plan ID and its estimated profit in USD.","failureModes":["Missing required 'price' or 'cost' fields in any scenario returns a validation error","Submitting more than 50 scenarios exceeds maxItems and is rejected","Negative or non-numeric values for cost/price may produce unexpected results or errors","Empty scenarios array (minItems:1 not met) returns a schema validation error","Network or server errors on Railway deployment may return 5xx responses"],"whenToPreferThis":"Choose this endpoint when you need to batch-compare multiple pricing configurations (up to 50) for profitability in a single call, especially in ecommerce or dropshipping contexts where price, cost, shipping, ads, and fee percentage all vary across scenarios. It is purpose-built for ranking plans by estimated profit and identifying the highest-margin option, making it more efficient than calling a single-scenario calculator repeatedly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T18:37:04.472Z","isFirstParty":false,"canonicalSlug":"penny-engine-price-batch-profitability-analyzer-e38818bd"}