{"uid":"cap_Vu4pfmDpL95kZwLPYTba5","slug":"price-basket-observations-string-normalisation-equal-width-histogram-8cc805e2","name":"Price Basket Observations — String Normalisation + Equal-Width Histogram","description":"Price basket observations — String normalisation + Equal-width histogram: String normalisation + Equal-width histogram 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-031?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"bins":{"type":"integer","default":5,"maximum":30,"minimum":1},"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_EU83n8Jh4VECFtMnAtOop","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 string normalisation and equal-width histogram binning to price basket observation records (item_price, quantity_weight), returning two independent analytical reports for up to 200 rows.","exampleAgentPrompt":"Can you run string normalisation and an equal-width histogram with 5 bins on the item_price field for my price basket data? I have 4 rows: 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 distribution audit","prompt":"I have 50 rows of price basket observations across two regions with item prices and quantity weights — can you normalise the strings and generate an equal-width histogram with 10 bins on the item_price field so I can see how prices are distributed?"},{"title":"Quantity weight binning for basket analysis","prompt":"Run a string normalisation plus equal-width histogram analysis on my basket data using 8 bins on the quantity_weight field — I've got 120 rows with row IDs, dates, regions, item prices, and weights I want to summarise."},{"title":"Spot-check basket data before reporting","prompt":"Before I write up my economics report, can you normalise and bin these 30 price basket observation rows using 5 bins on item_price to make sure the distribution looks reasonable and the strings are clean?"}],"resultDescription":"Returns two independent analytical reports: (1) a string normalisation report that standardises text fields across the supplied rows, and (2) an equal-width histogram report that divides the chosen numeric field (item_price or quantity_weight) into the specified number of equal-width bins and provides frequency counts per bin — all computed locally without external lookups or predictions.","failureModes":["More than 200 rows submitted — request rejected with validation error","Invalid date format (not YYYY-MM-DD) causes schema validation failure","bins value outside 1–30 range returns validation error","Missing required row fields (row_id, region, date, item_price, quantity_weight) causes rejection","Null values in numeric fields may affect histogram computation","Payment of 0.01 USDC not completed — 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need both string normalisation and equal-width histogram binning applied simultaneously to price basket observation data (item_price and/or quantity_weight fields) in a single low-cost call. It is ideal for small-to-medium datasets (up to 200 rows) where you want two bundled analytical reports without any live lookups, predictions, or external side effects. Prefer it over general-purpose analytics tools when working specifically with price basket economics data and you want deterministic, local computation at minimal cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T12:32:10.701Z","isFirstParty":false,"canonicalSlug":"price-basket-observations-string-normalisation-equal-width-histogram-8cc805e2"}