Craigslist API: get a Craigslist apartment listing
Input
url requiredThe listing's page, e.g. https://www.craigslist.org/view/d/san-francisco-sunny-1br/1xpNaQ2v8YtyoDNKXYd6SQ, as search_housing returns it. The older https://<city>.craigslist.org/.../<post id>.html form works too.
Output
url requiredThe page as the site resolved it.
found requiredfalse when the listing no longer exists (deleted, expired or removed); every other field is then absent.
body optionalThe full description as shown.
price optionalAsking rent as shown, e.g. "$2,100".
title optionalimages optionalpostId optionaladdress optionalhousing optionalThe size line under the title, e.g. "1br - 525ft2".
bedrooms optionallatitude optionalpostedAt optionalISO 8601 with the poster's UTC offset.
bathrooms optionallongitude optionalupdatedAt optionalISO 8601; null when never edited.
attributes optionalEvery amenity line, in page order. key is the site's own name for it (laundry, parking, housing_type, pets_cat, pets_dog, is_furnished, rent_period, private_room, private_bath, no_smoking…), null for the headline lines (bedrooms/bathrooms, square feet, availability date).
petsAllowed optionalneighborhood optionalThe poster's own location text.
smokingAllowed optional