{"uid":"cap_wa7THOR4drpY6QP0YXvz1","slug":"numora-statistics-histogram-df98b8f6","name":"Numora Statistics Histogram","description":"100 pure math computation endpoints for AI agents. Statistics, financial math, linear algebra, equation solving, calculus, number theory, sequence generation, and unit conversions. Zero external dependencies. x402 micropayments on Base.","url":"https://numomo.vercel.app/api/statistics/histogram","method":"POST","headers":{},"bodySchema":{"type":"object","required":["data"],"properties":{"bins":{"type":"integer"},"data":{"type":"array"}}},"responseSchema":{"type":"object","required":["success","result","computation"],"properties":{"result":{"type":"object","description":"Computation result varies by endpoint"},"success":{"type":"boolean","description":"Always true on success"},"computation":{"type":"string","description":"Human-readable description of what was computed"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_rE9OBVuXiuaPr-AQLB7Hq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes a histogram (bin counts and ranges) for a given dataset of numeric values","exampleAgentPrompt":"Can you compute a histogram for this dataset — [12, 15, 14, 10, 18, 22, 25, 13, 17, 19, 21, 11, 16, 20, 23] — using 5 bins?","exampleUseCases":[{"title":"Analyze exam score distribution","prompt":"I have these exam scores from my class: [45, 52, 61, 70, 73, 75, 78, 80, 82, 85, 87, 90, 92, 95, 99]. Can you build a histogram with 5 bins so I can see how grades are spread out?"},{"title":"Understand sales data spread","prompt":"Here are daily sales figures for the past month: [200, 250, 310, 180, 420, 390, 275, 230, 315, 480, 200, 355, 290, 410, 325, 210, 370, 440, 265, 300, 345, 215, 385, 430, 260, 190, 320, 475, 240, 280]. Group them into 8 bins so I can see which revenue ranges are most common."},{"title":"Profile sensor reading frequencies","prompt":"I've got 20 temperature sensor readings: [36.1, 36.5, 37.0, 36.8, 38.2, 37.5, 36.3, 37.9, 38.5, 36.7, 37.2, 38.0, 36.9, 37.6, 38.3, 36.4, 37.1, 37.8, 38.1, 36.6]. Compute a histogram with 4 bins to see how the readings are distributed."}],"resultDescription":"Returns a success flag, a human-readable computation description, and a result object containing bin definitions (edges/ranges) and the count of data points that fall into each bin, enabling frequency distribution analysis.","failureModes":["Empty or missing data array returns an error","Non-numeric values in the data array cause computation failure","Bin count less than 1 or greater than data length may return an error or degenerate result","Very large datasets may time out","Mismatched data types (e.g. strings in array) cause validation failure"],"whenToPreferThis":"Choose this endpoint when you need a server-side, dependency-free histogram computation over a raw numeric array without standing up any local math library. Ideal for AI agents that need to summarize data distributions on the fly, especially in environments where running local statistical libraries is impractical. Prefer this over general-purpose computation APIs when you want a pure math result with no external data dependencies and micropayment-based access.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:49:19.145Z","isFirstParty":false}