Skip to main content
POST
/
api
/
getyourguide
/
locations
/getyourguide/locations
curl --request POST \
  --url https://api.anysite.io/api/getyourguide/locations \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "location": "<string>",
  "timeout": 300
}
'
[
  {
    "id": 123,
    "name": "<string>",
    "url": "<string>",
    "@type": "@get_your_guide_location",
    "alias": "<string>",
    "type": "<string>",
    "title": "<string>",
    "description": "<string>",
    "image": "<string>",
    "country": "<string>",
    "country_id": 123,
    "region": "<string>",
    "region_id": 123,
    "city": "<string>",
    "city_id": 123,
    "activity_count": 123,
    "categories": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
location
string
required

GetYourGuide location id (e.g. 16 or l16) or a location page URL containing it

Minimum string length: 1
Examples:

"16"

"https://www.getyourguide.com/paris-l16/"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
integer
required
name
string
required
url
string
required
@type
string
default:@get_your_guide_location
alias
string | null
type
string | null
title
string | null
description
string | null
image
string | null
country
string | null
country_id
integer | null
region
string | null
region_id
integer | null
city
string | null
city_id
integer | null
activity_count
integer | null
categories
GetYourGuideLocationCategory · object[]