recommend api for terminal