query api list with and without key