{"uid":"cap_2HRgZNyti2DIDpDj0tQIp","slug":"forgemesh-percentage-calculator-api-6a7cc1d5","name":"ForgeMesh Percentage Calculator API","description":"Percentage API: X% of Y, X is what percent of Y, percent change, percent increase/decrease — all five, exact, one call.","url":"https://x402.forgemesh.io/percent-change","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"a":{"type":"string"},"b":{"type":"string"},"operation":{"type":"string","description":"of | is_what_percent | change | increase | decrease"}}},"responseSchema":{"type":"json","example":{"result":"25 %","operation":"% change 80 → 100"}},"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_sEnvWtN42JcZAZXqCrQsj","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 all five percentage operations (X% of Y, X is what percent of Y, percent change, percent increase, percent decrease) in a single API call.","exampleAgentPrompt":"What is the percent change from 240 to 310? Use the 'change' operation with a=240 and b=310.","exampleUseCases":null,"resultDescription":"Returns the computed percentage result for the requested operation — one of: X% of Y, X is what percent of Y, percent change, percent increase, or percent decrease — returned as an exact numeric value for the given inputs a and b.","failureModes":["Missing required fields a or b returns a validation error","Invalid operation string (not one of: of, is_what_percent, change, increase, decrease) returns an error","Non-numeric string values for a or b may cause a computation error","Division by zero if b=0 on certain operations","Payment failure if USDC balance insufficient for $0.001 fee"],"whenToPreferThis":"Choose this endpoint when you need a quick, exact percentage computation without writing your own math logic — especially useful when you need all five percentage operation types covered by a single consistent API, or when building agents that handle dynamic user percentage queries at runtime.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:50:50.865Z","isFirstParty":false}