---
updatedAt: 2026-03-31T12:12:41.000Z
agentTools:
  projectIndex: https://api.net2grid.com/llms.txt
---

# /feedin/{energyType}/daily

Returns the users' total energy fed back into the grid in Watts and it's cost from the start of the current day.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "NET2GRID Customer Engagement API",
    "description": "This is the B2C NET2GRID API that can be used by mobile and web apps to manage the accounts and the data that are provided by the NET2GRID Meter Data Analytics Platform.",
    "version": "13.6.0"
  },
  "servers": [
    {
      "url": "http://api.net2grid.docker",
      "description": "API server"
    }
  ],
  "paths": {
    "/v2/feedin/{energyType}/daily": {
      "get": {
        "tags": [
          "Deprecated"
        ],
        "summary": "/feedin/{energyType}/daily",
        "description": "Returns the users' total energy fed back into the grid in Watts and it's cost from the start of the current day.",
        "operationId": "v2getFeedinDaily",
        "parameters": [
          {
            "name": "energyType",
            "in": "path",
            "description": "The energy type for which the feedin is requested.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "electricity",
                "amr_electricity"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FeedinDailyResponseDTO"
                },
                "examples": {
                  "GetFeedinDailyExample": {
                    "$ref": "#/components/examples/GetFeedinDailyExample"
                  }
                }
              }
            }
          },
          "400": {
            "description": "<br/>143: Could not find the requested summation for this energy meter.<br/>152: User does not have a valid household object.<br/>153: No valid meter found for user.<br/>251: Error while calculating cost: Tariffs not specified for this period for this household.<br/>422: Invalid energy type.<br/>999: Unspecified error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseDTO"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "FeedinDailyDataDTO": {
        "required": [
          "usage",
          "cost",
          "timestamp"
        ],
        "properties": {
          "usage": {
            "description": "The usage is Watts fed back into the grid.",
            "type": "number",
            "example": 43
          },
          "cost": {
            "description": "The total cost of the feedin.",
            "type": "number",
            "example": 22.3
          },
          "timestamp": {
            "description": "The current time in a timestamp form.",
            "type": "string",
            "example": "2022-11-21T00:00:00+01:00"
          }
        },
        "type": "object"
      },
      "FeedinDailyResponseDTO": {
        "required": [
          "status",
          "data"
        ],
        "properties": {
          "status": {
            "type": "string"
          },
          "data": {
            "$ref": "#/components/schemas/FeedinDailyDataDTO"
          }
        },
        "type": "object"
      },
      "ErrorDTO": {
        "properties": {
          "code": {
            "type": "integer"
          },
          "message": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "ErrorResponseDTO": {
        "properties": {
          "status": {
            "type": "string"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorDTO"
          }
        },
        "type": "object"
      }
    },
    "examples": {
      "GetFeedinDailyExample": {
        "summary": "Get today's feedin value.",
        "value": {
          "status": "ok",
          "data": {
            "usage": 323533,
            "cost": 42.0593,
            "timestamp": "2022-12-16T15:32:02+01:00"
          }
        }
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "bearerFormat": "JWT",
        "scheme": "bearer"
      }
    }
  },
  "tags": [
    {
      "name": "Deprecated"
    }
  ],
  "x-explorer-enabled": false
}
```