{"uid":"cap_2EMeVy95irp6dSz5gdBqr","slug":"price-basket-observations-category-frequencies-numeric-row-ordering-42f6769c","name":"Price Basket Observations — Category Frequencies & Numeric Row Ordering","description":"Price basket observations — Category frequencies + Numeric row ordering: Category frequencies + 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-100?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_w-avybeYFlPqWIRmwDSQI","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":"Analyzes up to 200 price basket observation records by computing category frequencies and numeric row ordering across item_price or quantity_weight fields.","exampleAgentPrompt":"I have a set of price basket observations — about 80 rows each with a row_id, region, date, item_price, and quantity_weight — can you run the category frequencies and numeric row ordering reports on the item_price field for me?","exampleUseCases":[{"title":"Retail price distribution audit","prompt":"I've got 150 rows of product basket observations with item prices and quantity weights across two regions. Can you run the category frequency and numeric ordering analysis on the item_price field so I see how prices are distributed and ranked?"},{"title":"Quantity weight ranking for supply planning","prompt":"Here are 60 basket observation records with row IDs, dates, regions, and quantity weights. Please generate the category frequencies and numeric row ordering reports using the quantity_weight field."},{"title":"Regional basket comparison by price","prompt":"I need to analyze these 200 price basket entries — each has a region, date, item_price, and quantity_weight — run the category frequencies and numeric ordering on item_price so I can compare how pricing ranks across entries."}],"resultDescription":"Returns two independent analytical reports for the supplied dataset: (1) category frequency counts showing how often each category value appears across the selected field, and (2) numeric row ordering that ranks each row by the chosen numeric field (item_price or quantity_weight). No external data or predictions are included — results are derived solely from the supplied rows.","failureModes":["More than 200 rows submitted — request will be rejected or truncated","Missing required fields (row_id, region, date, item_price, quantity_weight) cause validation errors","Invalid date format (must match YYYY-MM-DD) causes schema rejection","Numeric values outside allowed range (-1T to +1T) cause validation errors","Empty rows array returns no results","Invalid field enum value (must be 'item_price' or 'quantity_weight') causes error"],"whenToPreferThis":"Choose this endpoint when you have up to 200 rows of price basket observation data and need two quick, offline statistical reports — category frequency distribution and numeric row ordering — on either item_price or quantity_weight, without requiring live data lookups, predictions, or external integrations. It is cost-effective at $0.01 for both reports simultaneously. Prefer it over general analytics platforms when you want a lightweight, deterministic, locally-computed summary of structured basket records.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T12:32:07.750Z","isFirstParty":false,"canonicalSlug":"price-basket-observations-category-frequencies-numeric-row-ordering-42f6769c"}