add ip to api