API endpoint that allows Listing to be viewed or edited.

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

{
    "id": 260,
    "url": "https://api.swistay.com/listings/260/?format=api",
    "type": "flat",
    "available_for": "rent",
    "available_for_options": [
        "rent",
        "sale",
        "booking"
    ],
    "price": {
        "id": 259,
        "amount": 7500.0,
        "today_calendar_rule_amount": 7500.0,
        "time_rate": "month",
        "area_rate": "",
        "currency": "ZMW",
        "is_negotiable": false,
        "payment_frequency_count": 2,
        "payment_terms": ""
    },
    "security_deposit": {
        "id": 79,
        "amount": 7500.0,
        "currency": "ZMW"
    },
    "description": "<p class=\"mb-1\" dir=\"ltr\"><span style=\"white-space: pre-wrap;\">Newly Built 3-Bedroom Flat for Rent in Makeni (Majoru Area).</span><br></p><h5 dir=\"ltr\"><span style=\"white-space: pre-wrap;\">Features</span></h5><ul><li value=\"1\"><span style=\"white-space: pre-wrap;\">3 bedrooms (2 self-contained)</span></li><li value=\"2\"><span style=\"white-space: pre-wrap;\">Modern kitchen</span></li><li value=\"3\"><span style=\"white-space: pre-wrap;\">Inbuilt wardrobes</span></li></ul><p class=\"mb-1\" dir=\"ltr\"><span style=\"white-space: pre-wrap;\">Located in a quiet and developing area of Makeni, ideal for comfortable family living.</span></p><p class=\"mb-1\"><br></p>",
    "location": {
        "id": 256,
        "address": "Makeni Majoru Area, Lusaka",
        "coordinates": {
            "lat": -15.505958725963385,
            "lng": 28.23217353442385
        }
    },
    "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-06-27T23:13:08.845386Z",
        "is_phone_verified": true,
        "is_email_verified": true
    },
    "amenities": [
        {
            "id": 82,
            "url": "https://api.swistay.com/amenities/82/?format=api",
            "name": "Floor tiles",
            "category": {
                "id": 12,
                "name": "Indoor",
                "order": 5
            },
            "icon": {
                "id": 63,
                "name": "Hexagon",
                "src": "https://api.swistay.com/media/icons/63.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": 29,
            "url": "https://api.swistay.com/amenities/29/?format=api",
            "name": "Bathtub",
            "category": {
                "id": 6,
                "name": "Bathroom",
                "order": 2
            },
            "icon": {
                "id": 52,
                "name": "Bathtub",
                "src": "https://api.swistay.com/media/icons/e0bf3a1d45eb4b789e6779770306ceab.svg"
            },
            "description": "",
            "search_keywords": ""
        },
        {
            "id": 49,
            "url": "https://api.swistay.com/amenities/49/?format=api",
            "name": "Wardrobe",
            "category": {
                "id": 8,
                "name": "Bedroom & Laundry",
                "order": 1
            },
            "icon": {
                "id": 13,
                "name": "Wardrobe",
                "src": "https://api.swistay.com/media/icons/a2dc6b0f3c7e44479f9b8c46207ac5ad.svg"
            },
            "description": "",
            "search_keywords": ""
        },
        {
            "id": 30,
            "url": "https://api.swistay.com/amenities/30/?format=api",
            "name": "Shower",
            "category": {
                "id": 6,
                "name": "Bathroom",
                "order": 2
            },
            "icon": {
                "id": 57,
                "name": "Shower",
                "src": "https://api.swistay.com/media/icons/8cd138fc4ce14e009750ef726d8d7794.svg"
            },
            "description": "",
            "search_keywords": ""
        },
        {
            "id": 83,
            "url": "https://api.swistay.com/amenities/83/?format=api",
            "name": "Ceiling boards",
            "category": {
                "id": 12,
                "name": "Indoor",
                "order": 5
            },
            "icon": {
                "id": 63,
                "name": "Hexagon",
                "src": "https://api.swistay.com/media/icons/63.svg"
            },
            "description": "",
            "search_keywords": ""
        },
        {
            "id": 52,
            "url": "https://api.swistay.com/amenities/52/?format=api",
            "name": "Paved yard",
            "category": {
                "id": 9,
                "name": "Outdoor",
                "order": 6
            },
            "icon": {
                "id": 63,
                "name": "Hexagon",
                "src": "https://api.swistay.com/media/icons/63.svg"
            },
            "description": "",
            "search_keywords": "Pavers"
        }
    ],
    "services": [],
    "main_picture": {
        "id": 2770,
        "url": "https://api.swistay.com/listing-pictures/2770/?format=api",
        "is_main": true,
        "listing": 260,
        "tooltip": "",
        "src": "https://api.swistay.com/media/listings_pictures/c8d3dc8a4b954c9e95ea6c50668e9f6a.jpeg"
    },
    "pictures": [
        {
            "id": 2774,
            "url": "https://api.swistay.com/listing-pictures/2774/?format=api",
            "is_main": false,
            "listing": 260,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/fb63e76d492d44da98fb0a7df39bee54.jpeg"
        },
        {
            "id": 2775,
            "url": "https://api.swistay.com/listing-pictures/2775/?format=api",
            "is_main": false,
            "listing": 260,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/a9d70844dc304cc89088a560aab23542.jpeg"
        },
        {
            "id": 2776,
            "url": "https://api.swistay.com/listing-pictures/2776/?format=api",
            "is_main": false,
            "listing": 260,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/c908d5eed0294065b7dbfa2d45cba05e.jpeg"
        },
        {
            "id": 2770,
            "url": "https://api.swistay.com/listing-pictures/2770/?format=api",
            "is_main": true,
            "listing": 260,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/c8d3dc8a4b954c9e95ea6c50668e9f6a.jpeg"
        },
        {
            "id": 2777,
            "url": "https://api.swistay.com/listing-pictures/2777/?format=api",
            "is_main": false,
            "listing": 260,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/676219ee822d4eba93d8e0777d31bcb2.jpeg"
        },
        {
            "id": 2771,
            "url": "https://api.swistay.com/listing-pictures/2771/?format=api",
            "is_main": false,
            "listing": 260,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/5907cf45a14f4b00aa70949c9d82472a.jpeg"
        },
        {
            "id": 2778,
            "url": "https://api.swistay.com/listing-pictures/2778/?format=api",
            "is_main": false,
            "listing": 260,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/6755b8753ff34584bf917d2a71d65cb5.jpeg"
        },
        {
            "id": 2772,
            "url": "https://api.swistay.com/listing-pictures/2772/?format=api",
            "is_main": false,
            "listing": 260,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/49dd63ed66c54bcb96e811d1d71e2486.jpeg"
        },
        {
            "id": 2779,
            "url": "https://api.swistay.com/listing-pictures/2779/?format=api",
            "is_main": false,
            "listing": 260,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/d03c792144ef4342b7b57301c8a074c2.jpeg"
        },
        {
            "id": 2773,
            "url": "https://api.swistay.com/listing-pictures/2773/?format=api",
            "is_main": false,
            "listing": 260,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/4feaf989a56e4b0588776f1228376ffa.jpeg"
        },
        {
            "id": 2780,
            "url": "https://api.swistay.com/listing-pictures/2780/?format=api",
            "is_main": false,
            "listing": 260,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/4f6ac9ded7694aa5a3c6d0e8964a43f7.jpeg"
        }
    ],
    "contact": {
        "id": 256,
        "phone": "260978104066",
        "is_phone_on_whatsapp": true
    },
    "publish_date": "2025-06-13T17:22:24.729205Z",
    "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": 260,
        "url": "https://api.swistay.com/listing-publish-requests/260/?format=api",
        "is_ever_reviewed": true,
        "status": "accepted",
        "decline_reason": "",
        "created_at": "2025-06-13T17:21:37.308853Z",
        "updated_at": "2025-06-13T17:22:24.737411Z"
    },
    "rooms": [
        {
            "id": 1428,
            "listing": 260,
            "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": 1426,
            "listing": 260,
            "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": 2,
            "beds": [],
            "pictures": []
        },
        {
            "id": 1427,
            "listing": 260,
            "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": 2,
            "beds": [],
            "pictures": []
        },
        {
            "id": 1429,
            "listing": 260,
            "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": 1430,
            "listing": 260,
            "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": 1432,
            "listing": 260,
            "type": {
                "id": 16,
                "url": "https://api.swistay.com/room-types/16/?format=api",
                "code": "DIS",
                "name": "Dinning Space",
                "description": "A dining space(not dedicated room) is where the majority of breakfast, lunch, snacks, and dinner meals are served on a daily basis",
                "icon": {
                    "id": 34,
                    "name": "Dining table",
                    "src": "https://api.swistay.com/media/icons/3f2716ac812d45ce907d7b6b17087e80.svg"
                },
                "order": 13
            },
            "count": 1,
            "beds": [],
            "pictures": []
        },
        {
            "id": 1431,
            "listing": 260,
            "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": 3,
    "bathrooms_count": 3,
    "kitchenrooms_count": 1,
    "diningrooms_count": 0,
    "livingrooms_count": 1,
    "carrying_capacity": 1,
    "suitable_events": [],
    "area": null,
    "sub_type": "detached",
    "condition": "newly-built",
    "is_furnished": false,
    "available_for_tour_starting_from": "2025-06-13",
    "lowest_price": null,
    "available_for_moving_in_starting_from": "2025-06-13",
    "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": 247,
        "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": "https://www.facebook.com/share/p/1BfZDcUEVc/?mibextid=wwXIfr",
    "availability_confirmation_reminder_count": 0,
    "is_short_term_rental": false,
    "is_long_term_rental": true,
    "is_for_sale": false,
    "is_long_term": true
}