Documentation Index
Fetch the complete documentation index at: https://docs.cloro.dev/llms.txt
Use this file to discover all available pages before exploring further.
This section documents the travel and places data returned by the Perplexity endpoint. Travel and places data are part of the Perplexity response, so no separate API call is needed.
Example request
Travel and places data is intent-detected. Send a prompt that expresses travel intent (for example, hotels in a city, places to visit, things to do). No flag is required.
{
"prompt": "best hotels in Lisbon for families",
"country": "PT"
}
This produces a response containing the hotels and places arrays documented below.
Overview
Perplexity automatically detects travel-intent queries and returns structured hotel listings and general place data.
Travel data structure
| Field | Type | Description |
|---|
result.hotels | array | Hotel listings (when travel intent detected) |
result.places | array | General places and locations |
Hotel structure
Each hotel item includes:
| Field | Type | Description |
|---|
name | string | Hotel name |
url | string | Hotel page URL |
rating | number | Hotel rating (0-5) |
num_reviews | number | Number of reviews |
address | array | Address lines |
phone | string | Phone number |
description | string | Hotel description |
image_url | string | Main hotel image URL |
images | array | Additional hotel image URLs |
lat | number | Latitude |
lng | number | Longitude |
price_level | string | Price level indicator |
categories | array | Hotel categories |
Place structure
Each place item includes:
| Field | Type | Description |
|---|
name | string | Place name |
url | string | Place page URL |
address | array | Address lines |
rating | number | Place rating (0-5) |
lat | number | Latitude |
lng | number | Longitude |
categories | array | Place categories |
map_url | string | Map URL |
images | array | Place image URLs |
Response example
{
"success": true,
"result": {
"text": "Lisbon has several family-friendly hotels in central neighborhoods...",
"hotels": [
{
"name": "Hotel Mundial",
"url": "https://www.hotel-mundial.pt",
"rating": 4.3,
"num_reviews": 6421,
"address": ["Praça Martim Moniz 2", "1100-341 Lisboa"],
"phone": "+351 21 884 2000",
"description": "Central family hotel with rooftop views.",
"image_url": "https://example.com/mundial.jpg",
"images": [
"https://example.com/mundial-1.jpg",
"https://example.com/mundial-2.jpg"
],
"lat": 38.7167,
"lng": -9.1357,
"price_level": "$$",
"categories": ["Hotel", "Family-friendly"]
}
],
"places": [
{
"name": "Belem Tower",
"url": "https://www.patrimoniocultural.gov.pt/belem-tower",
"address": ["Avenida Brasília", "Lisboa"],
"rating": 4.6,
"lat": 38.6916,
"lng": -9.2160,
"categories": ["Landmark", "UNESCO site"],
"map_url": "https://maps.google.com/?cid=belem-tower",
"images": ["https://example.com/belem.jpg"]
}
]
}
}