{"uid":"cap_PFcRixI5oN-TiWbFGsmT1","slug":"market-survey-observations-category-frequencies-keyed-dataset-1d1a9143","name":"Market Survey Observations — Category Frequencies & Keyed Dataset Comparison","description":"Market survey observations — Category frequencies + Keyed dataset comparison: Category frequencies + Keyed dataset comparison for supplied market survey observations records (respondent_count, sample_weight). 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-06-111?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","company_group","date","respondent_count","sample_weight"],"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},"sample_weight":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"respondent_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","company_group":"group-a","sample_weight":1,"respondent_count":10},{"date":"2026-10-02","row_id":"row-2","company_group":"group-b","sample_weight":2,"respondent_count":20},{"date":"2026-10-03","row_id":"row-3","company_group":"group-a","sample_weight":3,"respondent_count":15},{"date":"2026-10-04","row_id":"row-4","company_group":"group-b","sample_weight":4,"respondent_count":30}],"maxItems":200,"minItems":1},"other":{"type":"array","items":{"type":"object","required":["row_id","company_group","date","respondent_count","sample_weight"],"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},"sample_weight":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"respondent_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","company_group":"group-a","sample_weight":1,"respondent_count":10},{"date":"2026-10-02","row_id":"row-2","company_group":"group-b","sample_weight":2,"respondent_count":21},{"date":"2026-10-03","row_id":"row-3","company_group":"group-a","sample_weight":3,"respondent_count":17},{"date":"2026-10-04","row_id":"row-4","company_group":"group-b","sample_weight":4,"respondent_count":33}],"maxItems":200,"minItems":0}}},"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_9yp4QMYhTOyv8tOrT2YH9","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":"Analyzes up to 200 market survey observation records to produce two reports: category frequency distributions and a keyed comparison between two datasets, using local analytical engines.","exampleAgentPrompt":"Can you run category frequency and dataset comparison reports on these two sets of market survey records? The primary dataset has 4 rows — group-a on 2026-10-01 with 10 respondents and weight 1, group-b on 2026-10-02 with 20 respondents and weight 2, group-a on 2026-10-03 with 15 respondents and weight 3, group-b on 2026-10-04 with 30 respondents and weight 4 — and compare them against a second dataset with slightly different respondent counts (21 and 17 instead of 20 and 15).","exampleUseCases":[{"title":"Monthly survey wave comparison","prompt":"I have two monthly waves of our brand tracker survey — here are up to 200 rows from March and April, each with a company_group, date, respondent_count, and sample_weight. Can you calculate the category frequencies for each group and show me a keyed comparison of how the two waves differ?"},{"title":"Weighted response distribution by segment","prompt":"Run a category frequency report on my market survey data — I've got 150 rows split across four company groups with different sample weights per respondent batch. I also want a keyed comparison against last quarter's data to see which segments shifted."},{"title":"A/B survey panel analysis","prompt":"I ran the same survey with two different panels — panel A and panel B — each with about 80 rows tagged by company_group and date. Can you compute the frequency breakdown for each category and compare the two panel datasets row-by-row to flag where respondent counts diverge?"}],"resultDescription":"Returns two analytical reports generated from supplied data using local engines: (1) a category frequencies report showing how often each company_group category appears along with aggregated respondent_count and sample_weight figures, and (2) a keyed dataset comparison report that aligns rows from the primary and secondary datasets by key and highlights differences in respondent_count and sample_weight values. No external data sources or live lookups are used.","failureModes":["Input arrays exceed 200 rows — request will be rejected","Missing required fields (row_id, company_group, date, respondent_count, sample_weight) cause validation errors","Date fields not matching YYYY-MM-DD pattern cause schema validation failure","row_id values exceeding 80 characters are rejected","Null numeric values for respondent_count or sample_weight may affect aggregation outputs","Empty rows array (minItems: 1 not met) causes request failure"],"whenToPreferThis":"Choose this endpoint when you need two simultaneous analytical reports — category frequency distributions and keyed dataset comparison — on market survey observation data with up to 200 rows, without needing real-time lookups, predictions, or external data enrichment. It is ideal for offline batch analysis of survey data where cost efficiency matters ($0.01 USDC for both reports). Prefer it over general-purpose analytics when your data specifically includes respondent_count and sample_weight fields organized by company_group and date.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:39:44.710Z","isFirstParty":false,"canonicalSlug":"market-survey-observations-category-frequencies-keyed-dataset-1d1a9143"}