IP make an API for cpt