API prototype