Swith page-fm to api