Preheat the air fryer according to its instructions. For example, I preheated mine for 3 minutes to 390 degrees Fahrenheit (200 degrees Celsius).
Mix spices in a small bowl. Rub the meat all over with the oil and then with the spice mix.
Place pork in the air fryer and cook for 15 minutes.
Flip, reduce the temperature to 360 degrees Fahrenheit (180 degrees Celsius) and cook for another 35-45 minutes until the recommended internal temperature of 145 degrees Fahrenheit (63 degrees Celsius) is reached. The cooking time depends on the size and shape of the meat and the air fryer.
Remove from the basket, place on a warm platter, and cover loosely with aluminum foil. Let rest for 5 to 10 minutes before slicing and serving.
The roast can weigh between 2 lbs (900 g) and 3.3 lbs (1.5 kg); the cooking time will depend on its size and shape. Always check the internal temperature with a meat thermometer; it should be 145 degrees Fahrenheit (63 degrees Celsius).
Use oil with a higher smoking point to prevent the air fryer from smoking. I use sunflower or canola oil most of the time.
You can use your favorite meat rub or just salt and pepper.