{"uid":"cap_V7JNhzeieU6hWFLOQ1nDA","slug":"delx-commerce-sum-n-api-b9e703d4","name":"Delx Commerce Sum-N API","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/sum-n?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"values":{"type":"array","description":"Input field: values."}}},"responseSchema":{"type":"json","example":{"count":3,"value":7,"schema":"delx/util-sum-n/v1"}},"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_2vzSolTdE6TARgaWtIUM0","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":"Sums an array of numeric values and returns the total count and sum, paid per-call with USDC via x402","exampleAgentPrompt":"Can you add up these numbers for me — 3, 2, and 2 — and tell me the total and how many values there were?","exampleUseCases":[{"title":"Tally financial transaction amounts","prompt":"I have a list of transaction amounts — 12.50, 8.00, and 43.75 — can you sum them up and tell me the total and count?"},{"title":"Aggregate sensor readings","prompt":"I've got these sensor readings from today: 101, 98, 103, 97. Add them all up and tell me how many there are and what the total is."},{"title":"Score aggregation for a quiz","prompt":"Add up these quiz scores for me: 85, 90, 78, 92, and 88 — I need the total and the number of scores."}],"resultDescription":"Returns a JSON object with 'count' (number of values summed), 'value' (the computed sum), and 'schema' (a versioned schema identifier 'delx/util-sum-n/v1') confirming the operation.","failureModes":["Empty or missing 'values' array returns an error","Non-numeric values in the array may cause a computation error","Payment failure via x402 (insufficient USDC balance) prevents execution","Malformed request body returns a 400-level error"],"whenToPreferThis":"Choose this endpoint when you need a verifiable, pay-per-result numeric sum with no signup overhead, especially in agent workflows requiring auditable on-chain micropayment proof via x402 on Base or Solana. Prefer it over local computation when the verifiable delivery guarantee matters or when integrating into a broader Delx Commerce agent pipeline.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T04:40:07.137Z","isFirstParty":false,"canonicalSlug":"delx-commerce-sum-n-api-b9e703d4"}