api prep