add api and request