Interactive API supports queries by property and spatial queries. If you expect more than 100 MB of data in response, you can iterate over the result data to retrieve portions in subsequent requests. You can use header ‘accept-encoding: gzip’ to reduce the network traffic.
You can improve the query time by adding relevant properties to the searchableProperties list on configuring your layer. These properties will be indexed.