{"uid":"cap_MkSiMJlcCVvMF3bKhQwLP","slug":"one-engine-numeric-histogram-t5-eb4fa24e","name":"ONE Engine Numeric Histogram (T5)","description":"Low-cost pay-per-call utility APIs for autonomous agents using x402 on Base.","url":"https://one-search.one-engine.workers.dev/v3/numeric/histogram/t5?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["values"],"properties":{"max":{"type":"number"},"min":{"type":"number"},"size":{"type":"integer"},"digits":{"type":"integer"},"factor":{"type":"number"},"offset":{"type":"number"},"values":{"type":"array","description":"Finite numbers, maximum 1000"}}},"responseSchema":{"type":"object","additionalProperties":true},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0025","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.0025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Hy2MEkznjIHXMuko8xwIQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0025","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes a histogram over a list of numeric values, with optional binning controls like bin count, min/max range, scaling factor, offset, and decimal digit rounding.","exampleAgentPrompt":"Take these 200 temperature readings and build a histogram with 20 bins between 0 and 100, rounded to 2 decimal places: [values array].","exampleUseCases":[{"title":"Sensor data distribution analysis","prompt":"I have 500 accelerometer readings from a device test — can you build a histogram with 15 bins ranging from -10 to 10 so I can see how the values are distributed?"},{"title":"Score distribution for student grades","prompt":"Here are the exam scores for my class of 80 students. Group them into 10 bins from 0 to 100 and tell me the frequency in each bin."},{"title":"Financial return bucketing","prompt":"I have daily return percentages for a stock over the past year — bin them into 25 buckets between -5 and 5 percent, rounded to 3 decimal places, so I can visualize the distribution."}],"resultDescription":"Returns a JSON object containing histogram bins and the count of input values that fall into each bin, reflecting the configured binning parameters (size, min, max, factor, offset, digits).","failureModes":["Missing required 'values' array returns a 400-level error","More than 1000 values in the array may be rejected or truncated","Non-finite numbers (NaN, Infinity) in the values array may cause errors","Invalid type for 'size' (non-integer) returns a schema validation error","Insufficient USDC balance or payment failure returns HTTP 402","Network timeout on the Cloudflare Worker returns 5xx"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, cheap, pay-per-call histogram computation without standing up a statistics library or data pipeline. Ideal for autonomous agents that periodically need to summarize numeric distributions — sensor data, financial returns, scores — with configurable bin ranges and rounding, paying fractions of a cent per call over x402 on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:43:18.345Z","isFirstParty":false,"canonicalSlug":"one-engine-numeric-histogram-t5-eb4fa24e"}