{"uid":"cap_GnMhUp1enL4APPnChON9E","slug":"wallet-inventory-trailing-mean-series-keyed-dataset-comparison-f74f2765","name":"Wallet Inventory Trailing Mean Series + Keyed Dataset Comparison","description":"Wallet inventory — Trailing mean series + Keyed dataset comparison: Trailing mean series + Keyed dataset comparison for supplied wallet inventory records (token_units, reference_price). 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-finance-24-153?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","instrument_group","date","token_units","reference_price"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"token_units":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"reference_price":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"instrument_group":{"type":"string","default":"","maxLength":80}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","token_units":10,"reference_price":1,"instrument_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","token_units":20,"reference_price":2,"instrument_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","token_units":15,"reference_price":3,"instrument_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","token_units":30,"reference_price":4,"instrument_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["token_units","reference_price"],"type":"string","default":"token_units"},"other":{"type":"array","items":{"type":"object","required":["row_id","instrument_group","date","token_units","reference_price"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"token_units":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"reference_price":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"instrument_group":{"type":"string","default":"","maxLength":80}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","token_units":10,"reference_price":1,"instrument_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","token_units":21,"reference_price":2,"instrument_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","token_units":17,"reference_price":3,"instrument_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","token_units":33,"reference_price":4,"instrument_group":"group-b"}],"maxItems":200,"minItems":0},"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_dKuJMZiohX51zPc8YyI5S","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 a trailing mean time series and performs a keyed dataset comparison on two sets of wallet inventory records (token_units, reference_price) — up to 200 rows each, no external data sources.","exampleAgentPrompt":"I have two sets of wallet inventory records — each up to 200 rows with token_units and reference_price fields — can you run a trailing mean series on the token_units field and also compare the two datasets keyed by row_id and instrument_group?","exampleUseCases":[{"title":"Portfolio smoothing across token holdings","prompt":"Here are my daily wallet records for the last 6 months with token_units and reference_price per instrument group — can you compute a trailing mean series on the token_units field so I can see the smoothed trend without the daily noise?"},{"title":"Before-and-after rebalancing comparison","prompt":"I have two wallet snapshots: one before and one after my portfolio rebalance, each with up to 150 rows of token_units and reference_price by instrument group. Can you do a keyed dataset comparison between them so I can see exactly what changed row by row?"},{"title":"Dual-metric analysis on crypto holdings","prompt":"I want to analyze my wallet inventory data — about 80 rows — using both a trailing mean series and a keyed comparison against last month's data on the reference_price field. Can you run both reports at once?"}],"resultDescription":"Returns two analytical reports computed locally from the supplied data: (1) a trailing mean time series over the selected field (token_units or reference_price) across the provided rows, and (2) a keyed dataset comparison between the primary and secondary (other) dataset matched by row_id and instrument_group, highlighting differences per row. No external data is fetched or predicted.","failureModes":["Rows array is empty or missing — API returns a validation error","More than 200 rows submitted — request rejected with max-items error","Required fields (row_id, instrument_group, date, token_units, reference_price) missing from any row — validation error","Date fields not matching YYYY-MM-DD pattern — pattern validation failure","Mismatched row_ids between primary and comparison dataset — comparison may yield unmatched rows","token_units or reference_price values outside allowed range (±1e12) — rejected","Payment not attached or insufficient USDC — x402 payment required error"],"whenToPreferThis":"Choose this endpoint when you have two sets of wallet inventory records (up to 200 rows each) and need both a trailing mean smoothing analysis and a keyed row-by-row comparison in a single API call. It is ideal for offline/batch analytics on pre-collected portfolio snapshots where no live price lookup, prediction, or external data enrichment is required. It is cost-effective at $0.01 USDC for both reports simultaneously.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:38:31.964Z","isFirstParty":false,"canonicalSlug":"wallet-inventory-trailing-mean-series-keyed-dataset-comparison-f74f2765"}