include ip in apiInterface