Hi Philipp,
I can't seem to find exactly what you want (passing in a dataset DOI and getting a download count per file) but there is a new-ish APi endpoint to get counts of all file downloads like this:
$ curl -s
https://data.qdr.syr.edu/api/info/metrics/filedownloads | head
id,pid,count
2891,"doi:10.5064/F6CE5MRF/3VVO7G",759
2880,"doi:10.5064/F6CE5MRF/AYIZ06",730
2881,"doi:10.5064/F6CE5MRF/YQMBNX",685
2893,"doi:10.5064/F6CE5MRF/LM8RFL",672
2879,"doi:10.5064/F6CE5MRF/M6NUCT",358
2681,"doi:10.5064/F6Z60KZB/0NR0VZ",329
24047,"doi:10.5064/F6LBYMQO/3GX4Y9",235
24118,"doi:10.5064/F6LBYMQO/EMRGLA",204
2885,"doi:10.5064/F6CE5MRF/JMZPKR",197
I'm using QDR's server because this doesn't seem to work on the demo server. I'll also attach the "Downloads per DataFile (top 100)" graph from
https://data.qdr.syr.edu/metrics_5ef2ae2be4b/ which visualizes these download counts.
Note that it's also possible to pass in the parent dataverse collection like this:
$ curl -s
https://data.qdr.syr.edu/api/info/metrics/filedownloads?parentAlias=NIRI | head
id,pid,count
6635,"doi:10.5064/F6LHMHJR/875QHI",55
4382,"doi:10.5064/F6LHMHJR/QH0ND8",37
4380,"doi:10.5064/F6LHMHJR/VGB0CW",36
4383,"doi:10.5064/F6LHMHJR/Q0LKWJ",33
4490,"doi:10.5064/F6LHMHJR/3Z4THJ",29
4494,"doi:10.5064/F6LHMHJR/IQFOII",27
4492,"doi:10.5064/F6LHMHJR/RR8ZVU",26
4495,"doi:10.5064/F6LHMHJR/XEX32O",25
4491,"doi:10.5064/F6LHMHJR/AIIB3C",23
So that might help if the dataset you're interested in happens to be in its own collection.
You're very welcome to open an issue about the feature you want, of course.
Thanks,
Phil