{"uid":"cap_XPkd1Nez4FRXtRnAW8vau","slug":"fastx402-percentage-change-calculator-c3c3d2ad","name":"FastX402 Percentage Change Calculator","description":"200 pay-per-call tools for AI agents, from $0.001 per request in USDC on Base or Solana with x402. No account, no API key.","url":"https://fastx402.tools/percentage-change?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["old_value","new_value"],"properties":{"new_value":{"type":"string","description":"The updated numeric value, using decimal notation"},"old_value":{"type":"string","description":"The original numeric value, using decimal notation"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"new_value":{"type":"integer"},"old_value":{"type":"integer"},"percentage_change":{"type":"integer"},"absolute_difference":{"type":"integer"}}}}}}},"responseSchema":{"type":"json","example":{"new_value":125,"old_value":100,"percentage_change":25,"absolute_difference":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_VFd3TbL-xR3tGViDypcMT","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 absolute difference between two numeric values","exampleAgentPrompt":"What's the percentage change from 80 to 96? Give me both the percentage and the absolute difference.","exampleUseCases":[{"title":"Monthly sales growth tracking","prompt":"Revenue went from 42000 last month to 51660 this month — what's the percentage change and by how much did it grow in absolute terms?"},{"title":"Stock price drop analysis","prompt":"My stock was at 240 last week and is now at 198. What's the percentage decrease and how many points did it fall?"},{"title":"Website traffic comparison","prompt":"My site had 15000 visitors last quarter and 18750 this quarter. Can you calculate the percentage increase in traffic?"}],"resultDescription":"A JSON object containing the original old_value, the new_value, the percentage_change (as a number, e.g. 25 for 25%), and the absolute_difference between the two values.","failureModes":["Missing old_value or new_value query parameters returns an error","Non-numeric string inputs may cause a parse or computation error","Division by zero if old_value is 0 (undefined percentage change)","Payment failure via x402 if insufficient USDC balance"],"whenToPreferThis":"Use this endpoint when you need a quick, reliable computation of percentage change and absolute difference between two numeric values without setting up any account or API key — especially useful in agentic workflows where math utilities are needed on demand and pay-per-call pricing at $0.001 USDC is preferred over bundled subscriptions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T00:45:36.644Z","isFirstParty":false,"canonicalSlug":"fastx402-percentage-change-calculator-c3c3d2ad"}