{"uid":"cap_nHY5fON6qxje6jD3crEB9","slug":"delx-commerce-price-tick-normalizer-bfd8ae17","name":"Delx Commerce — Price Tick Normalizer","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/price-tick-normalize?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"ticks":{"type":"array","description":"Positive price samples supplied by the caller (no live feed)."},"decimals":{"type":"number","description":"Decimal places to round each tick to (0–18)."}}},"responseSchema":{"type":"json","example":{"max":1.2346,"min":1.23,"last":1.23,"count":2,"sample":[1.2346,1.23],"schema":"delx/util-price-tick-normalize/v1","decimals":4,"truncated":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_oNNkBlLmTctKtKFmSmCOS","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Normalizes an array of raw price tick samples to a specified decimal precision, returning min, max, last, and count statistics.","exampleAgentPrompt":"I have a list of raw price ticks — [1.23456789, 1.23, 1.23460] — can you normalize them to 4 decimal places and tell me the min, max, last value, and how many samples there are?","exampleUseCases":[{"title":"Pre-analysis price tick cleanup","prompt":"I scraped these price samples from a feed: [102.3456789, 102.34, 102.3401]. Can you normalize them all to 2 decimal places and give me the min, max, and last price?"},{"title":"Trading bot data normalization","prompt":"Before I run my strategy, normalize these raw tick prices [0.98761, 0.98750, 0.98799] to 4 decimal places and return the range and count."},{"title":"Price display rounding for UI","prompt":"I have these raw prices from my aggregator: [1.234567, 1.2300, 1.23499]. Round them to 3 decimal places and tell me the highest, lowest, and last values so I can display them cleanly."}],"resultDescription":"Returns a JSON object containing the max, min, and last price from the normalized set, the count of ticks processed, the normalized sample array, the decimal precision used, a truncated flag indicating if the dataset was shortened, and a schema identifier (delx/util-price-tick-normalize/v1).","failureModes":["Missing or empty ticks array returns an error","Invalid decimals value (outside 0–18 range) causes a validation error","Non-numeric values in the ticks array may cause rejection or unexpected output","Payment failure via x402 protocol results in 402 response before processing"],"whenToPreferThis":"Use this endpoint when you need a fast, pay-per-call utility to normalize and summarize a caller-supplied array of price ticks without setting up a live market data feed. It is ideal for agents that aggregate prices from multiple sources and need consistent rounding and basic statistics (min/max/last/count) on-demand. Prefer it over a custom normalization step when you want verifiable, stateless computation with no signup or subscription.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:50.006Z","isFirstParty":false,"canonicalSlug":"delx-commerce-price-tick-normalizer-bfd8ae17"}