FiskilFiskilFiskil DocsFiskil Docs
Log InSign Up
GuidesAPI ReferenceChangelog

Mobile menu

HomeFiskilFiskil
Log InSign Up
Introduction

Getting Started

AuthenticationErrorsPagination

CORE RESOURCES

Linking Accounts

BANKING API

ENERGY API

IDENTITY

Usage

Get energy usage data from the Fiskil API.

AI Actions

The Usage endpoint provides detailed energy consumption data, including interval data where available.

Endpoints

MethodEndpointDescription
GET/v1/usageGet usage data for an end user

The Usage Model

AttributeTypeDescription
service_point_idstringNMI or service point identifier
register_idstringMeter register identifier
interval_startstringStart of the interval period
interval_endstringEnd of the interval period
valuenumberUsage value
unitstringUnit of measurement (kWh)
qualitystringData quality indicator

Example Response

{
  "service_point_id": "NMI123456789",
  "register_id": "E1",
  "interval_start": "2023-01-15T00:00:00+11:00",
  "interval_end": "2023-01-15T00:30:00+11:00",
  "value": 0.45,
  "unit": "kWh",
  "quality": "ACTUAL"
}

Get Usage Data

Retrieve energy usage data for an end user.

GET https://api.fiskil.com/v1/usage

Query Parameters

ParameterTypeRequiredDescription
end_user_idstringYesThe ID of the end user
service_point_idstringNoFilter by service point (NMI)
from_datestringNoStart date (YYYY-MM-DD)
to_datestringNoEnd date (YYYY-MM-DD)
interval_typestringNoInterval granularity (INTERVAL, DAILY)
page[size]integerNoNumber of results (max 1000)
page[after]stringNoCursor for pagination

Example Request

curl --request GET \
  --url 'https://api.fiskil.com/v1/usage?end_user_id=482c0e2b-5866-46b1-b795-220b7bba45b5&from_date=2023-01-01&to_date=2023-01-31' \
  --header 'Authorization: Bearer {access_token}' \
  --header 'accept: application/json; charset=UTF-8'
const response = await fetch(
  'https://api.fiskil.com/v1/usage?end_user_id=482c0e2b-5866-46b1-b795-220b7bba45b5&from_date=2023-01-01&to_date=2023-01-31',
  {
    method: 'GET',
    headers: {
      'Authorization': 'Bearer {access_token}',
      'accept': 'application/json; charset=UTF-8'
    }
  }
);

const usage = await response.json();
import requests

response = requests.get(
    'https://api.fiskil.com/v1/usage',
    params={
        'end_user_id': '482c0e2b-5866-46b1-b795-220b7bba45b5',
        'from_date': '2023-01-01',
        'to_date': '2023-01-31'
    },
    headers={
        'Authorization': 'Bearer {access_token}',
        'accept': 'application/json; charset=UTF-8'
    }
)

usage = response.json()

Example Response

{
  "data": [
    {
      "service_point_id": "NMI123456789",
      "register_id": "E1",
      "interval_start": "2023-01-15T00:00:00+11:00",
      "interval_end": "2023-01-15T00:30:00+11:00",
      "value": 0.45,
      "unit": "kWh",
      "quality": "ACTUAL"
    },
    {
      "service_point_id": "NMI123456789",
      "register_id": "E1",
      "interval_start": "2023-01-15T00:30:00+11:00",
      "interval_end": "2023-01-15T01:00:00+11:00",
      "value": 0.38,
      "unit": "kWh",
      "quality": "ACTUAL"
    }
  ],
  "links": {
    "next": "https://api.fiskil.com/v1/usage?end_user_id=482c0e2b-5866-46b1-b795-220b7bba45b5&page[after]=xyz789"
  }
}

Data Quality Indicators

QualityDescription
ACTUALActual meter reading
ESTIMATEDEstimated reading (meter couldn't be read)
SUBSTITUTEDSubstituted value (data correction)

Interval Types

  • INTERVAL: 15 or 30-minute interval data (where smart meters are installed)
  • DAILY: Daily aggregated usage

Use Cases

  • Energy Monitoring: Track consumption patterns
  • Bill Prediction: Estimate future bills based on usage
  • Solar Analysis: Understand generation vs consumption
  • Peak Usage Detection: Identify high-usage periods

Related Endpoints

  • Service Points - Get NMI details
  • Billing - Get billing information
  • DER - Get solar/battery data

Was this page helpful?

TransactionsCreate auth session

On this page

EndpointsThe Usage ModelExample ResponseGet Usage DataQuery ParametersExample RequestExample ResponseData Quality IndicatorsInterval TypesUse CasesRelated Endpoints