Skip to main content
POST
/
api
/
getyourguide
/
locations
/
search
/getyourguide/locations/search
curl --request POST \
  --url https://api.anysite.io/api/getyourguide/locations/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "keyword": "<string>",
  "count": 50,
  "timeout": 300
}
'
[
  {
    "id": 123,
    "name": "<string>",
    "@type": "@get_your_guide_search_location",
    "type": "<string>",
    "sub_type": "<string>",
    "country": "<string>",
    "descriptor": "<string>",
    "url": "<string>",
    "alias": "<string>",
    "image": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
keyword
string
required

Search keyword — a city, country, region, attraction, or point of interest name

Minimum string length: 1
Examples:

"Paris"

"italy"

"Eiffel Tower"

count
integer
required

Max number of results to return

Required range: 1 <= x <= 100
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
integer
required
name
string
required
@type
string
default:@get_your_guide_search_location
type
string | null
sub_type
string | null
country
string | null
descriptor
string | null
url
string | null
alias
string | null
image
string | null