{"uid":"cap_C03LLV0e_DYkqlsoIJ47A","slug":"procurement-research-trailing-mean-series-date-by-category-pivot-1e0add94","name":"Procurement Research: Trailing Mean Series + Date by Category Pivot","description":"Procurement research — Trailing mean series + Date by category pivot: Trailing mean series + Date by category pivot 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-152?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"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_qFNlyNKs9V2t5C-D9bwTr","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 a date-by-category pivot table for up to 200 procurement records (quoted_amount or quoted_units), returning two analytical reports in one call.","exampleAgentPrompt":"Run a trailing mean series and a date-by-category pivot on my procurement records — I have quoted_amount and company_group fields, up to 150 rows, and I want a window size of 5. Can you crunch both reports at once?","exampleUseCases":[{"title":"Supplier quote trend smoothing","prompt":"I have 120 procurement rows with quoted_amount, company_group, and date fields — can you compute a trailing mean series with a window of 7 so I can see smoothed price trends over time, plus pivot the data by date and supplier category?"},{"title":"Procurement spend breakdown by vendor group","prompt":"Take these 80 vendor quote records with quoted_units and run both a trailing mean series (window size 4) and a date-by-category pivot so I can see unit volumes broken down by company group across each date."},{"title":"Monthly quote variance analysis","prompt":"I've got 200 procurement records spanning several months — please compute a rolling mean with window size 10 on quoted_amount and give me a date-by-category pivot so I can spot which company groups are driving spend spikes on specific dates."}],"resultDescription":"Returns two analytical reports: (1) a trailing mean series showing rolling averages of the selected field (quoted_amount or quoted_units) over the specified window, and (2) a date-by-category pivot table breaking down the same field by company_group across all dates, based entirely on the supplied procurement rows without any external data lookup.","failureModes":["Fewer than 1 row or more than 200 rows submitted — request rejected","Window size smaller than 2 or larger than number of rows — may produce incomplete or empty series","Missing required fields (row_id, company_group, date, quoted_amount, quoted_units) — validation error","Date strings not matching YYYY-MM-DD format — schema validation failure","Null values in quoted_amount or quoted_units may affect mean calculations","Payment of 0.01 USDC not processed — request not fulfilled"],"whenToPreferThis":"Choose this endpoint when you need both a rolling/trailing mean time series AND a date-by-category pivot on procurement records in a single low-cost API call. It is ideal for offline analytical work on pre-collected procurement datasets (up to 200 rows) where no live data lookup, external pricing feed, or prediction is required. Prefer it over general-purpose analytics tools when working specifically with procurement quote data (quoted_amount, quoted_units) organized by company_group and date.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:40:01.070Z","isFirstParty":false,"canonicalSlug":"procurement-research-trailing-mean-series-date-by-category-pivot-1e0add94"}