{"uid":"cap_C1DGrt6tHEslbmXXr6h_I","slug":"source-diversity-daily-sum-series-secondary-measure-weighted-mean-995f0b98","name":"Source Diversity Daily Sum Series & Secondary-Measure Weighted Mean","description":"Source diversity — Daily sum series + Secondary-measure weighted mean: Daily sum series + Secondary-measure weighted mean for supplied source diversity records (source_count, outlet_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-news-17-142?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","channel_group","date","source_count","outlet_count"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"outlet_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"source_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"channel_group":{"type":"string","default":"","maxLength":80}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","outlet_count":1,"source_count":10,"channel_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","outlet_count":2,"source_count":20,"channel_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","outlet_count":3,"source_count":15,"channel_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","outlet_count":4,"source_count":30,"channel_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["source_count","outlet_count"],"type":"string","default":"source_count"}}},"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_TW8vRUM0APm9qOvmDKh-R","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 daily sum time series and a secondary-measure weighted mean for supplied source diversity records (source_count, outlet_count) across channel groups.","exampleAgentPrompt":"I have a batch of source diversity records for my news channels — can you compute the daily sum series and the outlet_count weighted mean for these rows: row-1 on 2026-10-01 with source_count=10, outlet_count=1 in group-a; row-2 on 2026-10-02 with source_count=20, outlet_count=2 in group-b; using outlet_count as the primary field?","exampleUseCases":[{"title":"Daily source count rollup for newsroom","prompt":"I have about 150 rows of daily news source diversity data across my channel groups — can you compute the daily sum series and weighted mean using source_count as the primary field? Here are the rows with dates ranging from 2026-09-01 to 2026-09-30, each tagged with a row_id, channel_group, source_count, and outlet_count."},{"title":"Outlet diversity trend analysis","prompt":"Can you run a daily sum series and outlet_count weighted mean on these 80 records from my media monitoring dataset? Each row has a date, channel group, source count, and outlet count — I want to see how outlet diversity trends over the period using outlet_count as the field."},{"title":"Channel group source spread comparison","prompt":"I need to aggregate my source diversity records for two channel groups — 'print' and 'digital' — across 60 rows spanning October 2026. Please compute the daily sum series and the secondary weighted mean with source_count as the primary field so I can compare spread across groups."}],"resultDescription":"Returns two independent analytical reports for the supplied rows (up to 200): (1) a daily sum series showing the aggregated primary-field totals by date, and (2) a secondary-measure weighted mean computed across the supplied records, using the chosen field (source_count or outlet_count) as the primary measure.","failureModes":["Empty or missing rows array returns an error","More than 200 rows submitted exceeds the limit and will be rejected","Invalid date format (not YYYY-MM-DD) causes validation failure","Unrecognized field value outside the enum [source_count, outlet_count] causes rejection","row_id missing or blank triggers schema validation error","Numeric values outside the allowed range (±1,000,000,000,000) will be rejected"],"whenToPreferThis":"Choose this endpoint when you have already-collected source diversity records (source_count, outlet_count) and need two specific analytical outputs — a daily sum time series and a weighted mean — computed locally without any external lookup or live data fetch. It is ideal for offline or batch analytical pipelines processing up to 200 rows of news diversity data where the cost of $0.01 USDC per dual-report call is acceptable and you want both aggregations in a single API call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T12:50:47.967Z","isFirstParty":false,"canonicalSlug":"source-diversity-daily-sum-series-secondary-measure-weighted-mean-995f0b98"}