{"uid":"cap_Eeb23g9Y6r3LjLiTAkNgL","slug":"business-location-inventories-equal-width-histogram-secondary-measure-7d5e60aa","name":"Business Location Inventories — Equal-Width Histogram + Secondary-Measure Weighted Mean","description":"Business location inventories — Equal-width histogram + Secondary-measure weighted mean: Equal-width histogram + Secondary-measure weighted mean for supplied business location inventories records (location_count, verified_locations). 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-05-172?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","location_count","verified_locations"],"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},"location_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"verified_locations":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","company_group":"group-a","location_count":10,"verified_locations":1},{"date":"2026-10-02","row_id":"row-2","company_group":"group-b","location_count":20,"verified_locations":2},{"date":"2026-10-03","row_id":"row-3","company_group":"group-a","location_count":15,"verified_locations":3},{"date":"2026-10-04","row_id":"row-4","company_group":"group-b","location_count":30,"verified_locations":4}],"maxItems":200,"minItems":1},"field":{"enum":["location_count","verified_locations"],"type":"string","default":"location_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_qeurSAXehIshicrIatUJ3","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 an equal-width histogram and a secondary-measure weighted mean for supplied business location inventory records (location_count, verified_locations) — up to 200 rows, two analytical reports per call.","exampleAgentPrompt":"Can you run a histogram with 10 bins on my business location inventory data — I have records for groups like 'region-east' and 'region-west' with location_count and verified_locations fields — and also give me a weighted mean of verified_locations? Here are my rows: row-1, 2024-01-01, region-east, location_count 45, verified_locations 40; row-2, 2024-01-02, region-west, location_count 120, verified_locations 95.","exampleUseCases":[{"title":"Distribution analysis of franchise locations","prompt":"I have 150 rows of franchise location inventory data with company_group, date, location_count, and verified_locations. Can you build a 10-bin equal-width histogram on location_count and give me the weighted mean of verified_locations across all rows?"},{"title":"Comparing verified vs total locations by group","prompt":"Run a 5-bin histogram on the verified_locations field for my business inventory dataset — about 80 rows across groups 'north', 'south', and 'central' — and include the weighted mean report as well."},{"title":"Monthly location rollup for retail chain","prompt":"I've got monthly location counts for a retail chain across 4 company groups over the past year, 48 rows total. Can you compute a 7-bin histogram on location_count and also calculate the secondary-measure weighted mean for verified_locations?"}],"resultDescription":"Returns two analytical reports: (1) an equal-width histogram with configurable bin count showing the frequency distribution of the selected field (location_count or verified_locations), and (2) a secondary-measure weighted mean computed from the supplied records. Reports are generated locally from the supplied data without any external lookup.","failureModes":["More than 200 rows submitted — request will be rejected or truncated","Invalid date format (not YYYY-MM-DD) in row data — validation error","Missing required fields (row_id, company_group, date, location_count, or verified_locations) — schema validation failure","bins value outside 1–30 range — rejected with parameter error","All values null for selected field — weighted mean or histogram may be undefined or return empty result","Payment not included or insufficient — x402 payment required error"],"whenToPreferThis":"Choose this endpoint when you have up to 200 rows of business location inventory data (with location_count and verified_locations columns) and need both a histogram distribution and a weighted mean in a single low-cost call. It is ideal for quick offline statistical summaries without requiring a live data connection, external analytics platform, or manual computation. Prefer it over general-purpose analytics APIs when you want two reports for $0.01 USDC with no setup overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:45:48.471Z","isFirstParty":false,"canonicalSlug":"business-location-inventories-equal-width-histogram-secondary-measure-7d5e60aa"}