{"uid":"cap_rRbrZeLi3MzLqQGCbWZCA","slug":"transaction-fee-observations-trailing-mean-series-two-measure-8d5768d6","name":"Transaction Fee Observations — Trailing Mean Series + Two-Measure Correlation","description":"Transaction fee observations — Trailing mean series + Two-measure correlation: Trailing mean series + Two-measure correlation 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-150?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"},"window":{"type":"integer","default":2,"maximum":200,"minimum":2}}},"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_6l-vm1FKumkwdGT_0fEiy","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 trailing moving-average series and a two-measure Pearson/rank correlation report for up to 200 rows of supplied transaction fee observation data (fee_units, transaction_count).","exampleAgentPrompt":"Can you run a trailing mean series with a window of 3 on my transaction fee data (fee_units field) and also compute the correlation between fee_units and transaction_count? I have 4 rows: 2026-10-01 group-a fee_units=10 count=1, 2026-10-02 group-b fee_units=20 count=2, 2026-10-03 group-a fee_units=15 count=3, 2026-10-04 group-b fee_units=30 count=4.","exampleUseCases":[{"title":"Rolling fee smoothing for exchange report","prompt":"I have daily transaction fee data for two instrument groups over the past month — can you compute a trailing mean with a window of 5 on fee_units and also tell me how correlated fee_units is with transaction_count across my 120 rows?"},{"title":"Detecting fee-volume relationship for billing audit","prompt":"I need to know if there's a meaningful correlation between our fee_units and transaction_count in this dataset of 80 billing records, and I'd also like a smoothed trailing average series on fee_units using a window of 4."},{"title":"Instrument group fee trend analysis","prompt":"Can you calculate a 7-period trailing mean for transaction_count across these 150 fee observation rows grouped by instrument, and give me the two-measure correlation report between fee_units and transaction_count?"}],"resultDescription":"Returns two analytical reports: (1) a trailing mean series showing the rolling average of the selected field (fee_units or transaction_count) over the specified window size for each row, and (2) a two-measure correlation report quantifying the statistical relationship between fee_units and transaction_count across all supplied rows. Both reports are computed locally against the supplied data with no external lookups.","failureModes":["Fewer than 2 rows supplied (minItems:1 but window requires at least window-size rows for meaningful output)","Window size larger than number of rows results in NaN or null values for early rows","Invalid date format (must be YYYY-MM-DD pattern)","Exceeding 200 row limit causes rejection","Null values in fee_units or transaction_count may reduce correlation sample size","Missing required row fields (row_id, instrument_group, date) cause validation errors"],"whenToPreferThis":"Choose this endpoint when you have up to 200 rows of transaction fee observation records and need both a trailing moving-average time series AND a two-measure correlation report computed together for $0.01 USDC — ideal for lightweight statistical pre-processing of fee data without needing a full analytics platform or live data pipeline.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T12:34:12.687Z","isFirstParty":false,"canonicalSlug":"transaction-fee-observations-trailing-mean-series-two-measure-8d5768d6"}