{"uid":"cap_56YXgPSu1o_L_wi8klCPp","slug":"brand-mention-inventories-trailing-mean-series-two-measure-correlation-130afacf","name":"Brand Mention Inventories — Trailing Mean Series + Two-Measure Correlation","description":"Brand mention inventories — Trailing mean series + Two-measure correlation: Trailing mean series + Two-measure correlation for supplied brand mention inventories records (mention_count, source_count). 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-18-150?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","company_group","date","mention_count","source_count"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"source_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"company_group":{"type":"string","default":"","maxLength":80},"mention_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","source_count":1,"company_group":"group-a","mention_count":10},{"date":"2026-10-02","row_id":"row-2","source_count":2,"company_group":"group-b","mention_count":20},{"date":"2026-10-03","row_id":"row-3","source_count":3,"company_group":"group-a","mention_count":15},{"date":"2026-10-04","row_id":"row-4","source_count":4,"company_group":"group-b","mention_count":30}],"maxItems":200,"minItems":1},"field":{"enum":["mention_count","source_count"],"type":"string","default":"mention_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_02blmk5if-9Op3R1S2Dln","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/rank correlation between mention_count and source_count for supplied brand mention inventory records (up to 200 rows).","exampleAgentPrompt":"I have 50 rows of daily brand mention data with mention_count and source_count for two company groups — can you run a trailing mean series (window of 7) on mention_count and also compute the two-measure correlation between mention_count and source_count for all of them?","exampleUseCases":[{"title":"Brand campaign performance smoothing","prompt":"I've got 90 days of daily mention_count and source_count records for 'group-acme' and 'group-rival' — can you compute a 14-day trailing mean series on mention_count and also give me the correlation between mention_count and source_count across all rows?"},{"title":"PR spike vs source diversity analysis","prompt":"After our product launch I have 60 rows of mention data by date and company group. Run a trailing mean with a window of 5 on mention_count and tell me how correlated mention_count is with source_count — I want to know if mention spikes are driven by source breadth."},{"title":"Quarterly brand health review","prompt":"Here are 200 rows of brand mention inventory records across four company groups for Q3. Please generate a trailing mean series with window 10 on source_count and also run the two-measure correlation report comparing mention_count and source_count."}],"resultDescription":"Returns two analytical reports: (1) a trailing moving-average time series for the selected primary field (mention_count or source_count) computed with the specified window size, and (2) a two-measure correlation analysis between mention_count and source_count. Results are based entirely on the supplied rows — no external data is fetched.","failureModes":["Fewer than 2 rows supplied — minItems validation failure","Window size larger than number of rows — insufficient data for trailing mean","Missing required fields (row_id, date, mention_count, source_count) — schema validation error","Date strings not matching YYYY-MM-DD pattern — rejected by pattern validator","More than 200 rows submitted — maxItems exceeded","Null values in both measure columns — correlation undefined or NaN result"],"whenToPreferThis":"Choose this endpoint when you have brand mention inventory data (with mention_count and source_count fields) and need both a rolling/trailing mean time series AND a correlation analysis between the two measures in a single low-cost call. It is purpose-built for brand monitoring analytics on supplied data with no external lookup, making it ideal for offline or batch statistical reporting on pre-collected brand data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:48:41.039Z","isFirstParty":false,"canonicalSlug":"brand-mention-inventories-trailing-mean-series-two-measure-correlation-130afacf"}