{"uid":"cap_BA7zilRl7DDYn2ybJ0RQJ","slug":"one-engine-absolute-value-cfd840dd","name":"ONE Engine Absolute Value","description":"Low-cost pay-per-call utility APIs for autonomous agents using x402 on Base.","url":"https://one-search.one-engine.workers.dev/v1/number/absolute?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"value":{"type":"number","description":"Finite number"}}},"responseSchema":{"type":"json","example":{"value":42.5}},"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_ejFuoLrlouD3_m5rmPMOO","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":"Returns the absolute value of a given finite number, removing its sign.","exampleAgentPrompt":"What is the absolute value of -73.8? Just give me the positive magnitude.","exampleUseCases":[{"title":"Normalize negative financial delta","prompt":"I have a loss figure of -1250.75 — can you give me the absolute value so I can display it as a positive number in my report?"},{"title":"Compute distance from signed offset","prompt":"My sensor reading came back as -0.0042, and I need the absolute magnitude for my calibration check. Can you compute the absolute value?"},{"title":"Fix sign before downstream calculation","prompt":"I have a value of -99.99 that needs to be positive before I feed it into the next step of my pipeline — can you return the absolute value of it?"}],"resultDescription":"A JSON object with a 'value' field containing the non-negative absolute value of the input number (e.g. {\"value\": 42.5}).","failureModes":["Non-finite input (Infinity, NaN) rejected — the schema requires a finite number","Missing or non-numeric 'value' field in request body returns an error","Payment failure via x402 if USDC balance is insufficient"],"whenToPreferThis":"Choose this endpoint when an autonomous agent needs a simple, pay-per-call absolute value computation without provisioning any external math library or service, particularly in agentic pipelines on Base where x402 micropayment billing is already in use.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:43:32.305Z","isFirstParty":false,"canonicalSlug":"one-engine-absolute-value-cfd840dd"}