{"uid":"cap_EQfz1JnRAUehkLUKVC8lf","slug":"transaction-fee-observations-duplicate-key-report-secondary-measure-1c396b6d","name":"Transaction Fee Observations — Duplicate Key Report + Secondary-Measure Weighted Mean","description":"Transaction fee observations — Duplicate key report + Secondary-measure weighted mean: Duplicate key report + 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-067?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_bA5wSMviS4CyF1I62P8kt","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":"Runs two local analytical reports on supplied transaction fee observation rows: a duplicate key detection report and a secondary-measure weighted mean calculation.","exampleAgentPrompt":"Can you check this list of transaction fee observations for duplicate row IDs, and also calculate the weighted mean of fee_units using transaction_count as the weight? Here are up to 200 rows with fields row_id, instrument_group, date, fee_units, and transaction_count.","exampleUseCases":[{"title":"Detecting duplicate fee records before reporting","prompt":"I have a batch of transaction fee records with row IDs, dates, instrument groups, fee_units, and transaction_counts — can you scan them for duplicate keys and tell me which row_ids appear more than once?"},{"title":"Weighted average fee calculation by transaction volume","prompt":"For my fee observation dataset, compute the weighted mean of fee_units where each row's transaction_count is used as its weight — I have about 150 rows with instrument_group, date, fee_units, and transaction_count."},{"title":"Data quality audit on fee submissions","prompt":"Before I submit these transaction fee records, run a duplicate key check on the row_ids and also give me the secondary-measure weighted mean of transaction_count weighted by fee_units — I have around 80 rows to check."}],"resultDescription":"Returns two independent analytical reports derived solely from the supplied data: (1) a duplicate key report listing any row_id values that appear more than once across the input rows, and (2) a weighted mean of the selected primary field (fee_units or transaction_count) using the other field as the weight. No external data or live lookups are involved.","failureModes":["Input array is empty or missing — returns validation error","Rows exceed 200 item limit — request rejected","Required fields (row_id, instrument_group, date, fee_units, transaction_count) missing from one or more rows — schema validation error","Numeric fields out of allowed range (±1,000,000,000,000) — rejected","Invalid date format (not YYYY-MM-DD) — schema validation error","Payment of 0.01 USDC not provided or rejected — 402 payment required error"],"whenToPreferThis":"Choose this endpoint when you need to simultaneously audit a dataset of transaction fee observations for duplicate row keys AND compute a weighted mean of a numeric measure in a single low-cost call. It is ideal for pre-submission data quality checks on fee records with up to 200 rows. Prefer it over general-purpose analytics tools when working specifically with instrument_group + date + fee_units + transaction_count structured data and you need both reports in one round-trip for $0.01 USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T06:47:34.834Z","isFirstParty":false,"canonicalSlug":"transaction-fee-observations-duplicate-key-report-secondary-measure-1c396b6d"}