API endpoint that allows Listing to be viewed or edited.

GET /listings/242/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 242,
    "url": "https://api.swistay.com/listings/242/?format=api",
    "type": "flat",
    "available_for": "rent",
    "available_for_options": [
        "rent",
        "sale",
        "booking"
    ],
    "price": {
        "id": 241,
        "amount": 4000.0,
        "today_calendar_rule_amount": 4000.0,
        "time_rate": "month",
        "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;\">1-Bedroom Flat for rent in Lusaka West, slightly off Mungwi Road, Near Wonderful Group of Companies, along the tarmac.</span></p><p class=\"mb-1\"><br></p><h5 dir=\"ltr\"><span style=\"white-space: pre-wrap;\">Features</span></h5><p class=\"mb-1\" dir=\"ltr\"><span style=\"white-space: pre-wrap;\">•</span><span style=\"white-space: pre-wrap;\">\t</span><span style=\"white-space: pre-wrap;\">Modern fittings with open-plan setup</span></p><p class=\"mb-1\" dir=\"ltr\"><span style=\"white-space: pre-wrap;\">•</span><span style=\"white-space: pre-wrap;\">\t</span><span style=\"white-space: pre-wrap;\">Fitted stove and oven</span></p><p class=\"mb-1\" dir=\"ltr\"><span style=\"white-space: pre-wrap;\">•</span><span style=\"white-space: pre-wrap;\">\t</span><span style=\"white-space: pre-wrap;\">Geyser</span></p><p class=\"mb-1\" dir=\"ltr\"><span style=\"white-space: pre-wrap;\">•</span><span style=\"white-space: pre-wrap;\">\t</span><span style=\"white-space: pre-wrap;\">Borehole water supply with water tank</span></p><p class=\"mb-1\" dir=\"ltr\"><span style=\"white-space: pre-wrap;\">•</span><span style=\"white-space: pre-wrap;\">\t</span><span style=\"white-space: pre-wrap;\">Motorized entrance and private backyard</span></p><p class=\"mb-1\" dir=\"ltr\"><span style=\"white-space: pre-wrap;\">•</span><span style=\"white-space: pre-wrap;\">\t</span><span style=\"white-space: pre-wrap;\">Paved yard and security fence</span></p><p class=\"mb-1\" dir=\"ltr\"><span style=\"white-space: pre-wrap;\">•</span><span style=\"white-space: pre-wrap;\">\t</span><span style=\"white-space: pre-wrap;\">24/7 security guard</span></p><p class=\"mb-1\"><br></p><p class=\"mb-1\" dir=\"ltr\"><span style=\"white-space: pre-wrap;\">Rent: K4,000/month (bills inclusive: water, garbage, gardener, and security)</span></p><p class=\"mb-1\" dir=\"ltr\"><span style=\"white-space: pre-wrap;\">Availability: Ready by January month-end; viewable and payable now</span></p>",
    "location": {
        "id": 238,
        "address": "Lusaka West, Off Mungwi Road",
        "coordinates": {
            "lat": -15.389851882543995,
            "lng": 28.244649200000016
        }
    },
    "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": 78,
            "url": "https://api.swistay.com/amenities/78/?format=api",
            "name": "Geyser",
            "category": {
                "id": 2,
                "name": "Parking & Facilities",
                "order": 4
            },
            "icon": {
                "id": 5,
                "name": "Water up",
                "src": "https://api.swistay.com/media/icons/5.svg"
            },
            "description": "",
            "search_keywords": ""
        },
        {
            "id": 13,
            "url": "https://api.swistay.com/amenities/13/?format=api",
            "name": "Stove/Electric Cooker",
            "category": {
                "id": 5,
                "name": "Kitchen & Dining",
                "order": 3
            },
            "icon": {
                "id": 41,
                "name": "Stove",
                "src": "https://api.swistay.com/media/icons/e831309b5d3d420d8a448d86fe3049dd.svg"
            },
            "description": "",
            "search_keywords": ""
        },
        {
            "id": 2,
            "url": "https://api.swistay.com/amenities/2/?format=api",
            "name": "Borehole",
            "category": {
                "id": 2,
                "name": "Parking & Facilities",
                "order": 4
            },
            "icon": {
                "id": 5,
                "name": "Water up",
                "src": "https://api.swistay.com/media/icons/5.svg"
            },
            "description": "",
            "search_keywords": ""
        },
        {
            "id": 4,
            "url": "https://api.swistay.com/amenities/4/?format=api",
            "name": "Water tank",
            "category": {
                "id": 2,
                "name": "Parking & Facilities",
                "order": 4
            },
            "icon": {
                "id": 5,
                "name": "Water up",
                "src": "https://api.swistay.com/media/icons/5.svg"
            },
            "description": "",
            "search_keywords": ""
        },
        {
            "id": 14,
            "url": "https://api.swistay.com/amenities/14/?format=api",
            "name": "Oven",
            "category": {
                "id": 5,
                "name": "Kitchen & Dining",
                "order": 3
            },
            "icon": {
                "id": 40,
                "name": "Oven",
                "src": "https://api.swistay.com/media/icons/543e6cebb0d745e0be300037cbdee144.svg"
            },
            "description": "",
            "search_keywords": ""
        },
        {
            "id": 15,
            "url": "https://api.swistay.com/amenities/15/?format=api",
            "name": "Kitchen",
            "category": {
                "id": 5,
                "name": "Kitchen & Dining",
                "order": 3
            },
            "icon": {
                "id": 44,
                "name": "Kitchen tools",
                "src": "https://api.swistay.com/media/icons/b9bf9e6735dc48b8b2403d3fc3ddab53.svg"
            },
            "description": "",
            "search_keywords": ""
        },
        {
            "id": 16,
            "url": "https://api.swistay.com/amenities/16/?format=api",
            "name": "Fitted kitchen units",
            "category": {
                "id": 5,
                "name": "Kitchen & Dining",
                "order": 3
            },
            "icon": {
                "id": 13,
                "name": "Wardrobe",
                "src": "https://api.swistay.com/media/icons/a2dc6b0f3c7e44479f9b8c46207ac5ad.svg"
            },
            "description": "",
            "search_keywords": ""
        },
        {
            "id": 51,
            "url": "https://api.swistay.com/amenities/51/?format=api",
            "name": "Backyard",
            "category": {
                "id": 9,
                "name": "Outdoor",
                "order": 6
            },
            "icon": {
                "id": 53,
                "name": "Garden view",
                "src": "https://api.swistay.com/media/icons/4376b3ce0034425490f49022a0ffea10.svg"
            },
            "description": "",
            "search_keywords": ""
        },
        {
            "id": 76,
            "url": "https://api.swistay.com/amenities/76/?format=api",
            "name": "Automated/Motorized gate",
            "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": 2579,
        "url": "https://api.swistay.com/listing-pictures/2579/?format=api",
        "is_main": true,
        "listing": 242,
        "tooltip": "",
        "src": "https://api.swistay.com/media/listings_pictures/acb54d8174c84a4ebe554f3175113935.jpeg"
    },
    "pictures": [
        {
            "id": 2579,
            "url": "https://api.swistay.com/listing-pictures/2579/?format=api",
            "is_main": true,
            "listing": 242,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/acb54d8174c84a4ebe554f3175113935.jpeg"
        },
        {
            "id": 2580,
            "url": "https://api.swistay.com/listing-pictures/2580/?format=api",
            "is_main": false,
            "listing": 242,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/33689bdd510a4c358be0403fe0c7550d.jpeg"
        },
        {
            "id": 2581,
            "url": "https://api.swistay.com/listing-pictures/2581/?format=api",
            "is_main": false,
            "listing": 242,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/aaea3b3a048543acbfc0d2c9def2d844.jpeg"
        },
        {
            "id": 2582,
            "url": "https://api.swistay.com/listing-pictures/2582/?format=api",
            "is_main": false,
            "listing": 242,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/8f823cfb047e4677a74c7beb34f3403f.jpeg"
        },
        {
            "id": 2583,
            "url": "https://api.swistay.com/listing-pictures/2583/?format=api",
            "is_main": false,
            "listing": 242,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/6064bae86e8e4df0baa8c06df9fb295b.jpeg"
        },
        {
            "id": 2584,
            "url": "https://api.swistay.com/listing-pictures/2584/?format=api",
            "is_main": false,
            "listing": 242,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/03eea97e61a44faaaa8c684140e11809.jpeg"
        },
        {
            "id": 2585,
            "url": "https://api.swistay.com/listing-pictures/2585/?format=api",
            "is_main": false,
            "listing": 242,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/c8b38fbc29cf41578e72e9723ee6b619.jpeg"
        },
        {
            "id": 2586,
            "url": "https://api.swistay.com/listing-pictures/2586/?format=api",
            "is_main": false,
            "listing": 242,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/96fb912dc8bc4bdfa49e4616c6e27498.jpeg"
        }
    ],
    "contact": {
        "id": 238,
        "phone": "260772895799",
        "is_phone_on_whatsapp": true
    },
    "publish_date": "2025-05-02T10:38:52.542386Z",
    "is_in_saved_listings": false,
    "min_distance": 0.0,
    "beds_count": 0,
    "reviews_summary": null,
    "parent_listing": null,
    "quantity": 1,
    "accommodations": [],
    "auto_confirm_reservations": false,
    "is_published": true,
    "publish_request": {
        "id": 242,
        "url": "https://api.swistay.com/listing-publish-requests/242/?format=api",
        "is_ever_reviewed": true,
        "status": "accepted",
        "decline_reason": "",
        "created_at": "2025-01-13T10:43:01.564157Z",
        "updated_at": "2025-05-01T08:03:05.904449Z"
    },
    "rooms": [
        {
            "id": 1337,
            "listing": 242,
            "type": {
                "id": 1,
                "url": "https://api.swistay.com/room-types/1/?format=api",
                "code": "BER",
                "name": "Bedroom",
                "description": "A bedroom is a room furnished with a bed and intended primarily for sleeping",
                "icon": {
                    "id": 23,
                    "name": "Double bed",
                    "src": "https://api.swistay.com/media/icons/a96f3200910a4817beb1d7d8f256bfff.svg"
                },
                "order": 1
            },
            "count": 1,
            "beds": [],
            "pictures": []
        },
        {
            "id": 1338,
            "listing": 242,
            "type": {
                "id": 5,
                "url": "https://api.swistay.com/room-types/5/?format=api",
                "code": "BAR",
                "name": "Bathroom",
                "description": "A bathroom is a room that contains either a bathtub or a shower. The inclusion of a wash basin is common",
                "icon": {
                    "id": 52,
                    "name": "Bathtub",
                    "src": "https://api.swistay.com/media/icons/e0bf3a1d45eb4b789e6779770306ceab.svg"
                },
                "order": 8
            },
            "count": 1,
            "beds": [],
            "pictures": []
        },
        {
            "id": 1339,
            "listing": 242,
            "type": {
                "id": 11,
                "url": "https://api.swistay.com/room-types/11/?format=api",
                "code": "LIR",
                "name": "Living Room",
                "description": "A living room is a common space in a house where people relax and socialize",
                "icon": {
                    "id": 48,
                    "name": "Television",
                    "src": "https://api.swistay.com/media/icons/9b6c994b43da4d1da9ccdd37c2912bea.svg"
                },
                "order": 11
            },
            "count": 1,
            "beds": [],
            "pictures": []
        },
        {
            "id": 1340,
            "listing": 242,
            "type": {
                "id": 13,
                "url": "https://api.swistay.com/room-types/13/?format=api",
                "code": "KIR",
                "name": "Kitchen Room",
                "description": "A kitchen is a room or part of a room used for cooking and food preparation",
                "icon": {
                    "id": 44,
                    "name": "Kitchen tools",
                    "src": "https://api.swistay.com/media/icons/b9bf9e6735dc48b8b2403d3fc3ddab53.svg"
                },
                "order": 14
            },
            "count": 1,
            "beds": [],
            "pictures": []
        }
    ],
    "bedrooms_count": 1,
    "bathrooms_count": 1,
    "kitchenrooms_count": 1,
    "diningrooms_count": 0,
    "livingrooms_count": 1,
    "carrying_capacity": 1,
    "suitable_events": [],
    "area": null,
    "sub_type": "detached",
    "condition": "fair",
    "is_furnished": false,
    "available_for_tour_starting_from": "2025-01-13",
    "lowest_price": null,
    "available_for_moving_in_starting_from": "2025-01-30",
    "min_check_in_time": "11:00 AM",
    "is_premium": true,
    "max_check_out_time": "10:00 AM",
    "are_pets_allowed": false,
    "are_parties_and_events_allowed": false,
    "min_stay": 1,
    "max_stay": null,
    "calendar": null,
    "tour_schedule": {
        "id": 229,
        "allowed_tour_types": [
            "in-person",
            "video-chat"
        ],
        "days": [
            "Mon",
            "Tue",
            "Wed",
            "Thu",
            "Fri",
            "Sat",
            "Sun"
        ],
        "start_time": "7:00 AM",
        "end_time": "6:00 PM"
    },
    "is_listed_by_owner": false,
    "is_off_market": false,
    "personal_note": "",
    "availability_confirmation_reminder_count": 0,
    "is_short_term_rental": false,
    "is_long_term_rental": true,
    "is_for_sale": false,
    "is_long_term": true
}