Skip to content

GetYourGuide Locations API

GetYourGuide places (cities, regions, countries, attractions, neighborhoods) whose name matches the text, in the site's relevance order, at most the site's top 20 suggestions: id, name, type, descriptor such as 'City in Italy', and the place slug (e.g. venice-l35) that the location parameter of the other endpoints takes.

GEThttps://api.maviapi.com/v1/sites/getyourguide/locations5 credits per call

Parameters

NameRequiredExampleDescription
qstring in queryOptionalvenicename of a city, region, country or attraction (any case, accents optional).

Response fields

querystringe.g."venice"
countintegere.g.20
locationsobject[]7 fields
idstringe.g."35"
namestringe.g."Venice"
slugstringe.g."venice-l35"
typestringe.g."city"
descriptorstringe.g."City in Italy"
urlstringe.g."https://www.getyourguide.com/venice-l35/"
imagestringe.g."https://cdn.getyourguide.com/img/location/5ffeb43d54f6e.jpeg/132.jpg"
paginationobject3 fields
countintegere.g.20
has_morebooleane.g.false
next_cursornull
fetched_atstringe.g."2026-11-27T17:47:30.077Z"
ageintegere.g.0

Example request

Set MAVI_KEY to your API key. A successful call costs 5 credits per call, and a failed call costs nothing.

cURL
curl 'https://api.maviapi.com/v1/sites/getyourguide/locations' \
  -H "Authorization: Bearer $MAVI_KEY"

GetYourGuide Locations API questions

What you get, what it costs and how to call it.

What does the GetYourGuide Locations API return?

GetYourGuide places (cities, regions, countries, attractions, neighborhoods) whose name matches the text, in the site's relevance order, at most the site's top 20 suggestions: id, name, type, descriptor such as 'City in Italy', and the place slug (e.g. venice-l35) that the location parameter of the other endpoints takes. The response has query, count, locations, pagination, fetched_at and age.

Which parameters does the GetYourGuide Locations API take?

Every parameter of GET /locations is optional. You can pass q.

How much does one GetYourGuide Locations API call cost?

One successful call costs 5 credits. A failed call costs nothing. On the Hobby plan ($49 a month for 250,000 credits), 1,000 calls cost about $0.98. The Free plan gives you 1,000 credits a month, with no credit card required. See plans and credit prices for everything after that.

How do I call the GetYourGuide Locations API?

Send an HTTPS GET request to https://api.maviapi.com/v1/sites/getyourguide/locations with your API key in the Authorization header, as in the example request on this page. Create a key on your API keys page, or try the endpoint first in the console with the free test key.

Is the GetYourGuide Locations API official?

No. It is an independent, hosted API from maviapi for the public data on getyourguide.com, and it is not made, endorsed or supported by GetYourGuide. Its parameters and response fields are documented on this page.