{"uid":"cap_wt_lj9ljyGtWl9DW14UKO","slug":"market-survey-observations-category-frequencies-equal-width-histogram-a481419f","name":"Market Survey Observations — Category Frequencies + Equal-Width Histogram","description":"Market survey observations — Category frequencies + Equal-width histogram: Category frequencies + Equal-width histogram 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-106?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"bins":{"type":"integer","default":5,"maximum":30,"minimum":1},"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_3ZQ3ia8cKGK_txDdeo8nr","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 counts and an equal-width histogram for market survey observation records (respondent_count or sample_weight), for up to 200 rows.","exampleAgentPrompt":"Analyze my market survey observations — I have 4 rows with company groups A and B, dates from 2026-10-01 to 2026-10-04, respondent counts of 10, 20, 15, and 30, and sample weights of 1, 2, 3, and 4. Give me both the category frequencies and an equal-width histogram for respondent_count using 5 bins.","exampleUseCases":[{"title":"Survey response distribution by group","prompt":"I have 50 rows of market survey data with company groups and respondent counts — can you compute the category frequencies for each company group and show me a histogram of respondent_count across 10 bins so I can see how responses are distributed?"},{"title":"Sample weight spread analysis","prompt":"Run a frequency and histogram analysis on my 120 market survey records using the sample_weight field with 8 bins — I want to understand how the sample weights are spread and which groups appear most often."},{"title":"Small pilot survey summary","prompt":"I collected a small pilot survey with 15 rows across three company groups, each with a respondent_count and sample_weight. Give me category frequencies and a 5-bin equal-width histogram on the respondent_count so I can spot any imbalance before scaling up."}],"resultDescription":"Returns two reports: (1) category frequencies showing counts of each distinct company_group value, and (2) an equal-width histogram partitioned into the requested number of bins for the chosen numeric field (respondent_count or sample_weight), with row counts per bin.","failureModes":["More than 200 rows submitted — exceeds maxItems limit","Invalid date format (must be YYYY-MM-DD)","Missing required fields (row_id, company_group, date, respondent_count, sample_weight)","bins value out of range (must be 1–30)","Numeric field values exceeding ±1,000,000,000,000","Invalid field enum value (must be respondent_count or sample_weight)"],"whenToPreferThis":"Choose this endpoint when you have up to 200 market survey observation records and need both a categorical frequency breakdown and a numeric histogram in a single low-cost call ($0.01 USDC). It is ideal for offline/local analysis of survey data without any external lookups or live predictions, and when you need exactly these two report types together rather than individual analytics operations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:39:47.212Z","isFirstParty":false,"canonicalSlug":"market-survey-observations-category-frequencies-equal-width-histogram-a481419f"}