---
title: "Get tariff for a system"
method: GET
path: "/api/v4/systems/config/{system_id}/tariff"
tags: ["Tariff"]
---

# Get tariff for a system

`GET /api/v4/systems/config/{system_id}/tariff`

## Request

- Base URL: `https://api-qa2.enphaseenergy.com`
- URL: `https://api-qa2.enphaseenergy.com/api/v4/systems/config/{system_id}/tariff`
- Auth: none declared
- TypeScript: <https://skmtc.dev/enphase/apis/commissioning-api/docs/api/v4/systems/config/:system_id/tariff/get.ts> (a function with typed inputs; its response is checked against the schema)

Get tariff for a system

## Path parameters

- `system_id` integer, required

## Response `200`

OK

- object
  - `tariff` object
    - `currency_type` object: Currency type
      - `code` string: Tariff currency code. e.g='USD'
    - `single_rate` object: Single rate. It will have following fields.
      - `rate` string: The usage rate. e.g=0.0
      - `sell` string: FiT rate. e.g=0.0
    - `seasons` object[]: ToU seasons. It will have following fields.
      - `id` string: Tou year id. e.g='all_year_long'
      - `start` string: Start of Season. e.g='1/1'
      - `days` object[]: ToU seasons. It will have following fields
        - `id` string: ToU days id. e.g='all_days'
        - `days` string: Comma separated days. e.g='Sun,Mon,Tue,Wed,Thu,Fri,Sat'
        - `must_charge_start` integer: Must charge start field. e.g=0
        - `must_charge_duration` integer: Must charge duration field. e.g=0
        - `periods` object[]: Periods. It will have following fields
          - `id` string: Period id. e.g='period_1'
          - `start` string: Period start. e.g=0
          - `rate` string: Period rate. e.g=0.0
          - `error` object: Dynamic fields will appear.
      - `enable_charge_from_grid` boolean
      - `enable_discharge_to_grid` boolean
    - `seasons_sell` object[]: ToU seasons sell. It will have following fields.
      - `id` string: Tou year id. e.g='all_year_long'
      - `start` string: Start of Season. e.g='1/1'
      - `days` object[]: ToU seasons. It will have following fields
        - `id` string: ToU days id. e.g='all_days'
        - `days` string: Comma separated days. e.g='Sun,Mon,Tue,Wed,Thu,Fri,Sat'
        - `must_charge_start` integer: Must charge start field. e.g=0
        - `must_charge_duration` integer: Must charge duration field. e.g=0
        - `periods` object[]: Periods. It will have following fields
          - `id` string: Period id. e.g='period_1'
          - `start` string: Period start. e.g=0
          - `rate` string: Period rate. e.g=0.0
          - `error` object: Dynamic fields will appear.
  - `task` object
    - `status` string: Status of latest tariff update task
    - `created_at` string: Created time of latest tariff update task

## Other responses

- `401`: Unauthorized
- `404`: Not found
- `405`: Method Not Allowed
- `429`: Too Many Requests
- `501`: Not Implemented

---

[API](https://skmtc.dev/enphase/apis/commissioning-api.md) - [All operations](https://skmtc.dev/enphase/apis/commissioning-api/llms.txt) - [OpenAPI document](https://skmtc.dev/enphase/apis/commissioning-api/revisions/73a4001046e2?raw)
