{"uid":"cap__bdGyOHOVghlEworvns2X","slug":"one-engine-numeric-histogram-top-10-8753777a","name":"ONE Engine Numeric Histogram (Top-10)","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/t10?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.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_wFAUUgy1TpTd3f_VFYxPu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","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 an array of up to 1000 numeric values, returning the top-10 most frequent bins with optional min/max range, bin count, rounding, scaling, and offset controls.","exampleAgentPrompt":"Compute a top-10 histogram for this list of 500 sensor readings: [12.3, 45.1, 33.7, ...], using 20 bins between 0 and 100, rounded to 2 decimal places.","exampleUseCases":[{"title":"Sensor data distribution summary","prompt":"I have 800 temperature sensor readings ranging roughly from -10 to 50 degrees. Can you bucket them into 25 bins and show me which 10 ranges appear most frequently, rounded to 1 decimal place?"},{"title":"E-commerce price range analysis","prompt":"Here are the prices of 600 products in my catalog. Split them into 15 bins between $0 and $500 and give me the top 10 most populated price ranges so I can see where my inventory is concentrated."},{"title":"Response time profiling","prompt":"I've got a list of 1000 API response times in milliseconds. Compute a histogram with 30 bins from 0 to 3000ms and tell me the top 10 most common latency buckets, scaled by a factor of 0.001 to convert to seconds."}],"resultDescription":"Returns a JSON object containing the top-10 histogram bins derived from the input numeric array, each bin representing a value range and its frequency count, shaped by any supplied min/max bounds, bin count, rounding digits, scale factor, and offset.","failureModes":["Array contains more than 1000 values — request rejected or truncated","Non-finite values (NaN, Infinity) in the array cause computation errors","min >= max produces degenerate or empty bins","size <= 0 or negative bin count returns an error","Payment not submitted or insufficient USDC balance returns HTTP 402"],"whenToPreferThis":"Use this endpoint when you need a fast, pay-per-call numeric histogram focused on the top-10 most populated bins from a raw numeric array, especially in agent workflows on Base where x402 micropayments are already in use. Prefer it over full statistical libraries when you only need a ranked bin distribution without a full stats package or persistent storage.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:30.599Z","isFirstParty":false,"canonicalSlug":"one-engine-numeric-histogram-top-10-8753777a"}