Get accommodation details
curl --request GET \
--url https://realtycrawl.dev/v1/stays/{stay_id} \
--header 'x-api-key: <api-key>'import requests
url = "https://realtycrawl.dev/v1/stays/{stay_id}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://realtycrawl.dev/v1/stays/{stay_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"id": "<string>",
"source": {
"platform": "<string>",
"provider": "<string>",
"observed_at": "2023-11-07T05:31:56Z",
"access_class": "public_portal",
"country": "<string>",
"native_id": "<string>",
"url": "<string>",
"source_updated_at": "2023-11-07T05:31:56Z",
"retrieved_at": "2023-11-07T05:31:56Z"
},
"property": {
"id": "<string>",
"address": {
"country": "<string>",
"formatted": "<string>",
"line1": "<string>",
"unit": "<string>",
"city": "<string>",
"region": "<string>",
"postal_code": "<string>",
"original_text": "<string>"
},
"property_type": "<string>",
"geometry": {
"latitude": 0,
"longitude": 0,
"precision": "exact",
"crs": "EPSG:4326"
},
"bedrooms": 123,
"rooms": 123,
"bathrooms": 123,
"areas": [
{
"value": 123,
"unit": "sqm",
"basis": "living",
"original_text": "<string>",
"normalized_sqm": 123
}
],
"layout": "<string>",
"year_built": 123
},
"accommodation_type": "entire_home",
"name": "<string>",
"guest_capacity": 123,
"extensions": {}
},
"meta": {
"request_id": "<string>",
"schema_version": "<string>",
"generated_at": "2023-11-07T05:31:56Z",
"completeness": "complete",
"sources": [
{
"platform": "<string>",
"status": "success",
"provider": "<string>",
"error_code": "<string>",
"truncated": true,
"observed_at": "2023-11-07T05:31:56Z"
}
],
"warnings": [
{
"code": "<string>",
"message": "<string>",
"field": "<string>"
}
],
"pagination": {
"next_cursor": "<string>",
"has_more": true,
"returned": 123,
"total": 123,
"total_relation": "exact"
},
"property_groups": [
{
"property_id": "<string>",
"listing_ids": [
"<string>"
],
"match_method": "<string>",
"status": "matched",
"confidence": 123
}
]
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"details": [
{
"platform": "<string>",
"status": "success",
"provider": "<string>",
"error_code": "<string>",
"truncated": true,
"observed_at": "2023-11-07T05:31:56Z"
}
]
},
"request_id": "<string>"
}Stays
Get accommodation details
Proposed interface. Enable only for documented and verified source/country capabilities. Source detail contract
GET
/
v1
/
stays
/
{stay_id}
Get accommodation details
curl --request GET \
--url https://realtycrawl.dev/v1/stays/{stay_id} \
--header 'x-api-key: <api-key>'import requests
url = "https://realtycrawl.dev/v1/stays/{stay_id}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://realtycrawl.dev/v1/stays/{stay_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"id": "<string>",
"source": {
"platform": "<string>",
"provider": "<string>",
"observed_at": "2023-11-07T05:31:56Z",
"access_class": "public_portal",
"country": "<string>",
"native_id": "<string>",
"url": "<string>",
"source_updated_at": "2023-11-07T05:31:56Z",
"retrieved_at": "2023-11-07T05:31:56Z"
},
"property": {
"id": "<string>",
"address": {
"country": "<string>",
"formatted": "<string>",
"line1": "<string>",
"unit": "<string>",
"city": "<string>",
"region": "<string>",
"postal_code": "<string>",
"original_text": "<string>"
},
"property_type": "<string>",
"geometry": {
"latitude": 0,
"longitude": 0,
"precision": "exact",
"crs": "EPSG:4326"
},
"bedrooms": 123,
"rooms": 123,
"bathrooms": 123,
"areas": [
{
"value": 123,
"unit": "sqm",
"basis": "living",
"original_text": "<string>",
"normalized_sqm": 123
}
],
"layout": "<string>",
"year_built": 123
},
"accommodation_type": "entire_home",
"name": "<string>",
"guest_capacity": 123,
"extensions": {}
},
"meta": {
"request_id": "<string>",
"schema_version": "<string>",
"generated_at": "2023-11-07T05:31:56Z",
"completeness": "complete",
"sources": [
{
"platform": "<string>",
"status": "success",
"provider": "<string>",
"error_code": "<string>",
"truncated": true,
"observed_at": "2023-11-07T05:31:56Z"
}
],
"warnings": [
{
"code": "<string>",
"message": "<string>",
"field": "<string>"
}
],
"pagination": {
"next_cursor": "<string>",
"has_more": true,
"returned": 123,
"total": 123,
"total_relation": "exact"
},
"property_groups": [
{
"property_id": "<string>",
"listing_ids": [
"<string>"
],
"match_method": "<string>",
"status": "matched",
"confidence": 123
}
]
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"details": [
{
"platform": "<string>",
"status": "success",
"provider": "<string>",
"error_code": "<string>",
"truncated": true,
"observed_at": "2023-11-07T05:31:56Z"
}
]
},
"request_id": "<string>"
}This operation is defined in the API contract but is not currently enabled.
Check live capabilities before calling this operation. A documented contract does not imply active coverage for every source or country.
⌘I