Absolute value of a number
Absolute value of a number. Call when you need magnitude from signed deltas or balances. Returns absolute numeric value for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.
1000 (raw units)
price
181
calls / 30d
3
unique payers
2026-09-11
updated
Provider
api.delx.ai · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x9f8bd9875b3E0b632a24A3A7C73f7787175e73A2",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x9f8bd9875b3E0b632a24A3A7C73f7787175e73A2",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "28heAMpFkeUJsL7o7apiK4oJwZWq2fUHinRwbgYYsemG",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "1000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"category": "agent-ops-math",
"info": {
"input": {
"body": {
"value": -5.5
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"schema": "delx/util-abs-n/v1",
"value": 5.5
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"properties": {
"body": {
"additionalProperties": true,
"properties": {
"value": {
"description": "Input field: value.",
"type": "number"
}
},
"required": [
"value"
],
"type": "object"
},
"bodyType": {
"const": "json",
"type": "string"
},
"method": {
"const": "POST",
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"additionalProperties": true,
"description": "Bounded first-party JSON result; input is processed in memory and not retained.",
"properties": {
"schema": {
"type": "string"
},
"value": {
"type": "number"
}
},
"type": "object"
}
},
"required": [
"input",
"output"
],
"type": "object"
},
"serviceName": "Delx Abs N",
"summary": "Absolute value of a number. Call when you need magnitude from signed deltas or balances. Returns absolute numeric value for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.",
"tags": [
"x402",
"agents",
"local-first",
"micro-usdc",
"pay-per-call"
]
},
"payment-identifier": {
"info": {
"required": false
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"id": {
"maxLength": 128,
"minLength": 16,
"pattern": "^[a-zA-Z0-9_-]+$",
"type": "string"
},
"required": {
"type": "boolean"
}
},
"required": [
"required"
],
"type": "object"
}
}
}Use it
curl
curl "https://api.delx.ai/api/v1/x402/abs-n" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.delx.ai/api/v1/x402/abs-n");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://api.delx.ai/api/v1/x402/abs-n")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/4049.json, and this resource appears in /discovery/resources and /discovery/search.