API for retrieving items.