{"uid":"cap_29r38F3ehfq_C4lHakHR4","slug":"delx-percent-change-1aeecfcf","name":"Delx Percent Change","description":"Compute absolute and percent change for $0.001 USDC. Call when you need this bounded result without an API key or subscription. Returns machine-readable JSON via x402 on Base or Solana. Limitation: results cover only the supplied input or one bounded public endpoint at request time; callers must verify before acting.","url":"https://api.delx.ai/api/v1/x402/percent-change","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","bodyType","body"],"properties":{"body":{"type":"object","additionalProperties":true},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{}},"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_DdI99K6L6fqijXRBf2aKt","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 absolute and percent change between two numeric values for $0.001 USDC per call.","exampleAgentPrompt":"Calculate the absolute and percent change between 142.50 and 167.30 for me — what's the difference and how much did it move in percentage terms?","exampleUseCases":[{"title":"Crypto price movement tracking","prompt":"Bitcoin was $58,000 yesterday and is $62,400 today — what's the absolute dollar change and percent increase?"},{"title":"Portfolio performance calculation","prompt":"My stock position was worth $12,500 last month and is now worth $10,875 — calculate the absolute loss and percentage drop for me."},{"title":"Sales metric comparison","prompt":"Last quarter's revenue was $240,000 and this quarter it's $287,500 — what's the absolute change and what percentage did we grow?"}],"resultDescription":"Returns the absolute change (current minus reference value) and the percent change expressed as a decimal or percentage, indicating whether the movement was positive (increase) or negative (decrease).","failureModes":["Missing or non-numeric input values returns a validation error","Division by zero if the reference/previous value is zero","Malformed request body returns a 400 error","Payment failure or insufficient USDC balance prevents execution"],"whenToPreferThis":"Choose this endpoint when you need a reliable, pay-per-use microservice to compute percent and absolute change without building the math locally — particularly useful in agent pipelines where consistent, server-side arithmetic is preferred, or when chaining with other Delx data endpoints like crypto price feeds.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T13:07:14.039Z","isFirstParty":false}