{"uid":"cap_r0gFd6hQowrol-mw3BXki","slug":"brainiac-building-energy-meter-reading-anomaly-detector-90031556","name":"BRAINIAC Building Energy Meter Reading Anomaly Detector","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/building-energy/meter-reading-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":["mediaType","fileBase64"],"properties":{"filename":{"type":"string","maxLength":180,"minLength":1},"mediaType":{"enum":["text/plain","text/csv","application/json"],"type":"string"},"fileBase64":{"type":"string","maxLength":12000000,"minLength":1}},"additionalProperties":false},"json":{"type":"string","maxLength":200000},"text":{"type":"string","maxLength":200000},"bills":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"cost":{"type":"number","maximum":1000000000,"minimum":0},"unit":{"type":"string","maxLength":40},"utility":{"type":"string","maxLength":80},"quantity":{"type":"number","maximum":1000000000,"minimum":0},"periodEnd":{"type":"string","maxLength":40},"buildingId":{"type":"string","maxLength":80},"periodStart":{"type":"string","maxLength":40}},"additionalProperties":false},"maxItems":200},"meters":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":200},"unit":{"type":"string","maxLength":40},"utility":{"type":"string","maxLength":80},"buildingId":{"type":"string","maxLength":80}},"additionalProperties":false},"maxItems":200},"tariffs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"asOf":{"type":"string","maxLength":40},"rate":{"type":"number","maximum":1000000,"minimum":0},"unit":{"type":"string","maxLength":40},"utility":{"type":"string","maxLength":80},"fixedCharge":{"type":"number","maximum":1000000000,"minimum":0}},"additionalProperties":false},"maxItems":100},"readings":{"type":"array","items":{"type":"object","properties":{"at":{"type":"string","maxLength":40},"id":{"type":"string","maxLength":80},"unit":{"type":"string","maxLength":40},"value":{"type":"number","maximum":1000000000,"minimum":0},"meterId":{"type":"string","maxLength":80},"buildingId":{"type":"string","maxLength":80},"cumulative":{"type":"boolean"}},"additionalProperties":false},"maxItems":1000},"buildings":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"area":{"type":"number","maximum":1000000000,"minimum":0},"name":{"type":"string","maxLength":200},"areaUnit":{"type":"string","maxLength":40}},"additionalProperties":false},"maxItems":100},"equipment":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":200},"type":{"type":"string","maxLength":80},"setpoint":{"type":"number","maximum":200,"minimum":-100},"buildingId":{"type":"string","maxLength":80},"efficiency":{"type":"number","maximum":1000000,"minimum":0},"faultCount":{"type":"number","maximum":1000000,"minimum":0},"returnTemp":{"type":"number","maximum":200,"minimum":-100},"supplyTemp":{"type":"number","maximum":200,"minimum":-100},"installedAt":{"type":"string","maxLength":40},"capacityUnit":{"type":"string","maxLength":40},"runtimeHours":{"type":"number","maximum":1000000000,"minimum":0},"lastServiceAt":{"type":"string","maxLength":40},"ratedCapacity":{"type":"number","maximum":1000000000,"minimum":0},"nextServiceDue":{"type":"string","maxLength":40},"ratedEfficiency":{"type":"number","maximum":1000000,"minimum":0}},"additionalProperties":false},"maxItems":200},"occupancy":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"occupants":{"type":"number","maximum":1000000,"minimum":0},"periodEnd":{"type":"string","maxLength":40},"buildingId":{"type":"string","maxLength":80},"periodStart":{"type":"string","maxLength":40},"hoursOccupied":{"type":"number","maximum":1000000,"minimum":0}},"additionalProperties":false},"maxItems":200}}},"responseSchema":{"type":"json","example":{"items":[{"id":"AN-1","to":"2026-10-08","from":"2026-10-01","unit":"kWh","score":-0.5774,"meterId":"M-1","unusual":false,"quantity":70,"buildingId":"","explanation":"Daily usage 10 kWh is within 2 standard deviations of leave-one-out baseline mean 16.6667 (leave_one_out_mean_daily).","baselineMean":16.6667,"dailyQuantity":10,"scoreSupplied":true,"baselineMethod":"leave_one_out_mean_daily","tariffInvented":false,"savingsGuaranteed":false,"baselineMeanSupplied":true},{"id":"AN-2","to":"2026-10-15","from":"2026-10-08","unit":"kWh","score":-0.5774,"meterId":"M-1","unusual":false,"quantity":70,"buildingId":"","explanation":"Daily usage 10 kWh is within 2 standard deviations of leave-one-out baseline mean 16.6667 (leave_one_out_mean_daily).","baselineMean":16.6667,"dailyQuantity":10,"scoreSupplied":true,"baselineMethod":"leave_one_out_mean_daily","tariffInvented":false,"savingsGuaranteed":false,"baselineMeanSupplied":true},{"id":"AN-3","to":"2026-10-22","from":"2026-10-15","unit":"kWh","score":-0.5774,"meterId":"M-1","unusual":false,"quantity":70,"buildingId":"","explanation":"Daily usage 10 kWh is within 2 standard deviations of leave-one-out baseline mean 16.6667 (leave_one_out_mean_daily).","baselineMean":16.6667,"dailyQuantity":10,"scoreSupplied":true,"baselineMethod":"leave_one_out_mean_daily","tariffInvented":false,"savingsGuaranteed":false,"baselineMeanSupplied":true},{"id":"AN-4","to":"2026-10-29","from":"2026-10-22","unit":"kWh","score":3,"meterId":"M-1","unusual":true,"quantity":210,"buildingId":"","explanation":"Daily usage 30 kWh is outside 50–150% of leave-one-out baseline mean 10 (leave_one_out_mean_daily; stdev unavailable).","baselineMean":10,"dailyQuantity":30,"scoreSupplied":true,"baselineMethod":"leave_one_out_mean_daily","tariffInvented":false,"savingsGuaranteed":false,"baselineMeanSupplied":true}],"status":"detected","findings":[{"code":"usage_anomaly","kind":"observation","detail":"Daily usage 30 kWh is outside 50–150% of leave-one-out baseline mean 10 (leave_one_out_mean_daily; stdev unavailable).","subject":"M-1"}],"checkedAt":"2026-11-04T21:00:00.000Z","limitations":["Meter readings, bills, tariffs, equipment records, and occupancy rows are copied only from labeled fields supplied by the caller.","Consumption and cost use supplied units and tariffs only. Missing tariffs are not invented.","Unusual usage is compared against a baseline calculated from supplied readings for the same meter or utility.","Buildings are compared only when measurement periods and units are compatible.","Equipment performance and savings are never invented. HVAC and connected equipment are never controlled."],"unusualCount":1,"tariffInvented":false,"savingsGuaranteed":false,"equipmentControlled":false,"performanceInvented":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_hcw04MoXpeW-jul9jsehL","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes building energy meter readings to detect anomalous consumption periods using statistical baseline comparison","exampleAgentPrompt":"Can you check our building's electricity meter readings for the past three months and flag any periods where daily usage looks statistically unusual compared to the baseline? I'll give you the meter ID M-42 and the kWh readings in CSV format.","exampleUseCases":[{"title":"Spike detection after HVAC replacement","prompt":"We just replaced our HVAC system last month and I want to know if the electricity meter readings since then look anomalous compared to the historical baseline — here's the kWh data for meter M-7 as a CSV going back 6 months, can you flag anything unusual?"},{"title":"Energy audit anomaly report","prompt":"I'm doing an energy audit for our office building and need to identify which weekly billing periods had abnormal electricity or gas consumption. Here are the meter readings and utility bills in JSON format — please score each period and explain what's unusual."},{"title":"Automated leak or waste detection","prompt":"Set up a check on our building meter data as of today and tell me if any of the last 30 days of readings for meters M-1 through M-5 are outside the normal range — I want to catch any leaks or unexpected equipment running overnight."}],"resultDescription":"Returns a list of anomaly items, each covering a time window with an anomaly score, daily quantity, baseline mean, unusual flag (true/false), and a plain-English explanation of why the period is or isn't anomalous. Also includes an overall status ('detected' or similar) and a findings array summarizing key observations with codes and details.","failureModes":["Insufficient readings to compute a meaningful baseline (too few data points)","Missing required meter or reading fields cause validation errors","Readings with inconsistent units across meters produce unreliable scores","CSV or JSON parsing failures if input is malformed","All readings flagged as normal if data has very low variance (no anomalies detected)","Truncated input due to maxLength limits on large datasets"],"whenToPreferThis":"Use this endpoint when you need statistical anomaly detection on time-series building energy meter data, especially when you have structured readings arrays, bills, or CSV/JSON files and want per-period scoring with explanations. It is better than generic time-series anomaly tools because it understands utility-specific concepts like tariffs, billing periods, and multiple meters per building. Prefer it over manual threshold checks when you need a leave-one-out or baseline-mean methodology with interpretable scores.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-12T12:37:16.383Z","isFirstParty":false,"canonicalSlug":"brainiac-building-energy-meter-reading-anomaly-detector-90031556"}