api for the rent app