Finding the input from the api