Listing Instance
API endpoint that allows Listing to be viewed or edited.
GET /listings/32/?format=api
https://api.swistay.com/listings/32/?format=api", "type": "apartment", "available_for": "booking", "available_for_options": [ "rent", "sale", "booking" ], "price": { "id": 31, "amount": 700.0, "today_calendar_rule_amount": 700.0, "time_rate": "night", "area_rate": "", "currency": "ZMW", "is_negotiable": false, "payment_frequency_count": 1, "payment_terms": "" }, "security_deposit": null, "description": "<p class=\"mb-1\" dir=\"ltr\"><span style=\"white-space: pre-wrap;\">One Bedroom Apartment that is well equipped with all the modern fittings and is spacious for your stay. Watch and be amazed, if you like it and want to check in, make your reservation now.</span></p>", "location": { "id": 28, "address": "Ranchdale near Obama", "coordinates": { "lat": -15.3485842, "lng": 28.3743803 } }, "owner": { "id": 1, "url": "https://api.swistay.com/users/1/?format=api", "email": "yezileliilomo@hotmail.com", "phone": "260776968833", "date_joined": "2023-09-30T22:16:10.480028Z", "is_premium": true, "is_staff": true, "is_host": true, "is_agent": true, "is_verified": true, "full_name": "Swistay", "is_active": true, "picture": { "id": 11, "url": "https://api.swistay.com/profile-pictures/11/?format=api", "src": "https://api.swistay.com/media/profile_pictures/1e5e820e4fe64a0885ba938c61c59ae4.jpeg" }, "biography": "Hello there!..👋", "verification": 1, "account": 3, "settings": 1, "last_seen": "2025-05-08T13:00:09.724371Z", "is_phone_verified": true, "is_email_verified": true }, "amenities": [ { "id": 36, "url": "https://api.swistay.com/amenities/36/?format=api", "name": "TV", "category": { "id": 7, "name": "Entertainment & Sports", "order": 12 }, "icon": { "id": 48, "name": "Television", "src": "https://api.swistay.com/media/icons/9b6c994b43da4d1da9ccdd37c2912bea.svg" }, "description": "", "search_keywords": "Television, Dstv, Decoder" }, { "id": 3, "url": "https://api.swistay.com/amenities/3/?format=api", "name": "Parking", "category": { "id": 2, "name": "Parking & Facilities", "order": 4 }, "icon": { "id": 30, "name": "Parking", "src": "https://api.swistay.com/media/icons/6bd0774c268d4facaac38ef892619546.svg" }, "description": "", "search_keywords": "" }, { "id": 33, "url": "https://api.swistay.com/amenities/33/?format=api", "name": "Cleaning products", "category": { "id": 6, "name": "Bathroom", "order": 2 }, "icon": { "id": 51, "name": "Cleaning", "src": "https://api.swistay.com/media/icons/33be3fc0a1b644cdb795cfe274d9d0f7.svg" }, "description": "", "search_keywords": "" }, { "id": 61, "url": "https://api.swistay.com/amenities/61/?format=api", "name": "Gated property", "category": { "id": 10, "name": "Home Safety", "order": 7 }, "icon": { "id": 62, "name": "Gate", "src": "https://api.swistay.com/media/icons/62.svg" }, "description": "", "search_keywords": "" } ], "services": [], "main_picture": { "id": 273, "url": "https://api.swistay.com/listing-pictures/273/?format=api", "is_main": true, "listing": 32, "tooltip": "", "src": "https://api.swistay.com/media/listings_pictures/fbc08465a7da4d12ab7b3be73c32da64.jpeg" }, "pictures": [ { "id": 273, "url": "https://api.swistay.com/listing-pictures/273/?format=api", "is_main": true, "listing": 32, "tooltip": "", "src": "https://api.swistay.com/media/listings_pictures/fbc08465a7da4d12ab7b3be73c32da64.jpeg" }, { "id": 274, "url": "https://api.swistay.com/listing-pictures/274/?format=api", "is_main": false, "listing": 32, "tooltip": "", "src": "https://api.swistay.com/media/listings_pictures/11a90e79205a4fce846b873c65c4bc7e.jpeg" }, { "id": 275, "url": "https://api.swistay.com/listing-pictures/275/?format=api", "is_main": false, "listing": 32, "tooltip": "", "src": "https://api.swistay.com/media/listings_pictures/7678fb3e784b4414b1cc4408367369c4.jpeg" }, { "id": 276, "url": "https://api.swistay.com/listing-pictures/276/?format=api", "is_main": false, "listing": 32, "tooltip": "", "src": "https://api.swistay.com/media/listings_pictures/6a7169fa25224d8c892fa256ba9ad875.jpeg" }, { "id": 277, "url": "https://api.swistay.com/listing-pictures/277/?format=api", "is_main": false, "listing": 32, "tooltip": "", "src": "https://api.swistay.com/media/listings_pictures/a077e53e24d8482ba252d54b94369eaf.jpeg" }, { "id": 278, "url": "https://api.swistay.com/listing-pictures/278/?format=api", "is_main": false, "listing": 32, "tooltip": "", "src": "https://api.swistay.com/media/listings_pictures/8559ec8619194f058268b31493995295.jpeg" }, { "id": 279, "url": "https://api.swistay.com/listing-pictures/279/?format=api", "is_main": false, "listing": 32, "tooltip": "", "src": "https://api.swistay.com/media/listings_pictures/eb1d4da095934268b6637ca986a77f53.jpeg" }, { "id": 280, "url": "https://api.swistay.com/listing-pictures/280/?format=api", "is_main": false, "listing": 32, "tooltip": "", "src": "https://api.swistay.com/media/listings_pictures/ac95600912f94813a4bc732bcc6cceb5.jpeg" }, { "id": 281, "url": "https://api.swistay.com/listing-pictures/281/?format=api", "is_main": false, "listing": 32, "tooltip": "", "src": "https://api.swistay.com/media/listings_pictures/84546e3e1a9e4ac6b949124b1087c986.jpeg" }, { "id": 282, "url": "https://api.swistay.com/listing-pictures/282/?format=api", "is_main": false, "listing": 32, "tooltip": "", "src": "https://api.swistay.com/media/listings_pictures/d6acf8fd31974c07b4617939a002f233.jpeg" }, { "id": 283, "url": "https://api.swistay.com/listing-pictures/283/?format=api", "is_main": false, "listing": 32, "tooltip": "", "src": "https://api.swistay.com/media/listings_pictures/e1be9f8c243a4df6a6eaa3215af186ca.jpeg" }, { "id": 284, "url": "https://api.swistay.com/listing-pictures/284/?format=api", "is_main": false, "listing": 32, "tooltip": "", "src": "https://api.swistay.com/media/listings_pictures/4a741140822849e59822282445826acb.jpeg" }, { "id": 285, "url": "https://api.swistay.com/listing-pictures/285/?format=api", "is_main": false, "listing": 32, "tooltip": "", "src": "https://api.swistay.com/media/listings_pictures/b3c972792849430c998066a15ceb9453.jpeg" }, { "id": 286, "url": "https://api.swistay.com/listing-pictures/286/?format=api", "is_main": false, "listing": 32, "tooltip": "", "src": "https://api.swistay.com/media/listings_pictures/a2fa2f06238a433e9beb9d003cfdf591.jpeg" }, { "id": 287, "url": "https://api.swistay.com/listing-pictures/287/?format=api", "is_main": false, "listing": 32, "tooltip": "", "src": "https://api.swistay.com/media/listings_pictures/9e89b14b0d0c48488013bfc229a19299.jpeg" } ], "contact": { "id": 28, "phone": "260976175084", "is_phone_on_whatsapp": true }, "publish_date": "2024-04-28T21:08:18.784022Z", "is_in_saved_listings": false, "min_distance": 0.0, "beds_count": 1, "reviews_summary": null, "parent_listing": null, "quantity": 1, "accommodations": [], "auto_confirm_reservations": false, "is_published": true, "publish_request": { "id": 32, "url": "https://api.swistay.com/listing-publish-requests/32/?format=api", "is_ever_reviewed": true, "status": "accepted", "decline_reason": "", "created_at": "2024-04-28T12:34:01.615093Z", "updated_at": "2024-04-28T21:08:18.789234Z" }, "rooms": [ { "id": 145, "listing": 32, "type": { "id": 2, "url": "https://api.swistay.com/room-types/2/?format=api", "code": "BER_EN", "name": "Ensuite Bedroom", "description": "This is a bedroom that is directly connected to a bathroom, it's also known as self contained", "icon": { "id": 23, "name": "Double bed", "src": "https://api.swistay.com/media/icons/a96f3200910a4817beb1d7d8f256bfff.svg" }, "order": 2 }, "count": 1, "beds": [ { "id": 16, "room": 145, "type": { "id": 1, "url": "https://api.swistay.com/bed-types/1/?format=api", "code": "KIB", "name": "King bed", "description": "A king sized bed is available in two sizes European(6 ft x 6 ft 6 inches) and California(6 ft x 6 ft 10 inches) king. Can accommodate up to two people at a time", "icon": { "id": 71, "name": "King bed", "src": "https://api.swistay.com/media/icons/1b821be660a345a78aeb08b260e39196.svg" }, "order": 1 }, "count": 1 } ], "pictures": [] }, { "id": 146, "listing": 32, "type": { "id": 8, "url": "https://api.swistay.com/room-types/8/?format=api", "code": "BAR_EN", "name": "Ensuite Bathroom", "description": "This is a bathroom that is directly connected to a bedroom room", "icon": { "id": 52, "name": "Bathtub", "src": "https://api.swistay.com/media/icons/e0bf3a1d45eb4b789e6779770306ceab.svg" }, "order": 3 }, "count": 1, "beds": [], "pictures": [] } ], "bedrooms_count": 1, "bathrooms_count": 1, "kitchenrooms_count": 0, "diningrooms_count": 0, "livingrooms_count": 0, "carrying_capacity": 3, "suitable_events": [], "area": null, "sub_type": "", "condition": "", "is_furnished": false, "available_for_tour_starting_from": "2024-04-28", "lowest_price": null, "available_for_moving_in_starting_from": "2024-04-28", "min_check_in_time": "11:00 AM", "is_premium": true, "max_check_out_time": "10:00 AM", "are_pets_allowed": true, "are_parties_and_events_allowed": false, "min_stay": 1, "max_stay": null, "calendar": { "id": 12, "months_to_book_in_advance": 1, "rules": [] }, "tour_schedule": null, "is_listed_by_owner": false, "is_off_market": false, "personal_note": "https://www.facebook.com/share/r/vAn84kGhY9FWMvx1/?mibextid=WC7FNe", "availability_confirmation_reminder_count": 0, "is_short_term_rental": true, "is_long_term_rental": false, "is_for_sale": false, "is_long_term": false }{ "id": 32, "url": "