Skip to main content
POST
/
api
/
expedia
/
regions
/
search
/expedia/regions/search
curl --request POST \
  --url https://api.anysite.io/api/expedia/regions/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "keyword": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "region_id": "<string>",
    "name": "<string>",
    "@type": "@expedia_region",
    "type": "<string>",
    "full_name": "<string>",
    "latitude": 123,
    "longitude": 123,
    "property_id": "<string>",
    "airport_code": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
keyword
string
required

Destination name or keyword to resolve into Expedia region ids (city, neighborhood, region, point of interest, airport or specific property)

Minimum string length: 1
Examples:

"New York"

"Paris"

"Maldives"

"Disney World"

count
integer
required

Max number of results

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

region_id
string
required
name
string
required
@type
string
default:@expedia_region
type
string | null
full_name
string | null
latitude
number | null
longitude
number | null
property_id
string | null
airport_code
string | null