Querying API completely functioning. Tested