{"uid":"cap_CtnFB-nN6KFyKZkVQt1XB","slug":"elevation-samples-category-frequencies-secondary-measure-weighted-mean-32b7f45c","name":"Elevation Samples — Category Frequencies + Secondary-Measure Weighted Mean","description":"Elevation samples — Category frequencies + Secondary-measure weighted mean: Category frequencies + Secondary-measure weighted mean for supplied elevation samples records (elevation_m, sample_weight). 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-13-109?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","station_group","date","elevation_m","sample_weight"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"elevation_m":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"sample_weight":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"station_group":{"type":"string","default":"","maxLength":80}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","elevation_m":10,"sample_weight":1,"station_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","elevation_m":20,"sample_weight":2,"station_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","elevation_m":15,"sample_weight":3,"station_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","elevation_m":30,"sample_weight":4,"station_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["elevation_m","sample_weight"],"type":"string","default":"elevation_m"}}},"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_21NBsmY41TVwAaPTC3336","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 a sample-weight-based weighted mean for up to 200 elevation sample records, returning two analytical reports.","exampleAgentPrompt":"I have 4 elevation sample rows — row-1 at 10m with weight 1 in group-a on 2026-10-01, row-2 at 20m with weight 2 in group-b on 2026-10-02, row-3 at 15m with weight 3 in group-a on 2026-10-03, and row-4 at 30m with weight 4 in group-b on 2026-10-04 — can you give me both the category frequencies and the sample-weight weighted mean for the elevation_m field?","exampleUseCases":[{"title":"Station group elevation frequency audit","prompt":"I have 50 elevation readings from two weather station groups collected this month — can you compute the category frequencies and sample-weight weighted mean for the elevation_m values so I can see how the readings are distributed across groups?"},{"title":"Terrain survey weighted average analysis","prompt":"I've got 120 terrain survey samples with elevation in meters and a reliability weight for each row — please run the category frequency report and the weighted mean report on the elevation_m field using those reliability weights."},{"title":"Environmental monitoring data summary","prompt":"Here are 80 elevation sample records from our environmental monitoring network with dates, station groups, elevation in meters, and sample weights — give me two reports: the category frequencies and the secondary-measure weighted mean for elevation_m."}],"resultDescription":"Two analytical reports: (1) category frequencies showing how often each elevation category appears across the supplied rows, and (2) a weighted mean of the selected numeric field (elevation_m or sample_weight) computed using the sample_weight values as weights. Results are derived entirely from the supplied data with no external lookups.","failureModes":["More than 200 rows submitted — request exceeds the row limit and will be rejected","Missing required fields (row_id, station_group, date, elevation_m, sample_weight) cause validation errors","Invalid date format (must match YYYY-MM-DD pattern) triggers schema rejection","All sample_weight values are null or zero — weighted mean computation may be undefined","Malformed JSON body returns a 400-level error","Insufficient USDC balance or failed x402 payment prevents processing"],"whenToPreferThis":"Choose this endpoint when you have up to 200 elevation sample records and need both a category frequency distribution and a sample-weight-based weighted mean in a single call for $0.01 USDC. It is ideal for offline analytical summarization of geospatial or environmental survey data where no live lookup, external data enrichment, or prediction is required — just fast, local statistical computation on supplied rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:45:00.646Z","isFirstParty":false,"canonicalSlug":"elevation-samples-category-frequencies-secondary-measure-weighted-mean-32b7f45c"}