Remove the cores from the apples, and cut them into quarters. Add them to the Instant Pot.
Add the lemon, quartered oranges, and the remaining ingredients to the Instant Pot.
¼ cup maple syrup, 5 cups water, 2 oranges, 2 star anise, 2 cinnamon sticks, ½ lemon, 1 teaspoon ground cloves
Seal the lid, and turn on the PRESSURE COOK or MANUAL setting, and set the timer for 15 minutes. The Instant Pot will take around 10 minutes to build up pressure before it starts counting down.
Preform a quick release, following the manufacturer's instructions to manually release the pressure when the time is up. You can also leave the pressure to release naturally if you wish, but this will take quite a while.
Use a potato masher to mash the ingredients in the pot.
Sieve the mixture with a fine mesh sieve or a cheesecloth to remove the fruit pulp and whole seasoning.
Serve the apple cider hot, or leave it to cool down if you want to serve it cold. Store it in a sealed container in a refrigerator for up to 5 days.