add API Megatest