Hi Team,
I have been keeping a record of some of the EDSM stats since the 1st of September 2020.
To do this I have been automatically downloading the main webpage at around 5am GMT, but this no longer works due to your Cloudflare protection. It's only the webpage downloading that I've automated as my spreadsheet is still updated manually.
I totally understand why you have done this, although my Chrome installation on Windows does seem to have an issue initially getting through the bot checker, which is weird.
Is there any chance you could consider adding an API call which returns only the daily stats data as JSON.
As you already have and publish this data on the EDSM website, I don't think that it would be a huge task to add this API call.
Asking a financial supporter of EDSM who has been using your site since I started playing, and a bit before I finally jumped in.
HTTP Request: POST https://www.edsm.net/api-edsm-stats-v1
These parameters would only be needed if you support returning chosen dates, otherwise the call would not need any parameters and just return the current date's EDSM data:
| Parameter |
Default |
Description |
dateFrom YYYY-MM-DD |
Null |
Selected start date for daily EDSM statistics. Default of Null returns the current day's data. Date format: 2025-11-30 [year, month, day] |
dateTo YYYY-MM-DD |
Null |
Selected end date for daily EDSM statistics. If Null, only returns the data from the 'dateFrom' selected date Ignored if 'dateFrom' is Null. Date format: 2025-11-30 [year, month, day] |
|
|
|
I'm suggesting that the returned JSON itself should be something like this if only one day's data can be pulled back from the API call. If more than one day is selected using the suggested parameters, I leave it up to you to decide how to implement it based on this daily template.
{
"timeStamp" : "2026-04-03T14:24:41Z [
{
"totalSystems" : 95702037,
"knownSystems" : 95048257,
"lockedSystems" : 95702037,
"celestialBodies" : 458190223,
"routesShared" : 3914,
"flightLogs" : 60243,
"flightEntries" : 220140491,
"population" : 13662181776172,
"commodities" : 1320900355127,
"discoveredPercent" : 0.023923,
"discoverEntirely" : [
{
"years" : 45103,
"months" : 0
"days" : 18
} ]
} ]
}
Thank you for reading this far...
Sparrowhawk56
Hi Team,
I have been keeping a record of some of the EDSM stats since the 1st of September 2020.
To do this I have been automatically downloading the main webpage at around 5am GMT, but this no longer works due to your Cloudflare protection. It's only the webpage downloading that I've automated as my spreadsheet is still updated manually.
I totally understand why you have done this, although my Chrome installation on Windows does seem to have an issue initially getting through the bot checker, which is weird.
Is there any chance you could consider adding an API call which returns only the daily stats data as JSON.
As you already have and publish this data on the EDSM website, I don't think that it would be a huge task to add this API call.
Asking a financial supporter of EDSM who has been using your site since I started playing, and a bit before I finally jumped in.
HTTP Request: POST https://www.edsm.net/api-edsm-stats-v1
These parameters would only be needed if you support returning chosen dates, otherwise the call would not need any parameters and just return the current date's EDSM data:
YYYY-MM-DD
Default of Null returns the current day's data.
Date format: 2025-11-30 [year, month, day]
YYYY-MM-DD
If Null, only returns the data from the 'dateFrom' selected date
Ignored if 'dateFrom' is Null.
Date format: 2025-11-30 [year, month, day]
I'm suggesting that the returned JSON itself should be something like this if only one day's data can be pulled back from the API call. If more than one day is selected using the suggested parameters, I leave it up to you to decide how to implement it based on this daily template.
Thank you for reading this far...
Sparrowhawk56