{"uid":"cap_BDbF27FG0eM5sSEieGwHM","slug":"brainiac-water-consumption-anomaly-detection-fe4b3242","name":"BRAINIAC Water Consumption Anomaly Detection","description":"Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.","url":"https://www.brainiac.software/api/v1/environmental-intelligence/water-consumption-anomaly-detect?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","maxLength":200000},"asOf":{"type":"string","maxLength":40},"file":{"type":"object","required":["fileBase64"],"properties":{"role":{"type":"string","maxLength":80},"filename":{"type":"string","maxLength":180,"minLength":1},"mediaType":{"enum":["text/plain","text/csv","application/json","application/octet-stream"],"type":"string"},"fileBase64":{"type":"string","maxLength":12000000,"minLength":1}},"additionalProperties":false},"json":{"type":"string","maxLength":200000},"text":{"type":"string","maxLength":200000},"files":{"type":"array","items":{"type":"object","required":["fileBase64"],"properties":{"role":{"type":"string","maxLength":80},"filename":{"type":"string","maxLength":180,"minLength":1},"mediaType":{"enum":["text/plain","text/csv","application/json","application/octet-stream"],"type":"string"},"fileBase64":{"type":"string","maxLength":12000000,"minLength":1}},"additionalProperties":false},"maxItems":20},"factors":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"asOf":{"type":"string","maxLength":40},"name":{"type":"string","maxLength":160},"unit":{"type":"string","maxLength":40},"region":{"type":"string","maxLength":80},"source":{"type":"string","maxLength":200},"version":{"type":"string","maxLength":80},"scopeHint":{"enum":["1","2","3","any"],"type":"string"},"activityKey":{"type":"string","maxLength":120},"gCo2ePerUnit":{"type":"number","maximum":1000000000,"minimum":0},"kgCo2ePerUnit":{"type":"number","maximum":1000000,"minimum":0}},"additionalProperties":false},"maxItems":2000},"permits":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"source":{"type":"string","maxLength":200},"issuedAt":{"type":"string","maxLength":40},"authority":{"type":"string","maxLength":160},"expiresAt":{"type":"string","maxLength":40},"facilityId":{"type":"string","maxLength":80},"permitType":{"type":"string","maxLength":120},"permitNumber":{"type":"string","maxLength":80}},"additionalProperties":false},"maxItems":2000},"reports":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"source":{"type":"string","maxLength":200},"periodEnd":{"type":"string","maxLength":40},"periodStart":{"type":"string","maxLength":40},"totalKgCo2e":{"type":"number","maximum":1000000000000,"minimum":0},"scope1KgCo2e":{"type":"number","maximum":1000000000000,"minimum":0},"scope2KgCo2e":{"type":"number","maximum":1000000000000,"minimum":0},"scope3KgCo2e":{"type":"number","maximum":1000000000000,"minimum":0}},"additionalProperties":false},"maxItems":200},"suppliers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"unit":{"type":"string","maxLength":40},"source":{"type":"string","maxLength":200},"category":{"type":"string","maxLength":120},"factorId":{"type":"string","maxLength":80},"periodEnd":{"type":"string","maxLength":40},"factorAsOf":{"type":"string","maxLength":40},"supplierId":{"type":"string","maxLength":80},"periodStart":{"type":"string","maxLength":40},"spendAmount":{"type":"number","maximum":1000000000000,"minimum":0},"factorSource":{"type":"string","maxLength":200},"supplierName":{"type":"string","maxLength":160},"factorVersion":{"type":"string","maxLength":80},"reportedKgCo2e":{"type":"number","maximum":1000000000000,"minimum":0},"activityQuantity":{"type":"number","maximum":1000000000000,"minimum":0}},"additionalProperties":false},"maxItems":5000},"activities":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160},"unit":{"type":"string","maxLength":40},"scope":{"enum":["1","2","3"],"type":"string"},"region":{"type":"string","maxLength":80},"source":{"type":"string","maxLength":200},"quantity":{"type":"number","maximum":1000000000000,"minimum":0},"periodEnd":{"type":"string","maxLength":40},"facilityId":{"type":"string","maxLength":80},"activityKey":{"type":"string","maxLength":120},"periodStart":{"type":"string","maxLength":40}},"additionalProperties":false},"maxItems":5000},"waterRecords":{"type":"array","items":{"type":"object","properties":{"at":{"type":"string","maxLength":40},"id":{"type":"string","maxLength":80},"source":{"type":"string","maxLength":200},"periodEnd":{"type":"string","maxLength":40},"facilityId":{"type":"string","maxLength":80},"quantityM3":{"type":"number","maximum":1000000000000,"minimum":0},"denominator":{"type":"number","maximum":1000000000000,"minimum":0},"periodStart":{"type":"string","maxLength":40},"denominatorUnit":{"type":"string","maxLength":40}},"additionalProperties":false},"maxItems":5000},"waterAnomalyZ":{"type":"number","maximum":10,"minimum":1},"wasteManifests":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"side":{"enum":["shipper","receiver","left","right","a","b"],"type":"string"},"unit":{"type":"string","maxLength":40},"source":{"type":"string","maxLength":200},"quantity":{"type":"number","maximum":1000000000000,"minimum":0},"shippedAt":{"type":"string","maxLength":40},"wasteCode":{"type":"string","maxLength":80},"facilityId":{"type":"string","maxLength":80},"receivedAt":{"type":"string","maxLength":40},"description":{"type":"string","maxLength":200},"manifestNumber":{"type":"string","maxLength":80}},"additionalProperties":false},"maxItems":5000},"carbonIntensity":{"type":"object","properties":{"fetch":{"type":"boolean"},"regionId":{"type":"integer","maximum":30,"minimum":1}},"additionalProperties":false},"expiryWarningDays":{"type":"number","maximum":3650,"minimum":0},"consistencyToleranceKg":{"type":"number","maximum":1000000000,"minimum":0}}},"responseSchema":{"type":"json","example":{"items":[{"at":"2026-01-01","id":"W1","meanM3":131,"source":"Caller-supplied meter","zScore":-0.4657,"stdevM3":66.5733,"anomalous":false,"facilityId":"PLANT-1","quantityM3":100,"paidEsgDatabaseUsed":false},{"at":"2026-01-08","id":"W2","meanM3":131,"source":"Caller-supplied meter","zScore":-0.3905,"stdevM3":66.5733,"anomalous":false,"facilityId":"PLANT-1","quantityM3":105,"paidEsgDatabaseUsed":false},{"at":"2026-01-15","id":"W3","meanM3":131,"source":"Caller-supplied meter","zScore":-0.4957,"stdevM3":66.5733,"anomalous":false,"facilityId":"PLANT-1","quantityM3":98,"paidEsgDatabaseUsed":false},{"at":"2026-01-22","id":"W4","meanM3":131,"source":"Caller-supplied meter","zScore":-0.4356,"stdevM3":66.5733,"anomalous":false,"facilityId":"PLANT-1","quantityM3":102,"paidEsgDatabaseUsed":false},{"at":"2026-01-29","id":"W5","meanM3":131,"source":"Caller-supplied meter","zScore":1.7875,"stdevM3":66.5733,"anomalous":false,"facilityId":"PLANT-1","quantityM3":250,"paidEsgDatabaseUsed":false}],"status":"detected","findings":[],"checkedAt":"2026-11-04T21:00:00.000Z","limitations":["Emission factors, activities, supplier rows, carbon reports, water records, permits, and waste manifests are copied only from labeled fields supplied by the caller, or from key-free Carbon Intensity API / disclosed public-style factor references when explicitly used.","No paid ESG database is used and no API key is required.","Emission outputs always echo factor source, version, and timestamp/asOf when a factor is applied. Missing values are not invented.","Disclosed public-style DEFRA/eGRID reference factors are used only when the caller does not supply a matching factor.","Evidence reports aggregate only sections for which records were supplied or optionally fetched."],"seriesCount":1,"anomalyCount":0,"apiKeyRequired":false,"paidProviderUsed":false,"paidEsgDatabaseUsed":false,"carbonIntensityFetched":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jS2-ev_wOcU74ECam3z7P","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes time-series water meter data to detect statistically anomalous consumption readings using z-score analysis across facilities.","exampleAgentPrompt":"Analyze this CSV of weekly water meter readings from PLANT-1 for 2026 and flag any anomalous consumption events — tell me the z-score for each reading and which ones are statistically unusual.","exampleUseCases":[{"title":"Weekly water audit for manufacturing plant","prompt":"Here's a CSV of weekly water meter readings from our manufacturing facility PLANT-1 for all of 2025 — can you run anomaly detection on it and tell me which weeks had statistically abnormal consumption, with z-scores?"},{"title":"ESG compliance water anomaly check","prompt":"I need to verify our water consumption records before filing our ESG report. Here's the JSON data with water usage by site — flag any readings that look anomalous so we can investigate before submission."},{"title":"Detecting potential pipe leak from meter data","prompt":"Our water bills have been unusually high and I suspect a leak. I have 6 months of daily water meter readings from our facility in a CSV — can you detect any anomalous spikes or unusual patterns in the consumption data?"}],"resultDescription":"Returns a JSON object with an array of items, each containing the date, record ID, facility ID, quantity in cubic meters, mean, standard deviation, z-score, and an anomalous flag. Also includes a summary with total series count, anomaly count, findings list, limitations, whether paid ESG databases were used, and a checkedAt timestamp.","failureModes":["Malformed or empty CSV/JSON input returns an error","Insufficient data points may prevent meaningful z-score calculation","Very short time series may yield unreliable statistical baselines","Truncated input exceeding maxLength limits may be rejected","Missing required water quantity or date fields in input data"],"whenToPreferThis":"Use this endpoint when you need a pay-per-call, no-account-required water consumption anomaly detector that provides z-score-based statistical analysis with full audit transparency — especially for ESG compliance workflows where you need explicit disclosure of whether paid data sources were used. Prefer over generic anomaly detectors when working in environmental/sustainability contexts with water meter time-series data priced at a fixed $0.03 USDC per call on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-12T18:39:47.301Z","isFirstParty":false,"canonicalSlug":"brainiac-water-consumption-anomaly-detection-fe4b3242"}