{"uid":"cap_N7jGv8Tk3ItFxtT3FDJHG","slug":"business-location-inventories-trailing-mean-series-two-measure-428fdf87","name":"Business Location Inventories — Trailing Mean Series + Two-Measure Correlation","description":"Business location inventories — Trailing mean series + Two-measure correlation: Trailing mean series + Two-measure correlation 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-150?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_RDiqrKdbaggN582tDa8PV","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 two-measure Pearson/statistical correlation for supplied business location inventory data (location_count, verified_locations) across up to 200 rows.","exampleAgentPrompt":"I have a time series of business location inventory records with location_count and verified_locations fields — can you compute a trailing mean series with a window of 7 for location_count, and also run a two-measure correlation between location_count and verified_locations, for up to 200 rows?","exampleUseCases":[{"title":"Retail chain expansion trend analysis","prompt":"I have daily location count and verified locations data for two company groups over the past quarter — run a trailing mean with a window of 5 on location_count and give me the correlation between location_count and verified_locations so I can see how expansion aligns with verification."},{"title":"Franchise verification lag detection","prompt":"Can you compute a rolling 10-day average of verified_locations and calculate how strongly it correlates with location_count across these 150 rows of franchise data grouped by region? I want to understand if there's a verification lag."},{"title":"Monthly inventory smoothing for reporting","prompt":"Take these 80 rows of monthly location inventory records for my company groups and produce a trailing mean series with window 3 for location_count, plus a correlation report between location_count and verified_locations — I need this for our board summary."}],"resultDescription":"Returns two reports: (1) a trailing mean series for the specified field (e.g. location_count) computed with the given window size across the supplied rows, and (2) a two-measure correlation report between location_count and verified_locations. Both reports are derived purely from the supplied data using local analytical engines — no external lookups or predictions are made.","failureModes":["Fewer rows than window size — trailing mean cannot be computed for initial rows (may return nulls or partial results)","Null values in location_count or verified_locations may reduce correlation sample size or cause NaN results","More than 200 rows supplied — request rejected or truncated","Invalid date format (not YYYY-MM-DD) — row rejected or schema validation error","Missing required fields (row_id, date) — row-level validation failure","Payment not processed — 402 response, endpoint not executed"],"whenToPreferThis":"Choose this endpoint when you have pre-collected business location inventory data (location_count, verified_locations) and need both a rolling/trailing mean time series and a statistical correlation between the two measures in a single low-cost call ($0.01 USDC for both reports). Ideal for batch analytical processing of up to 200 rows without needing external data enrichment, predictions, or live lookups.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:46:07.253Z","isFirstParty":false,"canonicalSlug":"business-location-inventories-trailing-mean-series-two-measure-428fdf87"}