{"uid":"cap_MhofATpoS4qf8YV-yWJV7","slug":"agricultural-output-trailing-mean-series-secondary-measure-weighted-acd4d726","name":"Agricultural Output Trailing Mean Series + Secondary-Measure Weighted Mean","description":"Agricultural output — Trailing mean series + Secondary-measure weighted mean: Trailing mean series + Secondary-measure weighted mean for supplied agricultural output records (output_tonnes, cultivated_hectares). 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-economics-16-151?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","region","date","output_tonnes","cultivated_hectares"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"region":{"type":"string","default":"","maxLength":80},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"output_tonnes":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"cultivated_hectares":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","region":"group-a","row_id":"row-1","output_tonnes":10,"cultivated_hectares":1},{"date":"2026-10-02","region":"group-b","row_id":"row-2","output_tonnes":20,"cultivated_hectares":2},{"date":"2026-10-03","region":"group-a","row_id":"row-3","output_tonnes":15,"cultivated_hectares":3},{"date":"2026-10-04","region":"group-b","row_id":"row-4","output_tonnes":30,"cultivated_hectares":4}],"maxItems":200,"minItems":1},"field":{"enum":["output_tonnes","cultivated_hectares"],"type":"string","default":"output_tonnes"},"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__Vv-rzflTfvoUwGIc4ImF","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 cultivated_hectares-weighted mean for supplied agricultural output records (output_tonnes, cultivated_hectares) over up to 200 rows.","exampleAgentPrompt":"Can you compute a trailing mean series with a window of 3 and a cultivated_hectares-weighted mean for my agricultural output records — I have output_tonnes and cultivated_hectares for four regions from 2026-10-01 to 2026-10-04, with row IDs row-1 through row-4?","exampleUseCases":[{"title":"Smoothing regional crop yield trends","prompt":"I have monthly output_tonnes and cultivated_hectares data for 5 farming regions over the past year — can you run a trailing mean with a window of 4 and also give me the hectares-weighted mean for output_tonnes across all those rows?"},{"title":"Weighted harvest analysis by farm size","prompt":"I need to weight-average our wheat output_tonnes by cultivated_hectares across 50 farm records from 2025 and also get the rolling 6-period mean series — here are the rows with row_id, region, date, output_tonnes, and cultivated_hectares."},{"title":"Quality-checking agricultural time-series smoothing","prompt":"Can you take these 30 rows of rice production data — each with a date, region, output_tonnes, and cultivated_hectares — and produce both the trailing mean series over a window of 5 and the cultivated_hectares-weighted mean so I can compare the two?"}],"resultDescription":"Returns two independent analytical reports: (1) a trailing mean series showing the rolling average of the selected field (output_tonnes or cultivated_hectares) over the specified window size for each row, and (2) a cultivated_hectares-weighted mean of the selected field across the supplied records. Both reports are computed locally with no external lookups.","failureModes":["Fewer than 1 row supplied — minimum 1 row required","More than 200 rows supplied — exceeds maximum limit","Invalid date format (must match YYYY-MM-DD pattern)","Window size less than 2 or greater than 200","Missing required fields: row_id, region, date, output_tonnes, or cultivated_hectares","Null values in both primary and secondary measure fields preventing computation","Payment not completed — x402 payment of 0.01 USDC required per call"],"whenToPreferThis":"Choose this endpoint when you need both a trailing moving-average time series and a secondary-measure (cultivated_hectares) weighted mean computed together on agricultural records in a single call at low cost ($0.01 USDC for both reports). Ideal for small-to-medium datasets (up to 200 rows) where no external data lookup or prediction is needed — just local statistical computation on your own supplied records.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T12:47:19.007Z","isFirstParty":false,"canonicalSlug":"agricultural-output-trailing-mean-series-secondary-measure-weighted-acd4d726"}