{"uid":"cap_rFCLGHFljYvGOuI1IzKlX","slug":"percentage-and-multiple-change-calculator-3cc884c3","name":"Percentage and Multiple Change Calculator","description":"Percentage and multiple change between two values — Genesis402 / UnyKorn Operator Network","url":"https://twin.unykorn.org/percent-change?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"params":{"type":"object","properties":{"to":{"type":"string"},"from":{"type":"string"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"type":"percent-change","receipt":{"tx_hash":"0x<64hex>","amount_usd":0.001,"receipt_id":"g402-<16hex>"},"generated_at":"<iso8601>"}},"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_IxgV7DAkuSu86eL4I3Z1w","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 the percentage change and multiple (ratio) between two numeric values via a pay-per-call API.","exampleAgentPrompt":"What's the percentage change and growth multiple going from 1200 to 1850?","exampleUseCases":[{"title":"Revenue growth tracking","prompt":"Our revenue was $4.2 million last year and is $6.1 million this year — what's the percentage increase and how many times has it grown?"},{"title":"Portfolio return calculation","prompt":"I bought a stock at $37.50 and it's now at $52.80 — what's my percentage gain and the return multiple?"},{"title":"Price drop comparison","prompt":"A product used to cost $299 and now it's $199 — what's the percentage decrease between those two prices?"}],"resultDescription":"Returns a JSON object with ok status, a 'percent-change' type indicator, the computed percentage change and multiple between the two input values, a timestamp, and a blockchain payment receipt including tx_hash, amount in USD, and a receipt ID for auditing.","failureModes":["Missing 'from' or 'to' parameters returns a validation error","Division by zero if 'from' value is 0 (undefined percentage change)","Payment failure on-chain results in 402 response before computation","Non-numeric string values in from/to fields cause parse errors","Network timeout if blockchain payment confirmation is slow"],"whenToPreferThis":"Choose this endpoint when you need a verifiable, receipted computation of percentage and multiple change between two values — particularly in agentic workflows where an on-chain payment receipt provides an audit trail. Prefer this over local math when your pipeline already uses x402 micropayment infrastructure and traceability of each calculation call matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T18:55:50.410Z","isFirstParty":false,"canonicalSlug":"percentage-and-multiple-change-calculator-3cc884c3"}