implemented the query URL mapping for API calls.