API endpoint that allows Listing to be viewed or edited.

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

{
    "id": 246,
    "url": "https://api.swistay.com/listings/246/?format=api",
    "type": "flat",
    "available_for": "rent",
    "available_for_options": [
        "rent",
        "sale",
        "booking"
    ],
    "price": {
        "id": 245,
        "amount": 4000.0,
        "today_calendar_rule_amount": 4000.0,
        "time_rate": "month",
        "area_rate": "",
        "currency": "ZMW",
        "is_negotiable": false,
        "payment_frequency_count": 2,
        "payment_terms": ""
    },
    "security_deposit": {
        "id": 76,
        "amount": 4000.0,
        "currency": "ZMW"
    },
    "description": "<p class=\"mb-1\" dir=\"ltr\"><span style=\"white-space: pre-wrap;\">Newly BUILT Spacious 1 BEDROOMED Flat for rent in Chalala off shantumbu road near Kalos Lodge</span></p><p class=\"mb-1\"><br></p><p class=\"mb-1\" dir=\"ltr\"><span style=\"white-space: pre-wrap;\">*MODERN inBUILT FITTINGS </span></p><p class=\"mb-1\" dir=\"ltr\"><span style=\"white-space: pre-wrap;\">*Secured yard </span></p><p class=\"mb-1\" dir=\"ltr\"><span style=\"white-space: pre-wrap;\">*Dinning</span></p><p class=\"mb-1\" dir=\"ltr\"><span style=\"white-space: pre-wrap;\">*Borehole</span></p><p class=\"mb-1\" dir=\"ltr\"><span style=\"white-space: pre-wrap;\">*Geyzer</span></p><p class=\"mb-1\" dir=\"ltr\"><span style=\"white-space: pre-wrap;\">*Paved yard</span></p><p class=\"mb-1\" dir=\"ltr\"><span style=\"white-space: pre-wrap;\">*Near the TARMAC </span></p><p class=\"mb-1\"><br></p><p class=\"mb-1\" dir=\"ltr\"><span style=\"white-space: pre-wrap;\">@4,000*2 plus security deposit</span></p><p class=\"mb-1\" dir=\"ltr\"><span style=\"white-space: pre-wrap;\">(Ready 1st August,2025,Viewable and payable).</span></p>",
    "location": {
        "id": 242,
        "address": "Chalala, Off Shantumbu Road",
        "coordinates": {
            "lat": -15.491692138462396,
            "lng": 28.340500508984388
        }
    },
    "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": 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": 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": 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": 2613,
        "url": "https://api.swistay.com/listing-pictures/2613/?format=api",
        "is_main": true,
        "listing": 246,
        "tooltip": "",
        "src": "https://api.swistay.com/media/listings_pictures/2f84184e4d114623831c671afb8bd067.jpeg"
    },
    "pictures": [
        {
            "id": 2613,
            "url": "https://api.swistay.com/listing-pictures/2613/?format=api",
            "is_main": true,
            "listing": 246,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/2f84184e4d114623831c671afb8bd067.jpeg"
        },
        {
            "id": 2614,
            "url": "https://api.swistay.com/listing-pictures/2614/?format=api",
            "is_main": false,
            "listing": 246,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/6657ca8e5b48464aa9d4d4734068f181.jpeg"
        },
        {
            "id": 2615,
            "url": "https://api.swistay.com/listing-pictures/2615/?format=api",
            "is_main": false,
            "listing": 246,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/80970bddf5a74631a5a48cf3879ee21e.jpeg"
        },
        {
            "id": 2616,
            "url": "https://api.swistay.com/listing-pictures/2616/?format=api",
            "is_main": false,
            "listing": 246,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/932de55b27d5419baf5d44d7757c33ff.jpeg"
        },
        {
            "id": 2617,
            "url": "https://api.swistay.com/listing-pictures/2617/?format=api",
            "is_main": false,
            "listing": 246,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/fb8bed17d8fe449caa5763e0f2f7b70b.jpeg"
        },
        {
            "id": 2618,
            "url": "https://api.swistay.com/listing-pictures/2618/?format=api",
            "is_main": false,
            "listing": 246,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/ef1aa86f123c4fca8a00dde8c2dcb7bd.jpeg"
        },
        {
            "id": 2619,
            "url": "https://api.swistay.com/listing-pictures/2619/?format=api",
            "is_main": false,
            "listing": 246,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/7f5728dcfcb84f53a2ad7148197f496f.jpeg"
        },
        {
            "id": 2620,
            "url": "https://api.swistay.com/listing-pictures/2620/?format=api",
            "is_main": false,
            "listing": 246,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/2e6dcc4d0bcd4adea7daa7e9dc4dfe0e.jpeg"
        },
        {
            "id": 2621,
            "url": "https://api.swistay.com/listing-pictures/2621/?format=api",
            "is_main": false,
            "listing": 246,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/2ce79cc7bec241db9c44ca3d90d19858.jpeg"
        },
        {
            "id": 2622,
            "url": "https://api.swistay.com/listing-pictures/2622/?format=api",
            "is_main": false,
            "listing": 246,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/3f0fa191370f4537ab0957bd40c2a095.jpeg"
        },
        {
            "id": 2623,
            "url": "https://api.swistay.com/listing-pictures/2623/?format=api",
            "is_main": false,
            "listing": 246,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/1f509eefd3094bb9a619b900e5ec51ef.jpeg"
        },
        {
            "id": 2624,
            "url": "https://api.swistay.com/listing-pictures/2624/?format=api",
            "is_main": false,
            "listing": 246,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/271a64742fae4a679bcec2b6caf9c69e.jpeg"
        }
    ],
    "contact": {
        "id": 242,
        "phone": "260978104066",
        "is_phone_on_whatsapp": true
    },
    "publish_date": "2025-05-01T08:12:30.180100Z",
    "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": 246,
        "url": "https://api.swistay.com/listing-publish-requests/246/?format=api",
        "is_ever_reviewed": true,
        "status": "accepted",
        "decline_reason": "",
        "created_at": "2025-05-01T08:11:09.830401Z",
        "updated_at": "2025-05-01T08:12:30.183753Z"
    },
    "rooms": [
        {
            "id": 1361,
            "listing": 246,
            "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": 1363,
            "listing": 246,
            "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": 1362,
            "listing": 246,
            "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": []
        }
    ],
    "bedrooms_count": 1,
    "bathrooms_count": 1,
    "kitchenrooms_count": 0,
    "diningrooms_count": 0,
    "livingrooms_count": 0,
    "carrying_capacity": 1,
    "suitable_events": [],
    "area": null,
    "sub_type": "",
    "condition": "fair",
    "is_furnished": false,
    "available_for_tour_starting_from": "2025-05-01",
    "lowest_price": null,
    "available_for_moving_in_starting_from": "2025-08-01",
    "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": 233,
        "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/1AU2ePZdCf/?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
}