{"uid":"cap_tqRJsyewOuN4fOd0__lmv","slug":"business-location-inventories-numeric-row-ordering-secondary-measure-a7615822","name":"Business Location Inventories — Numeric Row Ordering + Secondary-Measure Weighted Mean","description":"Business location inventories — Numeric row ordering + Secondary-measure weighted mean: Numeric row ordering + 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-121?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"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_J23YPsklCKIr8PxNdXjbM","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 numeric row ordering and a secondary-measure weighted mean for up to 200 rows of business location inventory data (location_count, verified_locations) using local analytical engines.","exampleAgentPrompt":"I have 4 rows of business location inventory data — row-1 (group-a, 2026-10-01, location_count=10, verified_locations=1), row-2 (group-b, 2026-10-02, location_count=20, verified_locations=2), row-3 (group-a, 2026-10-03, location_count=15, verified_locations=3), row-4 (group-b, 2026-10-04, location_count=30, verified_locations=4) — can you rank them numerically by location_count and also give me the verified_locations weighted mean?","exampleUseCases":[{"title":"Ranking franchise locations by size","prompt":"I have 10 franchise location records with their location_count and verified_locations values — can you rank them numerically by location_count and compute the weighted mean using verified_locations as the secondary measure?"},{"title":"Comparing company group inventory metrics","prompt":"I've got about 50 rows of location inventory data across two company groups from Q4 2026. Please rank all rows by verified_locations and give me the weighted mean for location_count weighted by verified_locations."},{"title":"Monthly location audit ordering","prompt":"Here are 150 business location records for November 2026 with location_count and verified_locations fields. Rank them by location_count numerically and calculate the secondary-measure weighted mean so I can see the average weighted by verified_locations."}],"resultDescription":"Returns two reports: (1) numeric row ordering — rows sorted/ranked by the specified field (location_count or verified_locations), and (2) a secondary-measure weighted mean — a weighted average computed from the supplied data rows, all processed locally without external lookups. Both reports are derived solely from the input data.","failureModes":["More than 200 rows submitted — exceeds maxItems limit","Missing required fields (row_id, company_group, date, location_count, verified_locations) — validation error","Date field not matching YYYY-MM-DD pattern — schema validation failure","Invalid field enum value (not 'location_count' or 'verified_locations') — rejected input","Null values in numeric fields may affect weighted mean computation","Empty rows array — minItems:1 not satisfied"],"whenToPreferThis":"Choose this endpoint when you have pre-collected business location inventory data (up to 200 rows) and need both a numeric ranking of rows and a weighted mean of a secondary measure computed locally without any external data lookups, predictions, or live queries. Ideal for offline/batch analytical workflows where the data is already assembled and you need two complementary statistical summaries in a single API call at low cost ($0.01 USDC for both reports).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:40:12.454Z","isFirstParty":false,"canonicalSlug":"business-location-inventories-numeric-row-ordering-secondary-measure-a7615822"}