API endpoint that allows Listing to be viewed or edited.

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

{
    "id": 31,
    "url": "https://api.swistay.com/listings/31/?format=api",
    "type": "apartment",
    "available_for": "booking",
    "available_for_options": [
        "rent",
        "sale",
        "booking"
    ],
    "price": {
        "id": 30,
        "amount": 900.0,
        "today_calendar_rule_amount": 900.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;\">Blue Agave Apartments is a home away from home, Warm apartments that are clean , modern and comfortable in a quiet neighborhood.</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;\">Fully Furnished | Air Conditioned | Full Kitchen &amp; lounge | DSTV - Compact | Free &amp; Secure Parking | Transfer Services  | Unlimited WIFI | Borehole Water and Solar Backup</span></p>",
    "location": {
        "id": 27,
        "address": "Ibex Meanwood, Lusaka",
        "coordinates": {
            "lat": -15.3927875,
            "lng": 28.4192311
        }
    },
    "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": 9,
            "url": "https://api.swistay.com/amenities/9/?format=api",
            "name": "Air conditioning",
            "category": {
                "id": 4,
                "name": "Heating & Cooling",
                "order": 8
            },
            "icon": {
                "id": 47,
                "name": "Cold weather",
                "src": "https://api.swistay.com/media/icons/f242de6caf2043368d233af2a56072a6.svg"
            },
            "description": "",
            "search_keywords": "AC, Aircon"
        },
        {
            "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": 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": 5,
            "url": "https://api.swistay.com/amenities/5/?format=api",
            "name": "Wi-Fi",
            "category": {
                "id": 3,
                "name": "Internet & Office",
                "order": 10
            },
            "icon": {
                "id": 45,
                "name": "Wi-Fi",
                "src": "https://api.swistay.com/media/icons/b19dfeb1f45a4b5d97ccb02c2fc509c1.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": 77,
            "url": "https://api.swistay.com/amenities/77/?format=api",
            "name": "Backup electric generator",
            "category": {
                "id": 2,
                "name": "Parking & Facilities",
                "order": 4
            },
            "icon": {
                "id": 61,
                "name": "Electricity caution",
                "src": "https://api.swistay.com/media/icons/56328bf04d064c86876683c53bb1bbbe.svg"
            },
            "description": "",
            "search_keywords": ""
        }
    ],
    "services": [],
    "main_picture": {
        "id": 257,
        "url": "https://api.swistay.com/listing-pictures/257/?format=api",
        "is_main": true,
        "listing": 31,
        "tooltip": "",
        "src": "https://api.swistay.com/media/listings_pictures/1d359b84041c41738721aa26c94d128e.jpeg"
    },
    "pictures": [
        {
            "id": 257,
            "url": "https://api.swistay.com/listing-pictures/257/?format=api",
            "is_main": true,
            "listing": 31,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/1d359b84041c41738721aa26c94d128e.jpeg"
        },
        {
            "id": 258,
            "url": "https://api.swistay.com/listing-pictures/258/?format=api",
            "is_main": false,
            "listing": 31,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/59dc9c4cc37e4067ada9b17c3c4633c4.jpeg"
        },
        {
            "id": 259,
            "url": "https://api.swistay.com/listing-pictures/259/?format=api",
            "is_main": false,
            "listing": 31,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/a32287752858466b9e8bd0f35bb66ec3.jpeg"
        },
        {
            "id": 260,
            "url": "https://api.swistay.com/listing-pictures/260/?format=api",
            "is_main": false,
            "listing": 31,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/c6ebabc97f7c465e8e618cdfb82ea0a4.jpeg"
        },
        {
            "id": 261,
            "url": "https://api.swistay.com/listing-pictures/261/?format=api",
            "is_main": false,
            "listing": 31,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/49efd56b832a4e698239f399dbf7226f.jpeg"
        },
        {
            "id": 262,
            "url": "https://api.swistay.com/listing-pictures/262/?format=api",
            "is_main": false,
            "listing": 31,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/1035c7150fc940e2b16cfa5918c1c8d2.jpeg"
        },
        {
            "id": 263,
            "url": "https://api.swistay.com/listing-pictures/263/?format=api",
            "is_main": false,
            "listing": 31,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/9f803637a0a84abc94f4cb840c430f72.jpeg"
        },
        {
            "id": 264,
            "url": "https://api.swistay.com/listing-pictures/264/?format=api",
            "is_main": false,
            "listing": 31,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/2f6ba573094042f0bb06559e9eb1e0d6.jpeg"
        },
        {
            "id": 265,
            "url": "https://api.swistay.com/listing-pictures/265/?format=api",
            "is_main": false,
            "listing": 31,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/df1da65a607e485a9bcfd624592e7ba0.jpeg"
        },
        {
            "id": 266,
            "url": "https://api.swistay.com/listing-pictures/266/?format=api",
            "is_main": false,
            "listing": 31,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/61d8217b5c7a438d810cabf93fd7455d.jpeg"
        },
        {
            "id": 267,
            "url": "https://api.swistay.com/listing-pictures/267/?format=api",
            "is_main": false,
            "listing": 31,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/277da88e6d80480997483c1c3ac5508d.jpeg"
        },
        {
            "id": 268,
            "url": "https://api.swistay.com/listing-pictures/268/?format=api",
            "is_main": false,
            "listing": 31,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/75a0974d4ca14ad8b37f57761aa7912a.jpeg"
        },
        {
            "id": 269,
            "url": "https://api.swistay.com/listing-pictures/269/?format=api",
            "is_main": false,
            "listing": 31,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/398d47fbc9ce4ed695c196b92cda1a56.jpeg"
        },
        {
            "id": 270,
            "url": "https://api.swistay.com/listing-pictures/270/?format=api",
            "is_main": false,
            "listing": 31,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/a4e9a617ea2241f6bb122aca4f0a6b9c.jpeg"
        },
        {
            "id": 271,
            "url": "https://api.swistay.com/listing-pictures/271/?format=api",
            "is_main": false,
            "listing": 31,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/e0693401c79f49b0aa73ee1bf8c85537.jpeg"
        },
        {
            "id": 272,
            "url": "https://api.swistay.com/listing-pictures/272/?format=api",
            "is_main": false,
            "listing": 31,
            "tooltip": "",
            "src": "https://api.swistay.com/media/listings_pictures/6640151feedd4717b9b1ed46842881c6.jpeg"
        }
    ],
    "contact": {
        "id": 27,
        "phone": "260975926048",
        "is_phone_on_whatsapp": true
    },
    "publish_date": "2024-04-28T12:21:22.559028Z",
    "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": 31,
        "url": "https://api.swistay.com/listing-publish-requests/31/?format=api",
        "is_ever_reviewed": true,
        "status": "accepted",
        "decline_reason": "",
        "created_at": "2024-04-28T12:18:58.165681Z",
        "updated_at": "2024-04-28T12:21:22.563576Z"
    },
    "rooms": [
        {
            "id": 143,
            "listing": 31,
            "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": 15,
                    "room": 143,
                    "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": 144,
            "listing": 31,
            "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": 4,
    "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": 11,
        "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/9qdWEQbwy9SFT82e/?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
}