> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nox.energy/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Households Savings

> Get, per household and per day, the savings NOX steering brings the household.


 `end_user_savings` is the estimated saving on the energy bill of the household: better
 efficiency of the heat pump, more self-consumption of solar production and, on a dynamic tariff,
 cheaper hours. Because the tariff of the household is not known to NOX, it is computed on
 generic tariffs of the country (fixed or dynamic, as set in the household's app).


 Positive values are money saved. A day whose input data is too incomplete returns `null`.


 Days are local days (Europe/Brussels). A day is available after 13:00 Brussels time the next
 day.



## OpenAPI

````yaml /api-docs/hp/openapi-hp.json get /v1/households/savings
openapi: 3.1.0
info:
  title: NOX Energy API - HP
  description: >
    # HP API Documentation


    This documentation shows only the endpoints available to HP users.


    ## Authentication


    1. Get your API key from [NOX Energy](mailto:support@nox.energy).

    2. Include the API key in your API calls with the header: `x-api-key:
    YOUR_API_KEY`.


    ## Access Level


    This documentation is specifically for **HP users** who have access to these
    endpoints.


    Base URL: [https://api.nox.energy](https://api.nox.energy)
  version: 1.0.0
servers:
  - url: https://api.nox.energy
    description: Production Server
security:
  - ApiKeyAuth: []
tags:
  - name: Asset Info
    description: API to get basic information about your assets.
  - name: Thermal Battery Control
    description: API for thermal battery control specific endpoints.
  - name: HP Control
    description: API for heat pump control specific endpoints.
  - name: User Management
    description: API endpoints to manage users and their data.
paths:
  /v1/households/savings:
    get:
      tags:
        - Asset Info
      summary: Get Households Savings
      description: >-
        Get, per household and per day, the savings NOX steering brings the
        household.


         `end_user_savings` is the estimated saving on the energy bill of the household: better
         efficiency of the heat pump, more self-consumption of solar production and, on a dynamic tariff,
         cheaper hours. Because the tariff of the household is not known to NOX, it is computed on
         generic tariffs of the country (fixed or dynamic, as set in the household's app).


         Positive values are money saved. A day whose input data is too incomplete returns `null`.


         Days are local days (Europe/Brussels). A day is available after 13:00 Brussels time the next
         day.
      operationId: get_households_savings_v1_households_savings_get
      parameters:
        - name: start_date
          in: query
          required: true
          schema:
            type: string
            format: date
            description: First day (inclusive) to return, in YYYY-MM-DD format.
            title: Start Date
          description: First day (inclusive) to return, in YYYY-MM-DD format.
        - name: end_date
          in: query
          required: true
          schema:
            type: string
            format: date
            description: Last day (inclusive) to return, in YYYY-MM-DD format.
            title: End Date
          description: Last day (inclusive) to return, in YYYY-MM-DD format.
        - name: user_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >

              ID of the user to filter on: your own ID of the user or the NOX
              `user_id`. If not provided, all

              users are returned.
            title: User Id
          description: >

            ID of the user to filter on: your own ID of the user or the NOX
            `user_id`. If not provided, all

            users are returned.
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 1000
            minimum: 1
            description: >

              The maximum number of items to return per page of results.


              This should be used together with the `next_token` parameter, or
              the `offset` parameter where the

              endpoint offers it, to paginate through results.


              Read the pagination parameter documentation for more details.
            default: 1000
            title: Limit
          description: >

            The maximum number of items to return per page of results.


            This should be used together with the `next_token` parameter, or the
            `offset` parameter where the

            endpoint offers it, to paginate through results.


            Read the pagination parameter documentation for more details.
        - name: next_token
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >

              The `next_token` is a token used to retrieve the next page of
              results when there are more results

              than can fit in a single page(=API response).


              By default, the API will return a `next_token` of the first page
              if no token was given as a parameter.


              If the token is `null` you have reached the end of the results.


              This should be used together with the `limit` parameter to
              paginate through results.




              To get all results of your call, you can keep calling the same API
              call with the previously returned `next_token` until it returns
              `null`.


              Pass the `next_token` back unchanged. A token that was altered or
              not issued by the API returns `400`.
            title: Next Token
          description: >

            The `next_token` is a token used to retrieve the next page of
            results when there are more results

            than can fit in a single page(=API response).


            By default, the API will return a `next_token` of the first page if
            no token was given as a parameter.


            If the token is `null` you have reached the end of the results.


            This should be used together with the `limit` parameter to paginate
            through results.




            To get all results of your call, you can keep calling the same API
            call with the previously returned `next_token` until it returns
            `null`.


            Pass the `next_token` back unchanged. A token that was altered or
            not issued by the API returns `400`.
        - name: offset
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
                minimum: 0
              - type: 'null'
            description: >

              The number of items to skip before the first item of the page.
              Defaults to `0`.


              Use it together with the `limit` parameter to fetch a specific
              page, for example `limit=100&offset=200`

              returns items 201 to 300.


              Use either `offset` or `next_token`, not both. Sending both
              returns `400`.
            title: Offset
          description: >

            The number of items to skip before the first item of the page.
            Defaults to `0`.


            Use it together with the `limit` parameter to fetch a specific page,
            for example `limit=100&offset=200`

            returns items 201 to 300.


            Use either `offset` or `next_token`, not both. Sending both returns
            `400`.
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HouseholdSavingsResponse'
              example:
                data:
                  - date: '2026-11-26'
                    user_id: 3f6c1d2e-8a4b-4c7d-9e0f-1a2b3c4d5e6f
                    end_user_savings: '1.20'
                meta:
                  energy_supplier: Energy Supplier A
                  unit: EUR
                  granularity: daily
                  output_timezone: Europe/Brussels
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HouseholdSavingsResponse:
      properties:
        data:
          anyOf:
            - items:
                $ref: '#/components/schemas/HouseholdSavingsData'
              type: array
            - type: 'null'
          title: Data
          description: List of household days, oldest first.
        meta:
          anyOf:
            - $ref: '#/components/schemas/HouseholdSavingsMeta'
            - type: 'null'
          description: Response metadata
      type: object
      title: HouseholdSavingsResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    HouseholdSavingsData:
      properties:
        date:
          anyOf:
            - type: string
            - type: 'null'
          title: Date
          description: Local day (Europe/Brussels), YYYY-MM-DD.
        user_id:
          anyOf:
            - type: string
            - type: 'null'
          title: User Id
          description: NOX user id of the household.
        end_user_savings:
          anyOf:
            - type: string
            - type: 'null'
          title: End User Savings
          description: Estimated saving on the energy bill of the household.
      type: object
      title: HouseholdSavingsData
    HouseholdSavingsMeta:
      properties:
        energy_supplier:
          anyOf:
            - type: string
            - type: 'null'
          title: Energy Supplier
          description: Energy supplier name.
        next_token:
          anyOf:
            - type: string
            - type: 'null'
          title: Next Token
          description: Token for the next page, or null on the last page.
        unit:
          anyOf:
            - type: string
            - type: 'null'
          title: Unit
          description: Unit of the values, EUR.
        granularity:
          anyOf:
            - type: string
            - type: 'null'
          title: Granularity
          description: Granularity of the data.
        output_timezone:
          anyOf:
            - type: string
            - type: 'null'
          title: Output Timezone
          description: Timezone of the days.
      type: object
      title: HouseholdSavingsMeta
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: 'API Key authentication. Enter your API key in the format: YOUR_API_KEY'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.