---
updatedAt: 2026-04-23T10:26:17.000Z
agentTools:
  projectIndex: https://developers.modoenergy.com/llms.txt
---

# Index Revenue Timeseries

Retrieves total index revenue for a specific index over a defined date range as a timeseries.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Modo Energy API",
    "description": "# Modo API documentation\n\n## Autorization\n\n1. For use this api you need get public api token at your [ModoEnergy](https://modo.energy/)  account\n1. Use your token at headers `X-Token: <token_from_account>`\n\n## Date format\n\nAPI can filter your data by date.\nDate format `YYYY-MM-DD`\nExample `2020-08-13`\n\n## Rate limitation\n\nPublic api has rate limit - 1000 requests per minute\n",
    "termsOfService": "https://www.google.com/policies/terms/",
    "contact": {
      "email": "contact@snippets.local"
    },
    "license": {
      "name": "BSD License"
    },
    "version": "v1"
  },
  "security": [
    {
      "api_key": []
    },
    {}
  ],
  "paths": {
    "/indices/{id}/revenue/timeseries/": {
      "get": {
        "operationId": "Index Revenue Timeseries",
        "summary": "Index Revenue Timeseries",
        "description": "Retrieves total index revenue for a specific index over a defined date range as a timeseries.",
        "parameters": [
          {
            "name": "interval_start",
            "in": "query",
            "description": "Follows ISO-8601 standards. Date-time: if it includes an offset or Z, that exact instant is used. If no timezone is present, UTC is assumed. Inclusive.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "interval_end",
            "in": "query",
            "description": "Follows ISO-8601 standards. Date-time: if it includes an offset or Z, that exact instant is used. If no timezone is present, UTC is assumed. Inclusive.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "capacity_normalisation",
            "in": "query",
            "description": "Normalisation of the revenue. If omitted, returns revenue in GBP/AUD/USD. If set to MW or MWh, returns revenue normalised to asset capacity (e.g., GBP/MW).",
            "required": false,
            "x-nullable": true,
            "schema": {
              "type": "string",
              "enum": [
                "mw",
                "mwh"
              ]
            }
          },
          {
            "name": "time_basis",
            "in": "query",
            "description": "Scales revenue over a period. If omitted, returns revenue in GBP/AUD/USD. If set to hour or year, returns revenue scaled across that period (e.g., GBP/hour).",
            "required": false,
            "x-nullable": true,
            "schema": {
              "type": "string",
              "enum": [
                "hour",
                "year"
              ]
            }
          },
          {
            "name": "breakdown",
            "in": "query",
            "description": "Breaks down the revenue by the specified dimension. If omitted, returns the total revenue.",
            "required": false,
            "x-nullable": true,
            "schema": {
              "type": "string",
              "enum": [
                "market"
              ]
            }
          },
          {
            "name": "markets",
            "in": "query",
            "description": "Filters results by market. If omitted, returns revenue across all markets. Multiple values can be separated by a comma.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "granularity",
            "in": "query",
            "description": "Level of aggregation for timeseries. If omitted, defaults to the index’s native resolution. If set, revenue is summed within the specified bucket (use 'base' to indicate the index’s native resolution). Grouping uses the index’s local date; align interval_start and interval_end to whole local buckets (day/week/month) — e.g. with local-offset datetimes — to avoid partial totals.",
            "required": false,
            "x-nullable": true,
            "schema": {
              "type": "string",
              "enum": [
                "daily",
                "weekly",
                "monthly",
                "base"
              ]
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "Base64-encoded cursor string for pagination.",
            "required": false,
            "x-nullable": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Number of results to return per page.",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 10000
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "The id of the requested index. List of available ids is returned by /pub/v1/indices/.",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PaginatedIndexRevenueTimeseriesV2"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "response": {
                      "type": "string"
                    }
                  },
                  "example": {
                    "response": "Bad Request"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "response": {
                      "type": "string"
                    }
                  },
                  "example": {
                    "response": "Unauthorized"
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "response": {
                      "type": "string"
                    }
                  },
                  "example": {
                    "response": "Forbidden"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "response": {
                      "type": "string"
                    }
                  },
                  "example": {
                    "response": "Not Found"
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "response": {
                      "type": "string"
                    }
                  },
                  "example": {
                    "response": "Too Many Requests"
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Indices"
        ]
      },
      "parameters": [
        {
          "name": "id",
          "in": "path",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ]
    }
  },
  "servers": [
    {
      "url": "https://api.modoenergy.com/pub/v1"
    }
  ],
  "components": {
    "securitySchemes": {
      "api_key": {
        "type": "apiKey",
        "name": "X-Token",
        "in": "header"
      }
    },
    "schemas": {
      "IndexMarketRevenueTimeseriesV2": {
        "required": [
          "market",
          "interval_start",
          "interval_end",
          "revenue"
        ],
        "type": "object",
        "properties": {
          "market": {
            "title": "Market",
            "description": "The market in which the asset participated to generate revenue.",
            "type": "string",
            "minLength": 1
          },
          "interval_start": {
            "title": "Interval start",
            "description": "The start of the time interval.",
            "type": "string",
            "format": "date-time"
          },
          "interval_end": {
            "title": "Interval end",
            "description": "The end of the time interval.",
            "type": "string",
            "format": "date-time"
          },
          "revenue": {
            "title": "Revenue",
            "description": "The revenue generated at each time interval.",
            "type": "string",
            "format": "decimal"
          }
        }
      },
      "IndexRevenueTimeseriesV2": {
        "required": [
          "units",
          "records"
        ],
        "type": "object",
        "properties": {
          "units": {
            "title": "Units",
            "description": "Indicates the units in which revenue values are reported.",
            "type": "string",
            "minLength": 1
          },
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IndexMarketRevenueTimeseriesV2"
            }
          }
        }
      },
      "PaginatedIndexRevenueTimeseriesV2": {
        "required": [
          "results"
        ],
        "type": "object",
        "properties": {
          "next": {
            "title": "Next",
            "description": "The link to the next page of results, or null if there is no next page.",
            "type": "string",
            "minLength": 1,
            "nullable": true
          },
          "results": {
            "$ref": "#/components/schemas/IndexRevenueTimeseriesV2"
          }
        }
      }
    }
  }
}
```