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

# Maximum Import Limit

This endpoint provides Maximum Import Limit data received from NGESO.

# 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": {
    "/gb/elexon/physical/mils": {
      "get": {
        "operationId": "Maximum Import Limit",
        "summary": "Maximum Import Limit",
        "description": "This endpoint provides Maximum Import Limit data received from NGESO.",
        "parameters": [
          {
            "name": "date_from",
            "in": "query",
            "description": "Start date time for the request. Ex: yyyy-mm-ddThh:mm:ss",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "date_to",
            "in": "query",
            "description": "End date time for the request. Ex: yyyy-mm-ddThh:mm:ss",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "bm_unit",
            "in": "query",
            "description": "Unique identification number for Balancing Mechanism participants. Ex: E_LYNE",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "settlement_period",
            "in": "query",
            "description": "The half hour of the day, in local time. It runs from 1-48 on most days (but 1-50 and 1-46 on clock change days)",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Number of results to return per page.",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 10000
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "The initial index from which to return the results.",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 0
            }
          },
          {
            "name": "timezone",
            "in": "query",
            "description": "The timezone for the query and returned data. If not specified, the default timezone is shown in the information table.",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "UTC",
                "Europe/Berlin",
                "Europe/London",
                "America/New_York",
                "America/Chicago",
                "America/Los_Angeles"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "required": [
                    "count",
                    "results"
                  ],
                  "type": "object",
                  "properties": {
                    "count": {
                      "type": "integer"
                    },
                    "next": {
                      "type": "string",
                      "format": "uri",
                      "nullable": true
                    },
                    "previous": {
                      "type": "string",
                      "format": "uri",
                      "nullable": true
                    },
                    "results": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/ElexonMILS"
                      }
                    }
                  }
                }
              }
            }
          },
          "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": [
          "Elexon"
        ]
      },
      "parameters": []
    }
  },
  "servers": [
    {
      "url": "https://api.modoenergy.com/pub/v1"
    }
  ],
  "components": {
    "securitySchemes": {
      "api_key": {
        "type": "apiKey",
        "name": "X-Token",
        "in": "header"
      }
    },
    "schemas": {
      "ElexonMILS": {
        "type": "object",
        "properties": {
          "dataset": {
            "title": "Dataset",
            "type": "string"
          },
          "settlementDate": {
            "title": "SettlementDate",
            "type": "string",
            "format": "date"
          },
          "settlementPeriod": {
            "title": "SettlementPeriod",
            "type": "integer",
            "maximum": 2147483647,
            "minimum": -2147483648
          },
          "timeFrom": {
            "title": "TimeFrom",
            "type": "string",
            "format": "date-time"
          },
          "timeTo": {
            "title": "TimeTo",
            "type": "string",
            "format": "date-time"
          },
          "levelFrom": {
            "title": "LevelFrom",
            "type": "integer",
            "maximum": 2147483647,
            "minimum": -2147483648
          },
          "levelTo": {
            "title": "LevelTo",
            "type": "integer",
            "maximum": 2147483647,
            "minimum": -2147483648
          },
          "notificationTime": {
            "title": "NotificationTime",
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "notificationSequence": {
            "title": "NotificationSequence",
            "type": "integer",
            "maximum": 2147483647,
            "minimum": -2147483648,
            "nullable": true
          },
          "nationalGridBmUnit": {
            "title": "NationalGridBmUnit",
            "type": "string"
          },
          "bmUnit": {
            "title": "BmUnit",
            "type": "string"
          }
        }
      }
    }
  }
}
```