{"uid":"cap_odFU0Tu-u3vC4WRel1Adi","slug":"delx-commerce-compound-return-calculator-d73b3458","name":"Delx Commerce — Compound 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/compound-return?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"returns":{"type":"array","description":"Input field: returns."}}},"responseSchema":{"type":"json","example":{"n":3,"factor":1.025049,"schema":"delx/util-compound-return/v1","total_return":0.0250490000000001}},"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_ZhHc9FeMNvs4lWgDpUCzd","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 the compound return factor and total return from an array of periodic returns","exampleAgentPrompt":"Can you compute the compound return for these three periodic returns: 0.01, 0.015, and -0.005?","exampleUseCases":[{"title":"Portfolio period return aggregation","prompt":"I had monthly returns of 1.2%, -0.3%, and 2.1% over the last quarter — what's my overall compounded return for that period?"},{"title":"Backtesting strategy performance","prompt":"Here are the daily returns from my backtested strategy over 5 days: 0.005, 0.01, -0.002, 0.008, 0.003 — what is the total compound return and the growth factor?"},{"title":"Multi-asset return combination","prompt":"I have three fund returns: 0.02, 0.015, and -0.01. Can you calculate the compounded total return across all three?"}],"resultDescription":"Returns a JSON object with the number of input periods (n), the compound factor (factor, e.g. 1.025), the schema identifier, and the total return as a decimal (e.g. 0.025 for 2.5% total return).","failureModes":["Empty or missing 'returns' array results in an error or undefined output","Non-numeric values in the returns array cause computation failure","Payment failure via x402 protocol blocks the request before computation","Malformed request body returns a 400-level error"],"whenToPreferThis":"Use this endpoint when you need a lightweight, pay-per-call computation of compounded returns from a series of periodic returns without setting up any account or subscription. Ideal for AI agents performing financial calculations on-the-fly with micro-payments via USDC on Base or Solana.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T03:40:23.986Z","isFirstParty":false,"canonicalSlug":"delx-commerce-compound-return-calculator-d73b3458"}