{"uid":"cap_-TLI8ksN8niBxg7uiBS1p","slug":"one-engine-numeric-histogram-t2-fcf6e90e","name":"ONE Engine Numeric Histogram (t2)","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/t2?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.0007","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.0007/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0007","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0007","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1cuIY-4pDoKqhbgmxQbiv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0007","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, with optional binning controls such as bin count, min/max clamps, scaling factor, and offset.","exampleAgentPrompt":"Can you compute a histogram over these 200 sensor readings I have, using 10 bins between 0 and 100, rounded to 2 decimal places?","exampleUseCases":[{"title":"Sensor data distribution analysis","prompt":"I have a list of 500 temperature readings from my IoT sensors — can you compute a histogram with 20 bins ranging from -10 to 50 so I can see how the readings are distributed?"},{"title":"Financial returns frequency bucketing","prompt":"Here are 800 daily return percentages from my portfolio. Can you bucket them into a histogram with 15 bins between -5 and 5, using 3 decimal digits of precision?"},{"title":"Quality control measurement spread","prompt":"I've got 300 production measurements from our manufacturing line. Give me a histogram with 12 bins from 0 to 120 so I can spot where defects are clustering."}],"resultDescription":"Returns a JSON object containing histogram bin data — typically bin edges, bin counts or frequencies representing how the input values are distributed across the specified range and number of bins.","failureModes":["Input array exceeds 1000 values — request rejected","Non-finite (NaN, Infinity) values in input array cause errors","min >= max causing degenerate bin range","size <= 0 or non-integer bin count rejected","Payment not provided or insufficient — HTTP 402 returned","Empty values array returns empty or trivial histogram"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call numeric histogram computation without standing up your own compute infrastructure. It is well-suited for AI agents that occasionally need to bin numeric data on demand at very low cost ($0.0007 per call), without requiring a full data science stack or persistent service.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:12.917Z","isFirstParty":false,"canonicalSlug":"one-engine-numeric-histogram-t2-fcf6e90e"}