{"uid":"cap_lDd7ZyW86oh2s4dpW2aQJ","slug":"price-basket-observations-numeric-distribution-numeric-row-ordering-953630fd","name":"Price Basket Observations — Numeric Distribution + Numeric Row Ordering","description":"Price basket observations — Numeric distribution + Numeric row ordering: Numeric distribution + Numeric row ordering for supplied price basket observations records (item_price, quantity_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-economics-07-073?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","region","date","item_price","quantity_weight"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"region":{"type":"string","default":"","maxLength":80},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"item_price":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"quantity_weight":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","region":"group-a","row_id":"row-1","item_price":10,"quantity_weight":1},{"date":"2026-10-02","region":"group-b","row_id":"row-2","item_price":20,"quantity_weight":2},{"date":"2026-10-03","region":"group-a","row_id":"row-3","item_price":15,"quantity_weight":3},{"date":"2026-10-04","region":"group-b","row_id":"row-4","item_price":30,"quantity_weight":4}],"maxItems":200,"minItems":1},"field":{"enum":["item_price","quantity_weight"],"type":"string","default":"item_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_1VkLEgE_WG6WkgCgZlf89","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 distribution statistics and row ordering ranks for price basket observation records (item_price, quantity_weight) over up to 200 rows.","exampleAgentPrompt":"Run a numeric distribution analysis and row ordering on these price basket records — I have 4 rows with item prices of 10, 20, 15, and 30 and quantity weights of 1, 2, 3, and 4, tagged by region and date, and I want the reports for the item_price field.","exampleUseCases":[{"title":"Retail basket price spread analysis","prompt":"I have 50 grocery basket observations with item prices and quantity weights across two regions over the past month — can you run a numeric distribution and row ordering report on the item_price field for all of them?"},{"title":"Regional quantity weight ranking","prompt":"Here are 120 price basket records from our quarterly market survey, each with a region, date, item price, and quantity weight. Run the distribution and ranking analysis on quantity_weight so I can see how basket weights are spread and ordered."},{"title":"Economics class basket data audit","prompt":"I've collected 30 sample price basket observations for an economics assignment with item prices and weights by region and date — can you compute the numeric distribution and row ordering on item_price so I can understand the data structure?"}],"resultDescription":"Returns two independent analytical reports for the submitted price basket rows: (1) a numeric distribution report showing statistical spread (e.g. min, max, mean, percentiles, frequency) for the selected field, and (2) a numeric row ordering report ranking each row by the selected field value. Results are computed locally from the supplied data with no external lookups.","failureModes":["Fewer than 1 row submitted — request rejected","More than 200 rows submitted — exceeds row limit","Missing required fields (row_id, region, date, item_price, quantity_weight) — validation error","Invalid date format (must be YYYY-MM-DD) — schema validation failure","Payment of 0.01 USDC not completed — 402 Payment Required","item_price or quantity_weight out of allowed numeric range — rejected","field enum value not one of item_price or quantity_weight — validation error"],"whenToPreferThis":"Choose this endpoint when you need both a statistical distribution summary and a ranked ordering of rows for price basket data in a single low-cost call. It is ideal for offline/local analytical processing of up to 200 observation records without requiring external data sources, predictions, or professional assessments. Prefer this over generic statistics APIs when your data is structured as price basket observations with item_price and quantity_weight fields and you need both reports bundled for $0.01.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:36:02.086Z","isFirstParty":false,"canonicalSlug":"price-basket-observations-numeric-distribution-numeric-row-ordering-953630fd"}