APIs / Real estate / LankaPropertyWeb
1 credit per call5 endpoints24 datapoints
LankaPropertyWeb API
LankaPropertyWeb API for Sri Lankan houses, apartments and land for sale or rent, listing details and agents as JSON. 1 credit per successful call.
{
"success": true,
"data": {
"items": [
{
"id": "5903513",
"type": "sale",
"property_type": "Apartment",
"title": "2 Bedroom Apartment for Sale - Thurstan 42 - Colombo 07 | 52 Million (EM053VE)",
"seo_title": "2 Bedroom Apartment for sale in Colombo 7 for Rs. 52M Total",
"description": "2 Bedroom Apartment for Sale Thurstan 42 Colombo 07 | 52 Million (EM053VE) Property Details: Property Type:...",
"price": 52000000,
"price_label": "Rs. 52M",
"currency": "LKR",
"price_per_sqft": 88737,
"bedrooms": 2,
"bathrooms": 1,
"floor_area": {
"value": 586,
"unit": "sqft"
},
"address": {
"area": "Colombo 7",
"city": "Colombo 7",
"main_city": "Colombo",
"region": "Colombo All"
},
"coordinates": {
"latitude": 6.911665,
"longitude": 79.864571
},
"images": [
{
"url": "https://www.lankapropertyweb.com/pics/5903513/5903513_1779274635_2005.jpeg",
"thumbnail_url": "https://www.lankapropertyweb.com/pics/5903513/thumb_5903513_1779274635_2005.jpeg",
"caption": "Living Room"
}
],
"image_count": 1,
"has_video": false,
"has_360_view": false,
"url": "https://www.lankapropertyweb.com/sale/property_details-5903513.html",
"agent": {
"id": "167650",
"type": "Owner",
"logo": "https://www.lankapropertyweb.com/images/pics/profiles/167650_1776507306_3106.png"
},
"flags": {
"verified": false,
"hot_deal": false,
"trending": false,
"sponsored": false,
"new": false,
"luxury": true
},
"sold": false,
"below_average_percent": 15
},
{
"id": "5584791",
"type": "sale",
"property_type": "Apartment",
"title": "Apartment for Sale - Windsor Tower - Colombo 07 | LKR 63,000,000",
"seo_title": "3 Bedroom Apartment for sale in Colombo 7 for Rs. 63M Total",
"description": "3 Bedroom 1520 sqft apartment for sale in Colombo 7 for Rs. 63 million",
"price": 63000000,
"price_label": "Rs. 63M",
"currency": "LKR",
"price_per_sqft": 41447,
"bedrooms": 3,
"bathrooms": 2,
"floor_area": {
"value": 1520,
"unit": "sqft"
},
"address": {
"area": "Colombo 7",
"city": "Colombo 7",
"main_city": "Colombo",
"region": "Colombo All"
},
"coordinates": {
"latitude": 6.911665,
"longitude": 79.864571
},
"images": [
{
"url": "https://www.lankapropertyweb.com/pics/5584791/5584791_1699244216_5975.jpeg",
"thumbnail_url": "https://www.lankapropertyweb.com/pics/5584791/thumb_5584791_1699244216_5975.jpeg"
},
{
"url": "https://www.lankapropertyweb.com/pics/5584791/5584791_1699244214_6146.jpeg",
"thumbnail_url": "https://www.lankapropertyweb.com/pics/5584791/thumb_5584791_1699244214_6146.jpeg",
"caption": "Bathroom"
},
{
"url": "https://www.lankapropertyweb.com/pics/5584791/5584791_1699244215_6359.jpeg",
"thumbnail_url": "https://www.lankapropertyweb.com/pics/5584791/thumb_5584791_1699244215_6359.jpeg"
}
],
"image_count": 8,
"has_video": false,
"has_360_view": false,
"url": "https://www.lankapropertyweb.com/sale/property_details-5584791.html",
"agent": {
"id": "35975",
"type": "Owner",
"logo": "https://www.lankapropertyweb.com/images/pics/profiles/35975_1781669277_4944.jpeg"
},
"flags": {
"verified": false,
"hot_deal": false,
"trending": false,
"sponsored": false,
"new": false,
"luxury": false
},
"sold": false,
"below_average_percent": -46
},
{
"id": "5808999",
"type": "sale",
"property_type": "Apartment",
"title": "Horton Towers - 03 Bedroom Furnished Apartment for Sale in Colombo 07 (A4818)-SOLD",
"seo_title": "3 Bedroom Apartment for sale in Colombo 7 for Rs. 65M Total",
"description": "Property Code: A4818 Location: Colombo 07 Complex: Horton Towers Type: Furnished Bedroom: 03 Bathroom: 02...",
"price": 65000000,
"price_label": "Rs. 65M",
"currency": "LKR",
"price_per_sqft": 40625,
"bedrooms": 3,
"bathrooms": 2,
"floor_area": {
"value": 1600,
"unit": "sqft"
},
"address": {
"area": "Colombo 7",
"city": "Colombo 7",
"main_city": "Colombo",
"region": "Colombo All"
},
"coordinates": {
"latitude": 6.911665,
"longitude": 79.864571
},
"images": [
{
"url": "https://www.lankapropertyweb.com/pics/5808999/5808999_1756972792_9091.jpeg",
"thumbnail_url": "https://www.lankapropertyweb.com/pics/5808999/thumb_5808999_1756972792_9091.jpeg",
"caption": "Living Room"
},
{
"url": "https://www.lankapropertyweb.com/pics/5808999/5808999_1756972802_813.jpeg",
"thumbnail_url": "https://www.lankapropertyweb.com/pics/5808999/thumb_5808999_1756972802_813.jpeg",
"caption": "Living Room"
},
{
"url": "https://www.lankapropertyweb.com/pics/5808999/5808999_1756972812_724.jpeg",
"thumbnail_url": "https://www.lankapropertyweb.com/pics/5808999/thumb_5808999_1756972812_724.jpeg",
"caption": "Living Room"
}
],
"image_count": 10,
"has_video": false,
"has_360_view": false,
"url": "https://www.lankapropertyweb.com/sale/property_details-5808999.html",
"agent": {
"id": "162454",
"type": "Owner",
"logo": "https://www.lankapropertyweb.com/images/pics/profiles/162454/logonew-11.png"
},
"flags": {
"verified": true,
"hot_deal": false,
"trending": false,
"sponsored": false,
"new": false,
"luxury": false
},
"availability": "SOLD",
"sold": true
}
],
"pagination": {
"page": 1,
"per_page": 25,
"total": 58,
"total_pages": 3,
"returned": 25,
"dropped_by_filter": 0,
"has_more": true
},
"query": {
"type": "sale",
"location": "Colombo 7",
"property_type": "Apartment",
"max_price": "100000000",
"min_bedrooms": "2"
}
},
"meta": {
"endpoint_family": "search",
"request_id": "req_16e3c6116c8046f2bb155f3cb96ed761",
"credits_charged": 1,
"credits_remaining": 1849
}
}Sample data
What one call returns
A recorded run of search: the fields and shapes you will get, shortened to 3 items.
| # | idstring | typestring | property_typestring | titlestring | seo_titlestring | descriptionstring | priceinteger | price_labelstring | currencystring | price_per_sqftinteger | bedroomsinteger | bathroomsinteger | floor_areaobject | addressobject | coordinatesobject | imagesobject[] | image_countinteger | has_videoboolean | has_360_viewboolean | urlurl | agentobject | flagsobject | soldboolean | below_average_percentnumber |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 5903513 | sale | Apartment | 2 Bedroom Apartment for Sale - Thurstan 42 - Colombo 07 | 52 Million (EM053VE) | 2 Bedroom Apartment for sale in Colombo 7 for Rs. 52M Total | 2 Bedroom Apartment for Sale Thurstan 42 Colombo 07 | 52 Million (EM053VE) Property Details: Property Type:... | 52000000 | Rs. 52M | LKR | 88737 | 2 | 1 | {2 fields} | {4 fields} | {2 fields} | [1 item] | 1 | false | false | https://www.lankapropertyweb.com/sale/property_details-5903513.html | {3 fields} | {6 fields} | false | 15 |
| 2 | 5584791 | sale | Apartment | Apartment for Sale - Windsor Tower - Colombo 07 | LKR 63,000,000 | 3 Bedroom Apartment for sale in Colombo 7 for Rs. 63M Total | 3 Bedroom 1520 sqft apartment for sale in Colombo 7 for Rs. 63 million | 63000000 | Rs. 63M | LKR | 41447 | 3 | 2 | {2 fields} | {4 fields} | {2 fields} | [3 items] | 8 | false | false | https://www.lankapropertyweb.com/sale/property_details-5584791.html | {3 fields} | {6 fields} | false | -46 |
| 3 | 5808999 | sale | Apartment | Horton Towers - 03 Bedroom Furnished Apartment for Sale in Colombo 07 (A4818)-SOLD | 3 Bedroom Apartment for sale in Colombo 7 for Rs. 65M Total | Property Code: A4818 Location: Colombo 07 Complex: Horton Towers Type: Furnished Bedroom: 03 Bathroom: 02... | 65000000 | Rs. 65M | LKR | 40625 | 3 | 2 | {2 fields} | {4 fields} | {2 fields} | [3 items] | 10 | false | false | https://www.lankapropertyweb.com/sale/property_details-5808999.html | {3 fields} | {6 fields} | true | — |
[
{
"id": "5903513",
"type": "sale",
"property_type": "Apartment",
"title": "2 Bedroom Apartment for Sale - Thurstan 42 - Colombo 07 | 52 Million (EM053VE)",
"seo_title": "2 Bedroom Apartment for sale in Colombo 7 for Rs. 52M Total",
"description": "2 Bedroom Apartment for Sale Thurstan 42 Colombo 07 | 52 Million (EM053VE) Property Details: Property Type:...",
"price": 52000000,
"price_label": "Rs. 52M",
"currency": "LKR",
"price_per_sqft": 88737,
"bedrooms": 2,
"bathrooms": 1,
"floor_area": {
"value": 586,
"unit": "sqft"
},
"address": {
"area": "Colombo 7",
"city": "Colombo 7",
"main_city": "Colombo",
"region": "Colombo All"
},
"coordinates": {
"latitude": 6.911665,
"longitude": 79.864571
},
"images": [
{
"url": "https://www.lankapropertyweb.com/pics/5903513/5903513_1779274635_2005.jpeg",
"thumbnail_url": "https://www.lankapropertyweb.com/pics/5903513/thumb_5903513_1779274635_2005.jpeg",
"caption": "Living Room"
}
],
"image_count": 1,
"has_video": false,
"has_360_view": false,
"url": "https://www.lankapropertyweb.com/sale/property_details-5903513.html",
"agent": {
"id": "167650",
"type": "Owner",
"logo": "https://www.lankapropertyweb.com/images/pics/profiles/167650_1776507306_3106.png"
},
"flags": {
"verified": false,
"hot_deal": false,
"trending": false,
"sponsored": false,
"new": false,
"luxury": true
},
"sold": false,
"below_average_percent": 15
},
{
"id": "5584791",
"type": "sale",
"property_type": "Apartment",
"title": "Apartment for Sale - Windsor Tower - Colombo 07 | LKR 63,000,000",
"seo_title": "3 Bedroom Apartment for sale in Colombo 7 for Rs. 63M Total",
"description": "3 Bedroom 1520 sqft apartment for sale in Colombo 7 for Rs. 63 million",
"price": 63000000,
"price_label": "Rs. 63M",
"currency": "LKR",
"price_per_sqft": 41447,
"bedrooms": 3,
"bathrooms": 2,
"floor_area": {
"value": 1520,
"unit": "sqft"
},
"address": {
"area": "Colombo 7",
"city": "Colombo 7",
"main_city": "Colombo",
"region": "Colombo All"
},
"coordinates": {
"latitude": 6.911665,
"longitude": 79.864571
},
"images": [
{
"url": "https://www.lankapropertyweb.com/pics/5584791/5584791_1699244216_5975.jpeg",
"thumbnail_url": "https://www.lankapropertyweb.com/pics/5584791/thumb_5584791_1699244216_5975.jpeg"
},
{
"url": "https://www.lankapropertyweb.com/pics/5584791/5584791_1699244214_6146.jpeg",
"thumbnail_url": "https://www.lankapropertyweb.com/pics/5584791/thumb_5584791_1699244214_6146.jpeg",
"caption": "Bathroom"
},
{
"url": "https://www.lankapropertyweb.com/pics/5584791/5584791_1699244215_6359.jpeg",
"thumbnail_url": "https://www.lankapropertyweb.com/pics/5584791/thumb_5584791_1699244215_6359.jpeg"
}
],
"image_count": 8,
"has_video": false,
"has_360_view": false,
"url": "https://www.lankapropertyweb.com/sale/property_details-5584791.html",
"agent": {
"id": "35975",
"type": "Owner",
"logo": "https://www.lankapropertyweb.com/images/pics/profiles/35975_1781669277_4944.jpeg"
},
"flags": {
"verified": false,
"hot_deal": false,
"trending": false,
"sponsored": false,
"new": false,
"luxury": false
},
"sold": false,
"below_average_percent": -46
},
{
"id": "5808999",
"type": "sale",
"property_type": "Apartment",
"title": "Horton Towers - 03 Bedroom Furnished Apartment for Sale in Colombo 07 (A4818)-SOLD",
"seo_title": "3 Bedroom Apartment for sale in Colombo 7 for Rs. 65M Total",
"description": "Property Code: A4818 Location: Colombo 07 Complex: Horton Towers Type: Furnished Bedroom: 03 Bathroom: 02...",
"price": 65000000,
"price_label": "Rs. 65M",
"currency": "LKR",
"price_per_sqft": 40625,
"bedrooms": 3,
"bathrooms": 2,
"floor_area": {
"value": 1600,
"unit": "sqft"
},
"address": {
"area": "Colombo 7",
"city": "Colombo 7",
"main_city": "Colombo",
"region": "Colombo All"
},
"coordinates": {
"latitude": 6.911665,
"longitude": 79.864571
},
"images": [
{
"url": "https://www.lankapropertyweb.com/pics/5808999/5808999_1756972792_9091.jpeg",
"thumbnail_url": "https://www.lankapropertyweb.com/pics/5808999/thumb_5808999_1756972792_9091.jpeg",
"caption": "Living Room"
},
{
"url": "https://www.lankapropertyweb.com/pics/5808999/5808999_1756972802_813.jpeg",
"thumbnail_url": "https://www.lankapropertyweb.com/pics/5808999/thumb_5808999_1756972802_813.jpeg",
"caption": "Living Room"
},
{
"url": "https://www.lankapropertyweb.com/pics/5808999/5808999_1756972812_724.jpeg",
"thumbnail_url": "https://www.lankapropertyweb.com/pics/5808999/thumb_5808999_1756972812_724.jpeg",
"caption": "Living Room"
}
],
"image_count": 10,
"has_video": false,
"has_360_view": false,
"url": "https://www.lankapropertyweb.com/sale/property_details-5808999.html",
"agent": {
"id": "162454",
"type": "Owner",
"logo": "https://www.lankapropertyweb.com/images/pics/profiles/162454/logonew-11.png"
},
"flags": {
"verified": true,
"hot_deal": false,
"trending": false,
"sponsored": false,
"new": false,
"luxury": false
},
"availability": "SOLD",
"sold": true
}
]id,type,property_type,title,seo_title,description,price,price_label,currency,price_per_sqft,bedrooms,bathrooms,floor_area,address,coordinates,images,image_count,has_video,has_360_view,url,agent,flags,sold,below_average_percent
5903513,sale,Apartment,2 Bedroom Apartment for Sale - Thurstan 42 - Colombo 07 | 52 Million (EM053VE),2 Bedroom Apartment for sale in Colombo 7 for Rs. 52M Total,2 Bedroom Apartment for Sale Thurstan 42 Colombo 07 | 52 Million (EM053VE) Property Details: Property Type:...,52000000,Rs. 52M,LKR,88737,2,1,"{""value"":586,""unit"":""sqft""}","{""area"":""Colombo 7"",""city"":""Colombo 7"",""main_city"":""Colombo"",""region"":""Colombo All""}","{""latitude"":6.911665,""longitude"":79.864571}","[{""url"":""https://www.lankapropertyweb.com/pics/5903513/5903513_1779274635_2005.jpeg"",""thumbnail_url"":""https://www.lankapropertyweb.com/pics/5903513/thumb_5903513_1779274635_2005.jpeg"",""caption"":""Living Room""}]",1,false,false,https://www.lankapropertyweb.com/sale/property_details-5903513.html,"{""id"":""167650"",""type"":""Owner"",""logo"":""https://www.lankapropertyweb.com/images/pics/profiles/167650_1776507306_3106.png""}","{""verified"":false,""hot_deal"":false,""trending"":false,""sponsored"":false,""new"":false,""luxury"":true}",false,15
5584791,sale,Apartment,"Apartment for Sale - Windsor Tower - Colombo 07 | LKR 63,000,000",3 Bedroom Apartment for sale in Colombo 7 for Rs. 63M Total,3 Bedroom 1520 sqft apartment for sale in Colombo 7 for Rs. 63 million,63000000,Rs. 63M,LKR,41447,3,2,"{""value"":1520,""unit"":""sqft""}","{""area"":""Colombo 7"",""city"":""Colombo 7"",""main_city"":""Colombo"",""region"":""Colombo All""}","{""latitude"":6.911665,""longitude"":79.864571}","[{""url"":""https://www.lankapropertyweb.com/pics/5584791/5584791_1699244216_5975.jpeg"",""thumbnail_url"":""https://www.lankapropertyweb.com/pics/5584791/thumb_5584791_1699244216_5975.jpeg""},{""url"":""https://www.lankapropertyweb.com/pics/5584791/5584791_1699244214_6146.jpeg"",""thumbnail_url"":""https://www.lankapropertyweb.com/pics/5584791/thumb_5584791_1699244214_6146.jpeg"",""caption"":""Bathroom""},{""url"":""https://www.lankapropertyweb.com/pics/5584791/5584791_1699244215_6359.jpeg"",""thumbnail_url"":""https://www.lankapropertyweb.com/pics/5584791/thumb_5584791_1699244215_6359.jpeg""}]",8,false,false,https://www.lankapropertyweb.com/sale/property_details-5584791.html,"{""id"":""35975"",""type"":""Owner"",""logo"":""https://www.lankapropertyweb.com/images/pics/profiles/35975_1781669277_4944.jpeg""}","{""verified"":false,""hot_deal"":false,""trending"":false,""sponsored"":false,""new"":false,""luxury"":false}",false,-46
5808999,sale,Apartment,Horton Towers - 03 Bedroom Furnished Apartment for Sale in Colombo 07 (A4818)-SOLD,3 Bedroom Apartment for sale in Colombo 7 for Rs. 65M Total,Property Code: A4818 Location: Colombo 07 Complex: Horton Towers Type: Furnished Bedroom: 03 Bathroom: 02...,65000000,Rs. 65M,LKR,40625,3,2,"{""value"":1600,""unit"":""sqft""}","{""area"":""Colombo 7"",""city"":""Colombo 7"",""main_city"":""Colombo"",""region"":""Colombo All""}","{""latitude"":6.911665,""longitude"":79.864571}","[{""url"":""https://www.lankapropertyweb.com/pics/5808999/5808999_1756972792_9091.jpeg"",""thumbnail_url"":""https://www.lankapropertyweb.com/pics/5808999/thumb_5808999_1756972792_9091.jpeg"",""caption"":""Living Room""},{""url"":""https://www.lankapropertyweb.com/pics/5808999/5808999_1756972802_813.jpeg"",""thumbnail_url"":""https://www.lankapropertyweb.com/pics/5808999/thumb_5808999_1756972802_813.jpeg"",""caption"":""Living Room""},{""url"":""https://www.lankapropertyweb.com/pics/5808999/5808999_1756972812_724.jpeg"",""thumbnail_url"":""https://www.lankapropertyweb.com/pics/5808999/thumb_5808999_1756972812_724.jpeg"",""caption"":""Living Room""}]",10,false,false,https://www.lankapropertyweb.com/sale/property_details-5808999.html,"{""id"":""162454"",""type"":""Owner"",""logo"":""https://www.lankapropertyweb.com/images/pics/profiles/162454/logonew-11.png""}","{""verified"":true,""hot_deal"":false,""trending"":false,""sponsored"":false,""new"":false,""luxury"":false}",true,Recorded from our API · 3 items shown · 24 datapoints per itemGET /v1/lankapropertyweb/search?type=sale&location=Colombo+7&property_type=Apartment&max_price=100000000&min_bedrooms=2
24 datapoints
Identity
- idstring
- typestring
- property_typestring
- titlestring
- seo_titlestring
Contact
- urlurl
- agentobject
Location
- floor_areaobject
- addressobject
Reputation
- imagesobject[]
- image_countinteger
Price
- priceinteger
- price_labelstring
- currencystring
- price_per_sqftinteger
Other
- descriptionstring
- bedroomsinteger
- bathroomsinteger
- coordinatesobject
- has_videoboolean
- has_360_viewboolean
- flagsobject
- soldboolean
- below_average_percentnumber
Playground
Run this API
curl "https://api.perceptlayer.com/v1/lankapropertyweb/search?type=sale&location=Colombo+7&property_type=Apartment&max_price=100000000&min_bedrooms=2" \
-H "X-API-Key: $API_KEY"LankaPropertyWeb · 5 endpoints
Endpoints
Every endpoint takes the same key. Open one for its parameters and an example request.
| Endpoint | Required parameters | Cost |
|---|---|---|
GET/v1/lankapropertyweb/agent | slug+1 optional | 1 credit |
GET/v1/lankapropertyweb/agents | none+2 optional | 1 credit |
GET/v1/lankapropertyweb/autocomplete | q | 1 credit |
GET/v1/lankapropertyweb/listing | idtype | 1 credit |
GET/v1/lankapropertyweb/search | type+11 optional | 1 credit |
Overview
About the LankaPropertyWeb API
What you can get
The LankaPropertyWeb API returns LankaPropertyWeb property data as JSON through 5 endpoints.
- Search:
searchtakes atype(sale, rent or land), withlocation,property_type,min_price,max_price,min_bedrooms,min_land,max_land,min_floor_area,max_floor_area,keywordsandpage. - Listings:
listingtakes anidand atype(sale, rent or land). - Agents:
agentstakes anagent_type(Sales, Rentals, Land, Commercial, Management or Research), withpage;agenttakes aslug, withpage. - Locations:
autocompletetakesq.
The recorded search for apartments for sale in Colombo 7 (at least 2 bedrooms, up to 100,000,000) returns a total of 58, with total_pages and has_more. Each item carries id, type, property_type, title, description, price, price_label, currency, price_per_sqft, bedrooms, bathrooms, floor_area, address, coordinates, image_count, has_video, has_360_view, url, agent, sold and below_average_percent.
How a call works
Search a location: GET /v1/lankapropertyweb/search?type=sale&location=Colombo 7&property_type=Apartment&max_price=100000000&min_bedrooms=2 with your key in the X-API-Key header. Each item's id and type are the two parameters listing takes. Every successful call costs 1 credit; failed calls cost nothing.
More real estate APIs
Use cases
Track apartment prices in Colombo and across Sri Lanka
Use the LankaPropertyWeb API to track apartment prices in Colombo and across Sri LankaCompare `price_per_sqft` between neighbourhoods
Use the LankaPropertyWeb API to compare `price_per_sqft` between neighbourhoodsSpot listings priced below the area average with `below_average_percent`
Use the LankaPropertyWeb API to spot listings priced below the area average with `below_average_percent`Search land for sale by size with `type=land`, `min_land` and `max_land`
Use the LankaPropertyWeb API to search land for sale by size with `type=land`, `min_land` and `max_land`FAQ
Questions
How much does the LankaPropertyWeb API cost?
Each successful call costs one credit. New accounts get free credits to start, and credit packs bring the price down as you scale.
What format are responses in?
Every endpoint returns JSON, with no HTML parsing on your side.
Do I need a LankaPropertyWeb account?
No. You call this LankaPropertyWeb API with your Perceptlayer key in the `X-API-Key` header, with no LankaPropertyWeb login.
Should I build a LankaPropertyWeb scraper instead?
You can, but a LankaPropertyWeb scraper is code you maintain: page changes break it, requests get blocked, and LankaPropertyWeb's terms govern how you collect data. The LankaPropertyWeb API gives you 5 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.
Try the LankaPropertyWeb API with 100 free credits
No credit card. Failed calls are never billed.