{"uid":"cap_Man8kPTyiH6DBxY981AuT","slug":"delx-pct-of-d5dd49d4","name":"Delx Pct Of","description":"Compute part/whole as percent. Call when you express progress or share for agent dashboards. Returns percent value for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.","url":"https://api.delx.ai/api/v1/x402/pct-of?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"part":{"type":"integer","description":"Input field: part."},"whole":{"type":"integer","description":"Input field: whole."}}},"responseSchema":{"type":"json","example":{"part":1,"whole":4,"schema":"delx/util-pct-of/v1","percent":25}},"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_CSpk2h72aLOUO8gjMBv9e","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":"Computes a part-to-whole ratio expressed as a percentage, for use in agent dashboards and progress reporting.","exampleAgentPrompt":"What percentage is 47 out of 200? Use the Delx percent calculator to get me that number.","exampleUseCases":[{"title":"Dashboard progress indicator","prompt":"I've completed 63 out of 150 tasks — what percentage done am I? Show it on my agent dashboard."},{"title":"Budget utilization report","prompt":"We've spent 8750 out of a 12000 dollar budget. What percent has been used so far?"},{"title":"Goal attainment metric","prompt":"Our sales team hit 430 deals this quarter out of a target of 500. Can you calculate the attainment percentage for the report?"}],"resultDescription":"Returns a single numeric percentage value representing (part / whole) × 100, indicating what fraction the part is of the whole.","failureModes":["whole equals zero — division by zero error","non-integer values passed for part or whole — schema validation failure","missing required fields (part or whole) — request rejected","negative values for part or whole — may return unexpected results depending on server validation"],"whenToPreferThis":"Use this endpoint when an agent needs a quick, stateless percentage calculation without any external dependencies or data retention. Ideal for populating dashboard metrics, progress bars, or share indicators in real time where the inputs are already known integers and no local computation environment is available.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T18:42:49.119Z","isFirstParty":false,"canonicalSlug":"delx-pct-of-d5dd49d4"}