Skip to main content
POST
/
api
/
expedia
/
destinations
/expedia/destinations
curl --request POST \
  --url https://api.anysite.io/api/expedia/destinations \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "destination": "<string>",
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "name": "<string>",
    "@type": "@expedia_destination",
    "type": "<string>",
    "url": "<string>",
    "image": "<string>",
    "description": "<string>",
    "parents": [],
    "neighborhoods": [],
    "top_hotels": [],
    "faqs": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
destination
string
required

Expedia destination id (numeric or d-prefixed) or a destination page URL containing it

Minimum string length: 1
Examples:

"d178293"

"178293"

"https://www.expedia.com/New-York.d178293.Destination-Travel-Guides"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
name
string
required
@type
string
default:@expedia_destination
type
string | null
url
string | null
image
string | null
description
string | null
parents
ExpediaDestinationGeo · object[]
neighborhoods
ExpediaDestinationNeighborhood · object[]
top_hotels
ExpediaDestinationHotel · object[]
faqs
ExpediaDestinationFaq · object[]