{"uid":"cap_v99ZBUGTYHq38gy1Vyc5u","slug":"transaction-fee-observations-numeric-distribution-secondary-measure-0c5849d6","name":"Transaction Fee Observations — Numeric Distribution + Secondary-Measure Weighted Mean","description":"Transaction fee observations — Numeric distribution + Secondary-measure weighted mean: Numeric distribution + Secondary-measure weighted mean for supplied transaction fee observations records (fee_units, transaction_count). 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-03-082?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","instrument_group","date","fee_units","transaction_count"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"fee_units":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"instrument_group":{"type":"string","default":"","maxLength":80},"transaction_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","fee_units":10,"instrument_group":"group-a","transaction_count":1},{"date":"2026-10-02","row_id":"row-2","fee_units":20,"instrument_group":"group-b","transaction_count":2},{"date":"2026-10-03","row_id":"row-3","fee_units":15,"instrument_group":"group-a","transaction_count":3},{"date":"2026-10-04","row_id":"row-4","fee_units":30,"instrument_group":"group-b","transaction_count":4}],"maxItems":200,"minItems":1},"field":{"enum":["fee_units","transaction_count"],"type":"string","default":"fee_units"}}},"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_IiwHKBapqsMz5x5lXRQyi","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 numeric distribution and a transaction-count-weighted mean for up to 200 supplied transaction fee observation records.","exampleAgentPrompt":"I have a batch of transaction fee records with fee_units and transaction_count columns — can you run a numeric distribution and a transaction-count-weighted mean across all rows so I can see how fees are spread and what the volume-weighted average looks like?","exampleUseCases":[{"title":"Exchange fee analysis by instrument group","prompt":"I've got 150 rows of trade fee observations from our exchange, each with a fee_units value and transaction_count. Can you compute a numeric distribution and transaction-count-weighted mean for fee_units so I understand our fee spread across instrument groups?"},{"title":"Daily fee trend statistical summary","prompt":"Here are 80 daily transaction fee records dated from 2024-01-01 to 2024-03-31 with fee_units and transaction_count — please give me a numeric distribution and the weighted mean of fee_units using transaction_count as the weight."},{"title":"Payment processor fee benchmarking","prompt":"I want to benchmark our payment processor fees. I have 200 rows of fee_units and transaction_count data across different groups — run a numeric distribution and a transaction-count-weighted mean on the fee_units field so I can see the shape of our fee costs."}],"resultDescription":"Returns two analytical reports for the supplied rows: (1) a numeric distribution (e.g. percentiles, frequency bins, min/max/mean/std) of the selected field (fee_units or transaction_count), and (2) a secondary-measure weighted mean where the selected field values are weighted by the other numeric column (transaction_count). Both reports are computed locally with no external lookups.","failureModes":["Rows array is empty or missing — validation error","More than 200 rows supplied — exceeds maxItems limit","fee_units or transaction_count contains non-numeric values outside allowed range — schema rejection","Invalid date format (not YYYY-MM-DD) — pattern validation failure","Payment not received or insufficient USDC balance — 402 response","row_id missing or empty string — minLength violation"],"whenToPreferThis":"Choose this endpoint when you have a batch of transaction fee observation records (up to 200 rows) and need both a distribution profile of fee values AND a volume-weighted mean in a single call. It is ideal for offline/supplied-data analytics where no live market data or external enrichment is needed, and when cost efficiency (0.01 USDC for 2 reports) is important. Prefer alternatives if you need real-time fee data, predictions, or more than 200 rows processed at once.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T12:32:40.793Z","isFirstParty":false,"canonicalSlug":"transaction-fee-observations-numeric-distribution-secondary-measure-0c5849d6"}