{"uid":"cap_ad3YJqVWg1X1u_LvMQKAJ","slug":"humidity-observations-category-frequencies-secondary-measure-weighted-e96e6d16","name":"Humidity Observations — Category Frequencies + Secondary-Measure Weighted Mean","description":"Humidity observations — Category frequencies + Secondary-measure weighted mean: Category frequencies + Secondary-measure weighted mean for supplied humidity observations records (humidity_percent, observation_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-weather-04-109?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","station_group","date","humidity_percent","observation_count"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"station_group":{"type":"string","default":"","maxLength":80},"humidity_percent":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"observation_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","station_group":"group-a","humidity_percent":10,"observation_count":1},{"date":"2026-10-02","row_id":"row-2","station_group":"group-b","humidity_percent":20,"observation_count":2},{"date":"2026-10-03","row_id":"row-3","station_group":"group-a","humidity_percent":15,"observation_count":3},{"date":"2026-10-04","row_id":"row-4","station_group":"group-b","humidity_percent":30,"observation_count":4}],"maxItems":200,"minItems":1},"field":{"enum":["humidity_percent","observation_count"],"type":"string","default":"humidity_percent"}}},"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_oYteBmQnrjO7qV6fTXGsF","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 category frequencies and observation-count-weighted mean for up to 200 humidity observation records using local analytical engines, returning two independent statistical reports.","exampleAgentPrompt":"Can you run category frequency and weighted mean reports on these humidity readings? I have 4 rows: station group-a on 2026-10-01 with 10% humidity and 1 observation, group-b on 2026-10-02 with 20% humidity and 2 observations, group-a on 2026-10-03 with 15% humidity and 3 observations, and group-b on 2026-10-04 with 30% humidity and 4 observations — weight the mean by observation_count.","exampleUseCases":[{"title":"Humidity distribution across weather stations","prompt":"I have daily humidity readings from two weather station groups over the past week — can you calculate the frequency distribution of humidity categories and the observation-count-weighted average humidity across all records? Here are the rows with station group, date, humidity_percent, and observation_count."},{"title":"Monthly climate report aggregation","prompt":"I need two statistical reports on this month's humidity observations from our sensor network: category frequencies showing how often each humidity band appears, and a weighted mean of humidity_percent using observation_count as the weight. I have about 150 rows of data to submit."},{"title":"Comparing humidity patterns between site groups","prompt":"Can you analyze these 80 humidity observation records from our field stations — I need to see the category frequencies broken down by station_group and a weighted mean where observation_count is the secondary measure weight? The data covers dates in October 2026."}],"resultDescription":"Returns two independent analytical reports: (1) a category frequency table showing the distribution of humidity_percent values across defined categories, and (2) a weighted mean of the primary field (humidity_percent) using observation_count as the weight — both computed locally on the supplied rows without any external data lookup.","failureModes":["Empty rows array or missing required fields (row_id, date, humidity_percent, observation_count) cause validation errors","Exceeding 200 rows returns an error as the maximum batch size is 200","Invalid date format (not YYYY-MM-DD) triggers a pattern validation failure","Null values in humidity_percent or observation_count may affect weighted mean computation","Payment failure or insufficient USDC balance prevents endpoint access"],"whenToPreferThis":"Choose this endpoint when you have up to 200 humidity observation records and need both a category frequency distribution and a weighted mean calculated locally without any live data lookup, prediction, or external API call — ideal for batch statistical summarization of weather station data 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-24T12:53:42.816Z","isFirstParty":false,"canonicalSlug":"humidity-observations-category-frequencies-secondary-measure-weighted-e96e6d16"}