Raw schema
{
"type": "object",
"properties": {
"city": {
"type": "string",
"description": "City name in English, e.g. Rome, Lisbon, Munich, Buenos Aires."
},
"country": {
"type": "string",
"description": "ISO-3166 alpha-2 country code, e.g. FR, IT, AR."
},
"query": {
"type": "string",
"description": "Part of the hotel name (with city or lat/lng), or a city name."
},
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"radius_km": {
"type": "number",
"description": "Radius for lat/lng search, default 10, max 50."
},
"stars_min": {
"type": "integer",
"minimum": 1,
"maximum": 5
},
"type": {
"type": "string",
"enum": [
"apartamentos",
"apartahoteles",
"casas-de-huespedes",
"casas-de-vacaciones",
"casas-rurales",
"villas"
],
"description": "Accommodation type: apartments, aparthotels, guest houses, holiday homes, rural houses, villas."
},
"price_max": {
"type": "number",
"description": "Max EUR per night. Only hotels with a published rate are kept."
},
"sort": {
"type": "string",
"enum": [
"recommended",
"price",
"rating"
]
},
"check_in": {
"type": "string",
"description": "YYYY-MM-DD."
},
"check_out": {
"type": "string",
"description": "YYYY-MM-DD."
},
"adults": {
"type": "integer",
"minimum": 1,
"maximum": 8
},
"children": {
"type": "integer",
"minimum": 0,
"maximum": 4
},
"page": {
"type": "integer",
"minimum": 1,
"maximum": 5
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 10,
"description": "How many results to return (1-10, default 10)."
},
"lang": {
"type": "string",
"description": "Language of the answer and of the links: es, en, de, fr, it, pt, tr or ru. Default es."
}
},
"additionalProperties": false
}