{"uid":"cap_DhMef8hTLqrgNwbPxyVCs","slug":"procurement-research-trailing-mean-series-equal-width-histogram-afa4f4dd","name":"Procurement Research — Trailing Mean Series + Equal-Width Histogram","description":"Procurement research — Trailing mean series + Equal-width histogram: Trailing mean series + Equal-width histogram for supplied procurement research records (quoted_amount, quoted_units). Up to 200 rows; 2 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 2 supplied-data reports for up to 200 rows.","url":"https://market.datapackvibe.com/x402/assistant-ib26-company-11-148?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"bins":{"type":"integer","default":5,"maximum":30,"minimum":1},"rows":{"type":"array","items":{"type":"object","required":["row_id","company_group","date","quoted_amount","quoted_units"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"quoted_units":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"company_group":{"type":"string","default":"","maxLength":80},"quoted_amount":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","quoted_units":1,"company_group":"group-a","quoted_amount":10},{"date":"2026-10-02","row_id":"row-2","quoted_units":2,"company_group":"group-b","quoted_amount":20},{"date":"2026-10-03","row_id":"row-3","quoted_units":3,"company_group":"group-a","quoted_amount":15},{"date":"2026-10-04","row_id":"row-4","quoted_units":4,"company_group":"group-b","quoted_amount":30}],"maxItems":200,"minItems":1},"field":{"enum":["quoted_amount","quoted_units"],"type":"string","default":"quoted_amount"},"window":{"type":"integer","default":2,"maximum":200,"minimum":2}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_S4153bTWqr8APKZApuEse","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes a trailing moving-average time series and an equal-width frequency histogram for procurement quoted_amount or quoted_units data supplied by the caller.","exampleAgentPrompt":"Run a trailing mean series and equal-width histogram on these 50 procurement records using a window of 5 and 10 bins, analyzing the quoted_amount field — here's the row data with row_id, company_group, date, quoted_amount, and quoted_units for each entry.","exampleUseCases":[{"title":"Supplier quote trend smoothing","prompt":"I have 120 procurement quotes from the last quarter with dates, company groups, and quoted amounts. Can you compute a trailing mean series using a window of 7 so I can see the smoothed price trend over time?"},{"title":"Procurement spend distribution analysis","prompt":"Take these 80 supplier records and build an equal-width histogram with 10 bins on the quoted_amount field — I want to see how our procurement spend is distributed across price ranges."},{"title":"Unit quantity variability report","prompt":"I've got 150 procurement rows with quoted_units data across two company groups. Can you run both a trailing mean series with window 4 and a 8-bin histogram on the quoted_units field so I can see trends and distribution in one shot?"}],"resultDescription":"Returns two analytical reports computed from the supplied procurement rows: (1) a trailing mean series showing rolling averages of the selected field (quoted_amount or quoted_units) over the specified window, and (2) an equal-width histogram showing frequency counts across evenly spaced bins. Both reports are derived purely from the caller-supplied data with no external lookups.","failureModes":["rows array exceeds 200 items — rejected with validation error","window size larger than number of supplied rows — may produce empty or truncated trailing mean series","bins value outside 1–30 range — rejected with schema validation error","missing required row fields (row_id, date, quoted_amount, quoted_units) — row rejected or error returned","date strings not matching YYYY-MM-DD format — validation failure","all quoted_amount or quoted_units values are null — histogram and mean series may be empty"],"whenToPreferThis":"Choose this endpoint when you need both a smoothed time-series view (trailing mean) and a distributional view (histogram) of procurement quoted amounts or units in a single call on your own data, without any external data fetch or prediction. Ideal for batch analytical reporting on up to 200 procurement records at minimal cost ($0.01 USDC for both reports).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:39:44.708Z","isFirstParty":false,"canonicalSlug":"procurement-research-trailing-mean-series-equal-width-histogram-afa4f4dd"}