{"uid":"cap_uTZuHWSITNjOYtcvcjsYp","slug":"brand-mention-inventories-trailing-mean-series-secondary-measure-071d264a","name":"Brand Mention Inventories — Trailing Mean Series + Secondary-Measure Weighted Mean","description":"Brand mention inventories — Trailing mean series + Secondary-measure weighted mean: Trailing mean series + Secondary-measure weighted mean 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-151?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_uTZJyaXnl0Aua4kQbFLjp","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 a source_count-weighted mean for supplied brand mention inventory records (mention_count, source_count) across up to 200 rows.","exampleAgentPrompt":"I have brand mention inventory records for two company groups over the past week — can you run a trailing mean series with a window of 3 plus a source_count-weighted mean on the mention_count field? Here are up to 200 rows with row_id, company_group, date, mention_count, and source_count.","exampleUseCases":[{"title":"Smoothing weekly brand mention spikes","prompt":"I have daily brand mention data for three company groups over the last month — can you calculate a trailing mean series with a window of 7 on mention_count, plus a source_count-weighted mean? I'll give you the rows with row_id, company_group, date, mention_count, and source_count."},{"title":"Comparing brand visibility across competitors","prompt":"I want to compare brand mention trends across our top competitor groups. Can you run a trailing mean with window size 5 and a source-count-weighted mean on the mention_count field for these 150 rows of brand mention inventory data?"},{"title":"Monitoring campaign impact on brand mentions","prompt":"We just ran a marketing campaign and I want to see how brand mentions have changed — can you produce a trailing mean time series (window of 4) and a weighted mean using source_count as the weight, on the mention_count field across these campaign period records?"}],"resultDescription":"Returns two analytical reports for the supplied brand mention inventory rows: (1) a trailing mean time series over the specified window for the chosen field (mention_count or source_count), and (2) a secondary-measure (source_count) weighted mean of the primary field — both computed locally with no external lookups.","failureModes":["Fewer than 1 or more than 200 rows supplied — request rejected","Window size exceeds number of rows — trailing mean may return insufficient data points","Invalid date format (not YYYY-MM-DD) — schema validation error","Missing required fields (row_id, company_group, date, mention_count, source_count) — validation failure","Null values in mention_count or source_count may affect weighted mean accuracy"],"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 source-count-weighted mean in a single low-cost call. Ideal for offline or batch brand analytics pipelines where no live lookup or prediction is needed and cost efficiency matters ($0.01 for 2 reports on up to 200 rows).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:57:18.652Z","isFirstParty":false,"canonicalSlug":"brand-mention-inventories-trailing-mean-series-secondary-measure-071d264a"}