{"uid":"cap_hmb8TiLbWQNRRVcZQKnQi","slug":"price-basket-observations-string-normalisation-trailing-mean-series-b0a4b5f9","name":"Price Basket Observations — String Normalisation + Trailing Mean Series","description":"Price basket observations — String normalisation + Trailing mean series: String normalisation + 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-028?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_wukfZyfKSE_hPxqE89DMW","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":"Runs string normalisation and trailing mean series analysis on supplied price basket observation records (item_price, quantity_weight) for up to 200 rows.","exampleAgentPrompt":"Can you run string normalisation and a trailing mean series (window of 3) on my price basket observations — here are 5 rows with item_price values, targeting the item_price field: row-1 group-a 2026-10-01 price=10 qty=1, row-2 group-b 2026-10-02 price=20 qty=2, row-3 group-a 2026-10-03 price=15 qty=3, row-4 group-b 2026-10-04 price=30 qty=4, row-5 group-a 2026-10-05 price=25 qty=5?","exampleUseCases":[{"title":"Smoothing retail price survey data","prompt":"I have a week's worth of retail price basket survey data — 50 rows with item prices and quantity weights across regions. Can you normalise the strings and compute a trailing mean series with a window of 5 on the item_price field so I can spot trends?"},{"title":"Cleaning regional pricing records","prompt":"We collected price basket observations from 3 regions over the past month — about 120 rows. Run string normalisation and a trailing mean window of 7 on quantity_weight so we can compare regional patterns cleanly."},{"title":"Preparing basket data for economics report","prompt":"I need two analytical reports on these 30 price basket rows — string normalisation plus a trailing mean series with window 4 targeting item_price. Dates run from 2026-09-01 to 2026-09-30, split across group-a and group-b regions."}],"resultDescription":"Returns two analytical reports sharing local engines: (1) a string-normalised version of the supplied price basket observation records, and (2) a trailing mean series computed over the selected numeric field (item_price or quantity_weight) using the specified window size, covering up to 200 input rows.","failureModes":["Exceeds 200 row limit — request rejected","Invalid date format (must be YYYY-MM-DD) — validation error","Missing required fields (row_id, region, date) — schema error","Window size outside range 2–200 — validation error","Field value not one of ['item_price','quantity_weight'] — enum error","Null values in numeric fields may affect trailing mean computation"],"whenToPreferThis":"Choose this endpoint when you need to both clean/normalise string fields and compute a windowed trailing mean series on price basket observation data in a single low-cost call. Ideal for economics and retail analytics workflows requiring lightweight, offline analytical transformations on up to 200 rows without any live data lookup, prediction, or external side effects.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T12:49:52.073Z","isFirstParty":false,"canonicalSlug":"price-basket-observations-string-normalisation-trailing-mean-series-b0a4b5f9"}