{"uid":"cap_DkKn4UmV92iN9qyw8iBe3","slug":"energy-readings-adjacent-row-changes-3197f415","name":"Energy Readings Adjacent Row Changes","description":"Energy readings - Adjacent row changes: Adjacent row changes for Energy readings. Up to 200 supplied typed records. Local numeric and data-quality processing; no external enrichment or forecasting. One of 25 profiles or calculations across 20 shared operations in this sector. 0.01 USDC includes one bounded adjacent row changes deliverable.","url":"https://market.datapackvibe.com/x402/assistant-sector-analytics-energy-readings-period-change?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","meter","date","kwh","cost"],"properties":{"kwh":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"cost":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"meter":{"type":"string","default":"","maxLength":80},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1}},"additionalProperties":false},"default":[{"kwh":10,"cost":1,"date":"2026-10-01","meter":"group-a","row_id":"row-1"},{"kwh":20,"cost":2,"date":"2026-10-02","meter":"group-b","row_id":"row-2"},{"kwh":15,"cost":3,"date":"2026-10-03","meter":"group-a","row_id":"row-3"},{"kwh":30,"cost":4,"date":"2026-10-04","meter":"group-b","row_id":"row-4"}],"maxItems":200,"minItems":1},"field":{"enum":["kwh","cost"],"type":"string","default":"kwh"}}},"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_5BpmAoKwpL2XozlpGew78","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 adjacent row-to-row differences (period changes) for energy reading records (kWh or cost) across up to 200 supplied data points","exampleAgentPrompt":"I have a list of daily energy meter readings with kWh values from meter group-a and group-b for October 2026 — can you calculate the adjacent row-to-row changes in kWh across those readings?","exampleUseCases":[{"title":"Detect energy consumption spikes","prompt":"I've got 50 daily kWh readings from our building meters — can you compute the change in kWh between each consecutive row so I can spot any sudden spikes or drops?"},{"title":"Track cost changes between billing periods","prompt":"Here are our electricity cost records for the last quarter, one row per day — can you calculate the adjacent row differences in cost so I can see how charges shifted from day to day?"},{"title":"Monitor multi-meter usage deltas","prompt":"I have readings from multiple meters labeled group-a and group-b across several dates — can you run the adjacent row change calculation on the kWh field so I can compare how each meter's consumption is trending?"}],"resultDescription":"Returns row-level period change (delta) values for the selected field (kWh or cost), computed as the difference between each row and its adjacent predecessor. Results are locally processed with no external enrichment, covering up to 200 input records per call.","failureModes":["Fewer than 1 row supplied — returns validation error","More than 200 rows supplied — rejected by maxItems constraint","Invalid date format (not YYYY-MM-DD) — schema validation failure","Missing required fields (row_id, meter, date) — rejected","Field enum value not 'kwh' or 'cost' — schema validation error","Numeric values outside ±1,000,000,000,000 bounds — rejected"],"whenToPreferThis":"Choose this endpoint when you need fast, local computation of row-to-row differences in energy meter data (kWh or cost) without any external API dependencies or forecasting. Ideal for time-series delta analysis on batches of up to 200 energy readings where you want consistent, bounded numeric processing at minimal cost ($0.01 USDC per call).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T00:59:45.917Z","isFirstParty":false,"canonicalSlug":"energy-readings-adjacent-row-changes-3197f415"}