{"uid":"cap_SImi4T5-99nZrW9EB62oY","slug":"business-location-inventories-trailing-mean-series-equal-width-a36a6a30","name":"Business Location Inventories — Trailing Mean Series + Equal-Width Histogram","description":"Business location inventories — Trailing mean series + Equal-width histogram: Trailing mean series + Equal-width histogram 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-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","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_njEUHO6C5kcnUAkIcMbwr","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 mean time series and an equal-width histogram over supplied business location inventory records (location_count or verified_locations).","exampleAgentPrompt":"Can you compute a trailing mean series with a window of 3 and a 5-bin equal-width histogram for my location_count field? Here are my records: row-1 for group-a on 2025-01-01 with location_count 10 and verified_locations 2, row-2 for group-b on 2025-01-02 with location_count 20 and verified_locations 5, row-3 for group-a on 2025-01-03 with location_count 15 and verified_locations 3.","exampleUseCases":[{"title":"Smoothing franchise expansion data","prompt":"I have 50 rows of weekly location_count data for my franchise groups. Can you run a trailing mean series with a window of 4 and a 10-bin histogram on the location_count field so I can see the trend and distribution?"},{"title":"Auditing verified location coverage","prompt":"Can you analyze my verified_locations data for the last quarter — 120 rows across multiple company groups — using a trailing mean with window 5 and an equal-width histogram with 8 bins to spot any unusual distribution patterns?"},{"title":"QA check on new store rollout","prompt":"We just added 30 new store location records tagged under group-b. Run a trailing mean series (window 2) and a 5-bin histogram on verified_locations so I can confirm the rollout numbers look reasonable before we publish."}],"resultDescription":"Returns two analytical reports: (1) a trailing mean time series showing smoothed values of the selected field (location_count or verified_locations) across the supplied date-ordered rows using the specified window size, and (2) an equal-width histogram with the requested number of bins showing the frequency distribution of the selected field values across all supplied rows. Up to 200 rows supported per call.","failureModes":["Fewer rows than the window size causes trailing mean to produce nulls or insufficient results for early rows","Invalid date format (not YYYY-MM-DD) causes row rejection or parse errors","Requesting more than 200 rows returns an error","Setting bins below 1 or above 30 fails schema validation","Null values in the target numeric field may be excluded or handled as missing data","Missing required fields (row_id, date, company_group, location_count, verified_locations) cause validation failure"],"whenToPreferThis":"Choose this endpoint when you have up to 200 rows of business location inventory records and need both a trailing mean time series (for trend smoothing) and an equal-width histogram (for distribution analysis) in a single low-cost call ($0.01 USDC). Ideal when you want purely local statistical computation on your supplied data with no external lookups, predictions, or data retention. Prefer this over general-purpose analytics platforms when you need a lightweight, privacy-preserving, pay-per-call statistical summary specifically for location_count or verified_locations metrics.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:45:06.559Z","isFirstParty":false,"canonicalSlug":"business-location-inventories-trailing-mean-series-equal-width-a36a6a30"}