{"uid":"cap_LPECYzs04lkIAhUbwwmXK","slug":"delx-commerce-percent-return-calculator-8e9dd6ed","name":"Delx Commerce — Percent Return 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/return-pct?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"end":{"type":"number","description":"Ending value for percent return."},"start":{"type":"number","description":"Starting value for percent return."}}},"responseSchema":{"type":"json","example":{"end":110,"start":100,"schema":"delx/util-return-pct/v1","return_percent":10}},"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_UA7LwOyX4TQ25QE5PRnQ9","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 percentage return (gain or loss) between a starting and ending value","exampleAgentPrompt":"What's the percentage return if something started at 80 and ended at 110?","exampleUseCases":[{"title":"Stock trade return calculation","prompt":"I bought a stock at $45.50 and sold it at $62.75 — what was my percentage return on that trade?"},{"title":"Portfolio performance measurement","prompt":"My portfolio started the year at $120,000 and is now worth $134,500. What's my percent return so far this year?"},{"title":"Price increase analysis","prompt":"A product used to cost $8.99 and now costs $11.49. What's the percentage price increase?"}],"resultDescription":"Returns a JSON object containing the original start value, end value, and the computed return_percent as a number (e.g. 10 for a 10% gain), along with a schema identifier string.","failureModes":["Missing start or end value results in a validation error","Non-numeric inputs may cause a 400 bad request","Division by zero if start value is 0","Payment failure via x402 if USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when you need a quick, verifiable, pay-per-call percent return calculation without writing your own math logic — ideal for agents that handle financial data, portfolio tracking, or price comparison and need an auditable, on-chain-paid utility function.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:44.805Z","isFirstParty":false,"canonicalSlug":"delx-commerce-percent-return-calculator-8e9dd6ed"}