{"uid":"cap_ufNthEZZgX5MvmcertJmW","slug":"transaction-fee-observations-numeric-row-ordering-secondary-measure-41c71d78","name":"Transaction Fee Observations — Numeric Row Ordering + Secondary-Measure Weighted Mean","description":"Transaction fee observations — Numeric row ordering + Secondary-measure weighted mean: Numeric row ordering + 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-121?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_BdbrP1uXHhEaJaR_lncKU","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 numeric row ordering and transaction-count-weighted mean for up to 200 transaction fee observation records, returning two analytical reports.","exampleAgentPrompt":"I have a set of daily transaction fee observations with fee_units and transaction_count across two instrument groups — can you rank the rows numerically by fee_units and also compute the transaction-count-weighted mean of fee_units for these 4 rows: row-1 (2026-10-01, group-a, fee_units=10, transaction_count=1), row-2 (2026-10-02, group-b, fee_units=20, transaction_count=2), row-3 (2026-10-03, group-a, fee_units=15, transaction_count=3), row-4 (2026-10-04, group-b, fee_units=30, transaction_count=4)?","exampleUseCases":[{"title":"Fee ranking across trading instruments","prompt":"I have daily fee observations for two instrument groups over the past week — can you rank all the rows numerically by fee_units and give me the transaction-count-weighted mean? Here are my records: row-1 (2026-10-01, equities, fee_units=5, transaction_count=100), row-2 (2026-10-02, derivatives, fee_units=12, transaction_count=50), row-3 (2026-10-03, equities, fee_units=8, transaction_count=200)."},{"title":"Weighted average cost analysis for settlement fees","prompt":"Can you compute the transaction-count-weighted mean of my settlement fee_units data and also rank the rows? I've got 5 records: row-1 (2026-11-01, FX, fee_units=0.50, transaction_count=400), row-2 (2026-11-02, FX, fee_units=0.75, transaction_count=300), row-3 (2026-11-03, bonds, fee_units=1.20, transaction_count=150), row-4 (2026-11-04, bonds, fee_units=0.90, transaction_count=250), row-5 (2026-11-05, FX, fee_units=0.60, transaction_count=500)."},{"title":"Comparing fee burdens across clearing groups","prompt":"I want numeric row ordering and a weighted mean for transaction fees across my clearing groups — analyze fee_units weighted by transaction_count for these rows: row-A (2026-09-15, clearing-tier-1, fee_units=22, transaction_count=80), row-B (2026-09-16, clearing-tier-2, fee_units=18, transaction_count=120), row-C (2026-09-17, clearing-tier-1, fee_units=25, transaction_count=60)."}],"resultDescription":"Returns two local analytical reports: (1) a numeric row ordering ranking all input rows by the selected field (fee_units or transaction_count), and (2) a secondary-measure weighted mean where fee_units values are averaged using transaction_count as weights (or vice versa). No external data or predictions — purely deterministic computation on the supplied rows.","failureModes":["Empty or missing rows array returns validation error","More than 200 rows exceeds maxItems limit and will be rejected","Rows with null fee_units or transaction_count may be excluded from weighted mean calculation","Invalid date format (not YYYY-MM-DD) causes schema validation failure","Missing required fields (row_id, instrument_group, date) cause row-level rejection","Payment failure via x402 protocol prevents execution"],"whenToPreferThis":"Choose this endpoint when you have tabular transaction fee data (up to 200 rows) and need both a numeric rank ordering of rows and a transaction-count-weighted mean of fee values — all computed locally without any external lookups. Ideal for quick, deterministic fee analytics at very low cost ($0.01 USDC for 2 reports). Not suitable if you need forecasting, live market data, or more than 200 rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T12:53:59.697Z","isFirstParty":false,"canonicalSlug":"transaction-fee-observations-numeric-row-ordering-secondary-measure-41c71d78"}