# Operation & Market Files API

In order to find out the URLs of the Operation & Market Files, you can use the provided web services.

For the best understanding and use of the provided web services, it is recommended to familiarize yourself with the main search page on the URL https://www.admie.gr/en/market/market-statistics/detail-data.

More specifically, you can observe that:

• the columns From & To correspond to the dates of the coverage period of each file
• the fields From & To correspond to the desired search range and they should partially or fully overlap with the From & To dates of files

To find out the available Filetypes of Operation & Market Files, you can use the following URLs:

The first URL returns the available Filetypes in GR and EN languages.

The second and third URL return all the available Filetypes in GR and EN languages respectively.

All data are returned in JSON format.

In order to find out the available URLs of Operation & Market Files for a specific Filetype with specific dates From & To you can use the URL:

• https://www.admie.gr/getOperationMarketFile?dateStart=YYYY-MM-DD&dateEnd=YYYY-MM-DD&FileCategory=FILETYPE

The dates dateStart & dateEnd correspond to the dates From & To of the file's coverage period and are passed in YYYY-MM-DD format.

The category of each file corresponds to FILETYPE.

All data are returned in JSON format.

In order to find out the available URLs of Operation & Market Files for a specific Filetype whose dates From & To partially or fully overlap with a specific search range you can use the URL:

• https://www.admie.gr/getOperationMarketFilewRange?dateStart=YYYY-MM-DD&dateEnd=YYYY-MM-DD&FileCategory=FILETYPE

The dates dateStart & dateEnd correspond to the dates of the search range and are passed in YYYY-MM-DD format.

The category of each file corresponds to FILETYPE.

All data are returned in JSON format

Example 1

How can I find out the URLs of files with RealTimeSCADASystemLoad filetype and coverage period dates From & To equal to 01.11.2020?

Example 2

How can I find out the URLs of files with RealTimeSCADASystemLoad filetype whose From & To dates partially or fully overlap with the search range from 29.10.2020 to 01.11.2020?

Example 3

How can i find out the URLs of files with ISPWeekAheadLoadForecast filetype and weekly coverage period with dates From & To equal to 02.11.2020 & 08.11.2020?

Example 4

How can i find out the URLs of files with filetype ISPWeekAheadLoadForecast whose From & To dates partially or fully overlap with the search range from 01.11.2020 to 02.11.2020?

Question: We noticed that the filenames follow a pattern like YYYYMMDD_FILETYPE_##.ext where ## is a number like 01, 02, ... What does this number represents?

Answer: Each time a file is uploaded to our system and its filename follows the pattern YYYYMMDD_FILETYPE.ext, the corresponding number in ascending order is added to the filename, starting with 01, 02, and so on. It may or may not be identical to the corresponding versions of the files. For example, prior to the split of ISPRequirements files, all ISPxRequirements files were "hosted" in the ISPRequirements filetype. In order to find the correct urls of the files, it is recommended to use either the webservices or the the main search page of the Operation and Market Files (https://www.admie.gr/en/market/market-statistics/file-download-api).