expose the api query parser