add api to portfolio