{"uid":"cap_KAG1R1wIutrbs7oTPAzeC","slug":"water-service-coverage-numeric-interval-filter-secondary-measure-2629acd6","name":"Water Service Coverage — Numeric Interval Filter + Secondary-Measure Weighted Mean","description":"Water service coverage — Numeric interval filter + Secondary-measure weighted mean: Numeric interval filter + Secondary-measure weighted mean for supplied water service coverage records (served_households, total_households). 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-19-132?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","region","date","served_households","total_households"],"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},"total_households":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"served_households":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","region":"group-a","row_id":"row-1","total_households":1,"served_households":10},{"date":"2026-10-02","region":"group-b","row_id":"row-2","total_households":2,"served_households":20},{"date":"2026-10-03","region":"group-a","row_id":"row-3","total_households":3,"served_households":15},{"date":"2026-10-04","region":"group-b","row_id":"row-4","total_households":4,"served_households":30}],"maxItems":200,"minItems":1},"field":{"enum":["served_households","total_households"],"type":"string","default":"served_households"},"maximum":{"type":"number","default":100,"maximum":1000000000000,"minimum":-1000000000000},"minimum":{"type":"number","default":0,"maximum":1000000000000,"minimum":-1000000000000}}},"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_Vel154qYdBiLAv37BU7Yn","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":"Filters water service coverage records by a numeric interval on a chosen field and computes a secondary-measure weighted mean, returning two analytical reports for up to 200 rows.","exampleAgentPrompt":"I have up to 200 rows of water service coverage data with served_households and total_households — can you filter them to only include rows where served_households is between 5 and 50, then compute the secondary-measure weighted mean across those records?","exampleUseCases":[{"title":"Regional water coverage gap analysis","prompt":"I have a dataset of 150 water service coverage records across multiple regions. Filter rows where total_households is between 100 and 5000, and give me the weighted mean of served_households across those filtered records."},{"title":"Underserved household threshold reporting","prompt":"Can you take my water coverage data and find all records where served_households falls between 0 and 200, then compute the weighted mean using total_households as the secondary measure?"},{"title":"Utility audit for specific service bands","prompt":"I need two analytical reports on this water service dataset: first filter the rows where total_households is between 500 and 10000, then compute the secondary-measure weighted mean — I'm auditing coverage rates for mid-size service areas."}],"resultDescription":"Returns two analytical reports: (1) the subset of input rows whose chosen field value falls within the specified [minimum, maximum] interval, and (2) the secondary-measure weighted mean computed over the served_households and total_households fields for those filtered records.","failureModes":["Fewer than 1 row provided — request rejected","More than 200 rows submitted — exceeds maximum batch size","Invalid date format (must be YYYY-MM-DD) — validation error","Numeric values outside allowed range (±1,000,000,000,000) — schema rejection","Missing required fields (row_id, region, date, served_households, total_households) — request rejected","Payment not included or insufficient — 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you have pre-collected water service coverage records (served_households, total_households) and need both a numeric interval filter and a weighted mean computation in a single paid call. It is ideal for small-to-medium datasets (up to 200 rows) where no live lookup, external data fetch, or prediction is needed — purely local analytical computation on supplied data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T12:39:38.770Z","isFirstParty":false,"canonicalSlug":"water-service-coverage-numeric-interval-filter-secondary-measure-2629acd6"}