Export history visitors above 1000

Export history visitors above 1000

Hello 
How can I get visitors history above 1000 that delivers Excel file ? through an API 
Thanks,
nono