{"uid":"cap_nixtiiBdhVg5EIqn7pZT0","slug":"competitor-supplied-prices-numeric-row-ordering-secondary-measure-0e780fa0","name":"Competitor Supplied Prices — Numeric Row Ordering + Secondary-Measure Weighted Mean","description":"Competitor supplied prices — Numeric row ordering + Secondary-measure weighted mean: Numeric row ordering + Secondary-measure weighted mean for supplied competitor supplied prices records (list_price, package_quantity). 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-07-121?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","company_group","date","list_price","package_quantity"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"list_price":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"company_group":{"type":"string","default":"","maxLength":80},"package_quantity":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","list_price":10,"company_group":"group-a","package_quantity":1},{"date":"2026-10-02","row_id":"row-2","list_price":20,"company_group":"group-b","package_quantity":2},{"date":"2026-10-03","row_id":"row-3","list_price":15,"company_group":"group-a","package_quantity":3},{"date":"2026-10-04","row_id":"row-4","list_price":30,"company_group":"group-b","package_quantity":4}],"maxItems":200,"minItems":1},"field":{"enum":["list_price","package_quantity"],"type":"string","default":"list_price"}}},"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_wIT244gD89MCQm82obchs","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":"Applies numeric row ordering and secondary-measure weighted mean analysis to user-supplied competitor price records (list_price, package_quantity), returning two analytical reports for up to 200 rows.","exampleAgentPrompt":"I have competitor pricing data for two groups — can you rank the rows numerically by list_price and also compute the package_quantity-weighted mean for these four records: row-1 on 2026-10-01 for group-a with list_price 10 and package_quantity 1, row-2 on 2026-10-02 for group-b with list_price 20 and package_quantity 2, row-3 on 2026-10-03 for group-a with list_price 15 and package_quantity 3, and row-4 on 2026-10-04 for group-b with list_price 30 and package_quantity 4?","exampleUseCases":[{"title":"Rank competitors' retail list prices","prompt":"I've collected list prices from three competitor companies across 50 products — can you rank all the rows numerically by list_price and give me the package_quantity-weighted mean so I can see who's cheapest on average weighted by bundle size?"},{"title":"Weighted mean pricing for bundle analysis","prompt":"Here are 120 rows of competitor pricing records with row IDs, company groups, dates, list prices and package quantities — run a numeric row ordering and a package_quantity-weighted mean on the list_price field so I can benchmark bundle-adjusted prices."},{"title":"Company group price comparison","prompt":"I want to compare how group-a and group-b competitor prices stack up — I have 80 records with dates, list prices, and package quantities. Can you sort them by numeric order and compute the weighted average list price using package quantity as the weight?"}],"resultDescription":"Two analytical reports derived from the submitted rows: (1) a numeric row ordering of the selected field (list_price or package_quantity) across all supplied records, and (2) a secondary-measure weighted mean where one field is weighted by the other — all computed locally without external lookups. Results cover up to 200 input rows.","failureModes":["Rows array empty or missing — minItems:1 violated","More than 200 rows submitted — maxItems:200 exceeded","Invalid date format (not YYYY-MM-DD pattern) causes row rejection","Missing required fields (row_id, company_group, date, list_price, package_quantity) on any row","Invalid field enum value (must be 'list_price' or 'package_quantity')","Null values in both numeric fields may produce undefined weighted mean","Payment not included or insufficient — x402 payment required at $0.01 USDC"],"whenToPreferThis":"Choose this endpoint when you have your own batch of competitor pricing records (up to 200 rows) and need both a numeric ranking and a package-quantity-weighted mean computed in a single call at minimal cost ($0.01 USDC). It is a pure local computation — no external data lookups, predictions, or professional assessments — making it ideal for deterministic, reproducible price analytics on supplied data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:45:05.991Z","isFirstParty":false,"canonicalSlug":"competitor-supplied-prices-numeric-row-ordering-secondary-measure-0e780fa0"}