{"uid":"cap_iTdC-oAa6w6PRPsMNZLYZ","slug":"business-location-inventories-trailing-mean-series-date-by-category-54bb2014","name":"Business Location Inventories — Trailing Mean Series + Date by Category Pivot","description":"Business location inventories — Trailing mean series + Date by category pivot: Trailing mean series + Date by category pivot for supplied business location inventories records (location_count, verified_locations). 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-05-152?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","company_group","date","location_count","verified_locations"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"company_group":{"type":"string","default":"","maxLength":80},"location_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"verified_locations":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","company_group":"group-a","location_count":10,"verified_locations":1},{"date":"2026-10-02","row_id":"row-2","company_group":"group-b","location_count":20,"verified_locations":2},{"date":"2026-10-03","row_id":"row-3","company_group":"group-a","location_count":15,"verified_locations":3},{"date":"2026-10-04","row_id":"row-4","company_group":"group-b","location_count":30,"verified_locations":4}],"maxItems":200,"minItems":1},"field":{"enum":["location_count","verified_locations"],"type":"string","default":"location_count"},"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_9yWXekZEuCUlsCjYnOqyG","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 series and a date-by-category pivot table for user-supplied business location inventory records (location_count, verified_locations).","exampleAgentPrompt":"Can you run a trailing mean series with a window of 3 and a date-by-category pivot on my location_count data? I have 4 rows: group-a on 2026-10-01 with 10 locations, group-b on 2026-10-02 with 20 locations, group-a on 2026-10-03 with 15 locations, and group-b on 2026-10-04 with 30 locations.","exampleUseCases":[{"title":"Smoothing weekly store rollout counts","prompt":"I have daily location_count entries for two retail groups over the past month — can you compute a trailing mean with a window of 7 so I can see the smoothed expansion trend for each group?"},{"title":"Pivot location data by date and segment","prompt":"Take my verified_locations records for group-a and group-b across Q4 dates and give me a pivot table showing each date as a row and each company group as a column — use a window of 2 for the trailing mean as well."},{"title":"Identifying inventory anomalies by category","prompt":"I want to see both a rolling 5-day average and a date-by-group pivot for our location_count figures across 3 business segments — here are 150 rows of data. Can you run both reports at once on the location_count field?"}],"resultDescription":"Returns two analytical reports derived from the supplied rows: (1) a trailing mean series showing the rolling average of the chosen field (location_count or verified_locations) per group over the specified window, and (2) a date-by-category pivot table cross-tabulating dates against company groups. Both reports are computed locally on the submitted data with no external lookups.","failureModes":["Fewer than 1 row submitted — request rejected","More than 200 rows submitted — exceeds maximum row limit","Invalid date format (not YYYY-MM-DD) — schema validation failure","Window size less than 2 or greater than 200 — rejected by schema","Field value not one of 'location_count' or 'verified_locations' — enum validation error","Null values in numeric fields may produce incomplete rolling averages","Missing required row fields (row_id, company_group, date) — validation error"],"whenToPreferThis":"Choose this endpoint when you have pre-collected business location inventory records (with location_count and/or verified_locations per company group and date) and need both a rolling mean time series and a pivot table in a single API call. Ideal for offline or batch analytical workflows where no external data lookup, prediction, or real-time enrichment is needed — just local statistical computation on your own supplied rows. Best suited for up to 200 rows of multi-group, multi-date location data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:45:04.528Z","isFirstParty":false,"canonicalSlug":"business-location-inventories-trailing-mean-series-date-by-category-54bb2014"}