{"uid":"cap_7EoFoJUuXLJ2YYkjqU-5r","slug":"price-basket-observations-numeric-row-ordering-trailing-mean-series-4a0b33f4","name":"Price Basket Observations — Numeric Row Ordering + Trailing Mean Series","description":"Price basket observations — Numeric row ordering + Trailing mean series: Numeric row ordering + Trailing mean series 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-115?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"},"window":{"type":"integer","default":2,"maximum":200,"minimum":2}}},"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_jTfzuMXx1Qq6msv7vqf_X","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 trailing mean series for up to 200 price basket observation records containing item price and quantity weight fields.","exampleAgentPrompt":"Rank these price basket rows numerically by item_price and also compute a trailing mean series with a window of 3 — I have 4 records: row-1 group-a 2026-10-01 price 10 weight 1, row-2 group-b 2026-10-02 price 20 weight 2, row-3 group-a 2026-10-03 price 15 weight 3, row-4 group-b 2026-10-04 price 30 weight 4.","exampleUseCases":[{"title":"Regional price ranking over time","prompt":"I have weekly price basket readings across two regions — can you numerically rank all 50 rows by item_price and also give me a trailing mean series with a window of 5 so I can see the smoothed price trend?"},{"title":"Smoothing quantity weight fluctuations","prompt":"Here are 120 rows of daily quantity weight observations for my supply chain basket — rank them numerically and compute a trailing mean with window 7 on the quantity_weight field so I can spot the underlying trend."},{"title":"Comparing basket prices across groups","prompt":"I've got 30 price basket records split across group-a and group-b — please order them numerically by item_price and give me a trailing mean series with window 2 so I can compare smoothed pricing between the two groups."}],"resultDescription":"Returns two analytical reports: (1) a numeric row ordering report ranking the supplied rows by the selected field (item_price or quantity_weight), and (2) a trailing mean series report showing rolling averages computed over the specified window size — both derived entirely from the supplied data with no external lookups.","failureModes":["Fewer than 1 row supplied — minimum 1 row required","More than 200 rows supplied — exceeds maximum limit","Window size larger than the number of rows — trailing mean may produce sparse or no results","Invalid date format (must match YYYY-MM-DD pattern)","Missing required fields row_id, region, date, item_price, or quantity_weight","item_price or quantity_weight values outside allowed numeric range","Payment not completed — x402 payment of 0.01 USDC required per call"],"whenToPreferThis":"Choose this endpoint when you need two complementary analytical views of price basket observation data in a single call: numeric row ordering (ranking) and a trailing/rolling mean series. It is ideal for structured tabular data with item_price and quantity_weight fields and up to 200 rows. Prefer it over general analytics tools when you want a lightweight, cost-effective ($0.01 USDC) offline computation with no external data dependencies or live predictions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T12:32:40.863Z","isFirstParty":false,"canonicalSlug":"price-basket-observations-numeric-row-ordering-trailing-mean-series-4a0b33f4"}