Always return item IDs as ints, fixed the base URL