{"uid":"cap_qKcLCYjFkvqjln633Ohpq","slug":"token-supply-snapshots-secondary-measure-weighted-mean-explicit-86afb7eb","name":"Token Supply Snapshots — Secondary-Measure Weighted Mean + Explicit Missing-Value Fill","description":"Token supply snapshots — Secondary-measure weighted mean + Explicit missing-value fill: Secondary-measure weighted mean + Explicit missing-value fill for supplied token supply snapshots records (circulating_units, total_units). 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-11-187?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","instrument_group","date","circulating_units","total_units"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"total_units":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"instrument_group":{"type":"string","default":"","maxLength":80},"circulating_units":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","total_units":1,"instrument_group":"group-a","circulating_units":10},{"date":"2026-10-02","row_id":"row-2","total_units":2,"instrument_group":"group-b","circulating_units":20},{"date":"2026-10-03","row_id":"row-3","total_units":3,"instrument_group":"group-a","circulating_units":15},{"date":"2026-10-04","row_id":"row-4","total_units":4,"instrument_group":"group-b","circulating_units":30}],"maxItems":200,"minItems":1},"field":{"enum":["circulating_units","total_units"],"type":"string","default":"circulating_units"},"method":{"enum":["zero","mean","median"],"type":"string","default":"median"}}},"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_LmDqGELyrsm12p73A-nOC","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 secondary-measure weighted mean and fills missing values in token supply snapshot records (circulating_units, total_units) for up to 200 rows, returning 2 analytical reports.","exampleAgentPrompt":"I have up to 200 rows of daily token supply snapshots with circulating_units and total_units per instrument group — can you compute the secondary-measure weighted mean for circulating_units and fill any missing values using the median method?","exampleUseCases":[{"title":"Token float analysis by group","prompt":"I've got daily snapshot rows for several token groups with circulating_units and total_units — can you compute the weighted mean of circulating_units across instrument groups and fill any nulls with the median? Here are the rows: [{\"row_id\":\"r1\",\"date\":\"2024-01-01\",\"instrument_group\":\"ETH\",\"circulating_units\":120000000,\"total_units\":null},{\"row_id\":\"r2\",\"date\":\"2024-01-02\",\"instrument_group\":\"ETH\",\"circulating_units\":121000000,\"total_units\":150000000}]."},{"title":"Missing supply data imputation","prompt":"Some of my token supply records have null values for total_units. Can you fill those missing values using the mean method and then give me the weighted mean summary? I'll supply up to 150 rows across a few instrument groups."},{"title":"Crypto supply snapshot audit","prompt":"I need two analytical reports on my token supply snapshot dataset — one using weighted mean on total_units and one with explicit zero-fill for missing values. My dataset has about 80 rows with dates, instrument groups, and both circulating and total unit figures."}],"resultDescription":"Returns 2 analytical reports per call: (1) a secondary-measure weighted mean computed over the specified field (circulating_units or total_units) grouped by instrument, and (2) an explicit missing-value-filled version of the dataset using the selected fill method (zero, mean, or median). Results are based entirely on the supplied input rows with no external data lookups.","failureModes":["Input array exceeds 200 rows — request rejected","Missing required fields (row_id, date, instrument_group) on any row — validation error","All values for the target field are null — weighted mean cannot be computed","Invalid date format (not YYYY-MM-DD) — schema validation failure","Numeric values outside ±1,000,000,000,000 range — rejected by schema","Payment of 0.01 USDC not provided or declined — 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you have a pre-collected dataset of token supply snapshots (up to 200 rows) and need both a weighted mean aggregation and missing-value imputation in a single call. It is ideal for offline/batch analytical workflows where no live market data lookup is needed. Prefer this over general-purpose statistical APIs when your data is already structured with instrument_group, date, circulating_units, and total_units fields and you want two reports for a flat $0.01 USDC fee.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T12:31:33.165Z","isFirstParty":false,"canonicalSlug":"token-supply-snapshots-secondary-measure-weighted-mean-explicit-86afb7eb"}