{"uid":"cap_KWdCPwPRof0aNzETbMZgc","slug":"market-survey-observations-category-frequencies-numeric-row-ordering-a0aa3fcd","name":"Market Survey Observations — Category Frequencies + Numeric Row Ordering","description":"Market survey observations — Category frequencies + Numeric row ordering: Category frequencies + Numeric row ordering 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-100?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},"field":{"enum":["respondent_count","sample_weight"],"type":"string","default":"respondent_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_IwM3h2-ekcDckxqaILkYE","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 category frequency distributions and numeric row ordering for market survey observation records (respondent_count, sample_weight) across up to 200 rows.","exampleAgentPrompt":"I have market survey data with 4 rows — respondent_count and sample_weight for groups A and B across dates in October 2026 — can you give me the category frequencies for company_group and rank the rows by respondent_count?","exampleUseCases":[{"title":"Survey panel group frequency analysis","prompt":"I've got a market survey dataset with 150 rows tagged by company_group — can you tell me how frequently each group appears and rank the rows by respondent_count so I know which records have the most respondents?"},{"title":"Sample weight ordering for survey weighting review","prompt":"Here are my survey observation records for Q4, each with a sample_weight and company_group. Can you compute the category frequencies for company_group and sort all rows numerically by sample_weight?"},{"title":"Multi-group survey distribution check","prompt":"I need to audit my market survey data — I have records from group-a, group-b, and group-c across 80 rows. Please give me the category frequency breakdown and rank everything by respondent_count."}],"resultDescription":"Returns two reports: (1) category frequency counts for the company_group field showing how often each category appears, and (2) numeric ordering of all submitted rows ranked by the selected numeric field (respondent_count or sample_weight). Both reports are computed locally from the supplied data with no external lookups.","failureModes":["Submitting more than 200 rows returns an error — must chunk data to stay within limit","Missing required fields (row_id, company_group, date, respondent_count, sample_weight) cause validation errors","Invalid date format (non-YYYY-MM-DD) fails schema validation","Null values for both numeric fields may produce incomplete ordering results","Payment of 0.01 USDC required per call; missing payment results in 402 response"],"whenToPreferThis":"Choose this endpoint when you have structured market survey observation records and need both a categorical frequency summary of company groups and a numeric ranking of rows by respondent_count or sample_weight, all in a single low-cost call. Best for datasets up to 200 rows where no external data, predictions, or live lookups are needed — purely analytical over supplied data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-03T06:38:00.872Z","isFirstParty":false,"canonicalSlug":"market-survey-observations-category-frequencies-numeric-row-ordering-a0aa3fcd"}