{"uid":"cap_xNuWIZ1MJsr6GYtEcA2_G","slug":"transaction-fee-observations-record-quality-audit-secondary-measure-94a837e2","name":"Transaction Fee Observations — Record Quality Audit + Secondary-Measure Weighted Mean","description":"Transaction fee observations — Record quality audit + Secondary-measure weighted mean: Record quality audit + 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-016?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_kvo87FDer5rqpKJc0FdFi","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":"Audits record quality and computes a secondary-measure weighted mean for up to 200 transaction fee observation rows (fee_units, transaction_count).","exampleAgentPrompt":"Can you audit the quality of these transaction fee records and compute a transaction-count weighted mean of fee_units? I have 4 rows: row-1 on 2026-10-01 with fee_units=10, transaction_count=1 for group-a; row-2 on 2026-10-02 with fee_units=20, transaction_count=2 for group-b; row-3 on 2026-10-03 with fee_units=15, transaction_count=3 for group-a; row-4 on 2026-10-04 with fee_units=30, transaction_count=4 for group-b.","exampleUseCases":[{"title":"Pre-analysis fee data quality check","prompt":"Before I run my monthly fee analysis, audit the quality of these 50 transaction fee observation rows and flag any bad records — the primary measure is fee_units and I want the transaction-count weighted mean too."},{"title":"Weighted average fee across instrument groups","prompt":"I have daily fee_units and transaction_count data for two instrument groups over Q3. Can you compute the transaction-count weighted mean of fee_units across all 90 rows and tell me if any records have quality issues?"},{"title":"Fee data validation before reporting","prompt":"I need to verify my fee observation dataset is clean before submitting a report — run a record quality audit on these 200 rows where fee_units is the main measure and transaction_count is the secondary measure, and give me the weighted mean."}],"resultDescription":"Returns two independent analytical reports: (1) a record quality audit identifying missing, null, out-of-range, or malformed values across the supplied rows; and (2) a secondary-measure weighted mean of the specified field (fee_units or transaction_count), weighted by the other measure. Both reports are computed locally from the supplied data with no external lookups.","failureModes":["Rows array empty or missing — validation error","More than 200 rows submitted — rejected with maxItems error","Invalid date format (not YYYY-MM-DD) — schema validation failure","fee_units or transaction_count out of allowed numeric range — rejected","Invalid field enum value — schema validation error","All transaction_count values are zero or null — weighted mean undefined or zero"],"whenToPreferThis":"Choose this endpoint when you need both a data quality audit and a weighted mean statistic on transaction fee observation data in a single call, especially when working with up to 200 rows of fee_units and transaction_count pairs. It is ideal for pre-processing fee data before reporting or analysis, and when you want a locally computed (no external lookup) dual-report output at low cost ($0.01 USDC for both reports).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T12:32:46.692Z","isFirstParty":false,"canonicalSlug":"transaction-fee-observations-record-quality-audit-secondary-measure-94a837e2"}