{"uid":"cap_pnLd9RaaM-gdKMObTdVyc","slug":"one-engine-numeric-histogram-t1-3d1b7bf4","name":"ONE Engine Numeric Histogram (T1)","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/t1?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.0005","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.0005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gEMYpszkGhe-IutTqCmZ7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes a histogram of a numeric array, with configurable bin count, range, scaling, and digit precision.","exampleAgentPrompt":"Can you compute a histogram of these 200 sales figures for me, using 10 bins between 0 and 5000? [0.0005 USDC per call via x402 on Base]","exampleUseCases":[{"title":"Sales distribution analysis","prompt":"I have a list of 500 transaction amounts ranging from $0 to $10,000 — can you bin them into 20 equal-width buckets so I can see how sales are distributed?"},{"title":"Sensor reading frequency chart","prompt":"Here are 800 temperature readings from my IoT sensors. Can you compute a histogram with 15 bins between -10 and 50 so I can see which temperature ranges occur most often?"},{"title":"Exam score bucketing","prompt":"I've got scores for 300 students, all between 0 and 100. Can you group them into 10 bins so I can see how grades are distributed across the class?"}],"resultDescription":"Returns a JSON object containing histogram bin edges and corresponding counts or frequencies, describing how the input values are distributed across the configured bins, optionally scaled or offset.","failureModes":["Array contains non-finite numbers (Infinity, NaN) — validation error","More than 1000 values submitted — exceeds maximum input size","Invalid bin configuration (e.g. min >= max) — computation error","Empty values array — returns empty or error response","Payment not processed via x402 — 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need a fast, cheap, per-call histogram computation over a numeric array without spinning up your own data pipeline. Ideal for autonomous agents that need to summarize distributions on-the-fly with configurable binning, scaling, and precision. At $0.0005 USDC per call, it is cost-effective for high-frequency analytical workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:02.029Z","isFirstParty":false,"canonicalSlug":"one-engine-numeric-histogram-t1-3d1b7bf4"}