{"uid":"cap_8uLE6z9luHIErEQkjQGYj","slug":"one-engine-numeric-histogram-9bca52d6","name":"ONE Engine Numeric Histogram","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/t7?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.0065","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.0065/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0065","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0065","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0HVND-6McvbIqqLajLsRe","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0065","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes a frequency histogram over an array of numeric values with configurable bin count, range, scaling, and rounding.","exampleAgentPrompt":"Take these 200 sensor readings and compute a histogram with 20 bins, ranging from 0 to 100, rounded to 2 decimal places: [values list].","exampleUseCases":[{"title":"Sensor data distribution analysis","prompt":"I have 500 temperature readings from my IoT devices — can you bucket them into 15 bins between -10 and 50 degrees and show me the frequency distribution?"},{"title":"Financial returns histogram","prompt":"Here are 1000 daily return values from my portfolio — group them into 25 bins from -0.05 to 0.05 and give me the histogram so I can see how the returns are distributed."},{"title":"Age distribution bucketing","prompt":"I've got a list of 300 customer ages — can you compute a histogram with 10 bins from 18 to 80 so I can see which age groups are most common?"}],"resultDescription":"Returns a histogram object with bin boundaries and frequency counts for each bucket, covering the specified or auto-detected numeric range across the requested number of bins, with optional scaling and offset applied.","failureModes":["Array exceeds 1000 elements — rejected with error","Non-finite values (NaN, Infinity) in input array — may cause computation error","min >= max when both specified — invalid range error","Payment not included or insufficient — 402 Payment Required","Malformed JSON body — 400 Bad Request"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call histogram computation over a numeric array without standing up your own statistics infrastructure. Ideal for autonomous agents that occasionally need to summarize distributions on demand at very low cost ($0.0065/call) without managing API keys or subscriptions. If you need full statistical moments (mean, variance, skew) rather than bin counts, look for a stats endpoint instead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:35.218Z","isFirstParty":false,"canonicalSlug":"one-engine-numeric-histogram-9bca52d6"}