remote if intermediary api