Zabbix REST-API output limited to 100k records

I'm trying to get the history records for an item via Zabbix REST-API, it seems like the API can only return up to 100k records. My goal is to get the historical data about the availability per ho...