API safety valve