add the useage of api