add basic api feature