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

Plans

Get energy plan information from the Fiskil API.

AI Actions

The Plans endpoint provides information about energy plans and tariffs associated with an end user's accounts.

Endpoints

MethodEndpointDescription
GET/v1/plansGet plan details for an end user

The Plan Model

AttributeTypeDescription
idstringUnique plan identifier
account_idstringAssociated energy account ID
namestringPlan name
descriptionstringPlan description
fuel_typestringFuel type (ELECTRICITY, GAS, DUAL_FUEL)
tariff_typestringTariff structure type
effective_fromstringWhen the plan became effective
effective_tostringWhen the plan ends (if applicable)
ratesarrayRate/tariff information

Example Response

{
  "id": "plan_123",
  "account_id": "energy_acc_123",
  "name": "Residential Saver",
  "description": "Competitive rates for residential customers",
  "fuel_type": "ELECTRICITY",
  "tariff_type": "TIME_OF_USE",
  "effective_from": "2023-01-01",
  "effective_to": null,
  "rates": [
    {
      "rate_type": "PEAK",
      "unit_price": 0.35,
      "unit": "kWh",
      "time_of_use": {
        "start": "14:00",
        "end": "20:00",
        "days": ["WEEKDAY"]
      }
    },
    {
      "rate_type": "OFF_PEAK",
      "unit_price": 0.18,
      "unit": "kWh",
      "time_of_use": {
        "start": "20:00",
        "end": "14:00",
        "days": ["WEEKDAY", "WEEKEND"]
      }
    }
  ]
}

Get Plans

Retrieve plan information for an end user's energy accounts.

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

Query Parameters

ParameterTypeRequiredDescription
end_user_idstringYesThe ID of the end user
account_idstringNoFilter by specific account ID
page[size]integerNoNumber of results (max 1000)
page[after]stringNoCursor for pagination

Example Request

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

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

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

plans = response.json()

Tariff Types

TypeDescription
FLATSingle rate for all usage
TIME_OF_USEDifferent rates based on time of day
TIEREDRates change based on usage tiers
DEMANDIncludes demand charges

Rate Types

TypeDescription
PEAKPeak period rate
OFF_PEAKOff-peak period rate
SHOULDERShoulder period rate
CONTROLLED_LOADControlled load (hot water, etc.)
FEED_INSolar feed-in tariff

Related Endpoints

  • Energy Accounts - Get account details
  • Usage - Get usage to calculate costs

Was this page helpful?

PermissionsProducts

On this page

EndpointsThe Plan ModelExample ResponseGet PlansQuery ParametersExample RequestTariff TypesRate TypesRelated Endpoints