{"uid":"cap_j0Ttv0cdc73qVTU_7l8M_","slug":"business-directory-coverage-trailing-mean-series-date-by-category-pivot-0bd72788","name":"Business Directory Coverage — Trailing Mean Series + Date by Category Pivot","description":"Business directory coverage — Trailing mean series + Date by category pivot: Trailing mean series + Date by category pivot for supplied business directory coverage records (listed_entities, verified_entities). 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-14-152?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","company_group","date","listed_entities","verified_entities"],"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},"listed_entities":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"verified_entities":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","company_group":"group-a","listed_entities":10,"verified_entities":1},{"date":"2026-10-02","row_id":"row-2","company_group":"group-b","listed_entities":20,"verified_entities":2},{"date":"2026-10-03","row_id":"row-3","company_group":"group-a","listed_entities":15,"verified_entities":3},{"date":"2026-10-04","row_id":"row-4","company_group":"group-b","listed_entities":30,"verified_entities":4}],"maxItems":200,"minItems":1},"field":{"enum":["listed_entities","verified_entities"],"type":"string","default":"listed_entities"},"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_B4eCrAcT3L6IFQxYXzsCx","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 time series and a date-by-category pivot table for business directory coverage data (listed_entities, verified_entities) supplied by the caller.","exampleAgentPrompt":"Run a trailing mean series and date-by-category pivot on my business directory coverage data — I have 4 rows with company groups 'group-a' and 'group-b', dates from 2026-10-01 to 2026-10-04, with listed_entities values like 10, 20, 15, 30, and use a window of 2 for the rolling average on listed_entities.","exampleUseCases":[{"title":"Monthly directory coverage trend analysis","prompt":"I have business directory records for two company groups over the past 30 days with listed_entities and verified_entities counts per day. Can you compute a trailing mean with a window of 7 and also pivot the data by date and group so I can see coverage trends for verified_entities?"},{"title":"Comparing listed vs verified across categories","prompt":"I've got 50 rows of business directory data with dates, company groups, and both listed_entities and verified_entities counts. Run a rolling average window of 5 on listed_entities and pivot the results by date and category so I can compare how different groups are performing."},{"title":"Weekly directory audit for two business segments","prompt":"I need to analyze my directory coverage for 'segment-east' and 'segment-west' over the last two weeks — give me a trailing mean series with window size 3 and a date-by-category pivot for the listed_entities field across all 14 rows."}],"resultDescription":"Two independent analytical reports: (1) a trailing moving average time series computed over the specified window for the chosen field (listed_entities or verified_entities), and (2) a date-by-category pivot table grouping the same data by date and company_group. Both reports are derived locally from the caller-supplied rows with no external data lookups.","failureModes":["Fewer than 1 row supplied — request rejected","More than 200 rows supplied — exceeds maximum limit","Invalid date format (not YYYY-MM-DD) — schema validation failure","Window size larger than number of rows — trailing mean may be undefined or partially computed","Missing required fields (row_id, company_group, date) — validation error","Non-numeric or out-of-range values for listed_entities or verified_entities — rejected by schema","Invalid field enum value — must be 'listed_entities' or 'verified_entities'"],"whenToPreferThis":"Choose this endpoint when you have pre-collected business directory coverage records (listed_entities, verified_entities) and need both a rolling/trailing mean time series AND a date-by-category pivot in a single low-cost call. Ideal for offline or batch analytics on up to 200 rows of caller-supplied data where no live data lookup, prediction, or external enrichment is needed. At $0.01 USDC for two reports simultaneously, it is cost-effective for recurring directory coverage audits.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:57:08.988Z","isFirstParty":false,"canonicalSlug":"business-directory-coverage-trailing-mean-series-date-by-category-pivot-0bd72788"}