Ah, found it :
had to use fact_values instead of hosts and numeric pages instead of “all”
‘/api/fact_values?per_page=999’
List all facts as it says in the documentation:
API documentation
and the /api/hosts I used is a higher level of information not really what I was after.
OK sorry for bothering you !! Thank-you me!