API protect