How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

GetYourGuide Carts API

The Carts API from GetYourGuide — 2 operation(s) for carts.

GetYourGuide Carts API is one of 8 APIs that GetYourGuide publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Cart. The published artifact set on APIs.io includes an OpenAPI specification, an API reference, a getting-started guide, and authentication docs.

This API exposes 2 operations across 2 paths, and defines 66 schemas. It is described by OpenAPI 3.0.0, at version 1.0.0.

Requests are made against 2 base URLs: https://api.getyourguide.com, https://api.gygtest.net.

2 operations 2 paths 66 schemas 1 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
1.0.0
Base URL
https://api.getyourguide.com
Authentication
API Key
Resource Areas
1

Authentication & Security 1

GetYourGuide Carts API declares 1 security scheme for authenticating requests. An API key is passed in the header as X-ACCESS-TOKEN (ApiKeyAuth). By default, every request must be authenticated.

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 1 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Carts 2
POST
/{version}/carts
Confirm a shopping cart.
CartsConfirm 1 param body → 2004XXdefault
GET
/{version}/carts/{shopping_cart_hash}
Get information about a shopping cart.
CartsGetByHash 4 params → 2004XXdefault

Schemas 66

The contract defines 66 schemas that model the data the API accepts and returns. The most detailed are ParticipantQuestions (15 properties), BillingBase (14 properties), Bookable (13 properties), BookingQuestions (10 properties). Each schema is shown below with its type and property counts.

QuestionsOutput
object
The questions that need to be answered for this booking.
4 properties
DatetimeUTC
string
The datetime in UTC of when the activity dates place.
Currency
string
ISO 4217, The currency with which you would like to pay.
BookingStatus
string
The status of the booking. temp the booking is temporary (added to a cart). unconfirmed the booking is awaiting final confirmation by the supplier. For free-sa…
CouponInfo
string
The code of the coupon if one was used.
Language
string
ISO 639 formatted language
Version
string
The version of the API, currently only 1 is available.
Coordinates
object
2 properties 2 required
ShoppingCartId
number
The ID of the shopping cart. (Use shopping cart hash)
PaymentInfoConfirmed
Booking
object
7 properties
CategoryId
integer
ID of the category.
CartsConfirmRequest
object
2 properties
CancelUrl
string
Url the customer will be redirected to by the payment provider, after failed completing the transaction.
Status
string
The status of the shopping cart: open: the shopping cart is open and needs to be checked out completed: the transaction is completed inpayment: the transaction…
BookingId
integer
The id of the booking. (Use booking hash)
Email
string
Correspondence email.
AddressLine1
string
Street and house number.
Invoice
boolean
Indicates wether an invoice is required for this purchase.
Limit
integer
Number of items to retrieve.
CompanyName
string
Name of the company.
DatetimeType
string
Is the datetime a date or a datetime. This is needed as some activities only have a day on which they take place.
CurrentlyCancellableAtNoFee
boolean
Indicates whether this booking is currently cancellable at no fee.
ShoppingCartHash
string
The hash of the shopping cart.
CartsConfirmResponseConfirmed
object
7 properties
PaymentCurrency
string
ISO 4217, The currency that can be used for payment. It is used in the meta data object in the POST @ /bookings and /carts call.
City
string
Name of the city.
MetaData
object
9 properties
PaymentMethod
string
The payment method used to pay: cc: credit card pp: PayPal dd: direct debit (SEPA, only available in Germany)
FirstName
string
The first name
CancellationPolicyText
string
Cancellation policy text. Kept for backwards compatibility, please use CancellationPolicy.cancellationpolicytext instead.
TravelerBase
object
5 properties
PaymentProcess
object
Information for 2 step checkout such as PayPal or 3DS Credit Card.
3 properties
OptionId
integer
The ID of the tour option.
PriceField
number
The value of the price.
PaymentCurrency-2
string
The currency in which the payment has been processed.
PaymentInfoInPayment
object
3 properties
State
string
State within the country.
Country
string
ISO code of the country of the location (ISO 3166-1).
TourId
integer
The ID of the tour.
BookingHash
string
The hash of the booking. This identifies the booking.
ReturnUrl
string
Url the customer will be redirected to by the payment provider, after successful completing the transaction.
ParticipantQuestions
object
The questions at participant level that need to be answered for this booking.
15 properties
LastName
string
The last name
PhoneNumber
string
International phone number, in the ITU E.123 standard.
Traveler
BookingParameters
array
DEPRECATED! use questions instead
IsCompany
boolean
Is the payee a company.
Datetime
string
The local datetime format Y-m-d T H:i:s.
BillingBase
object
14 properties
Latitude
number
The latitude in ISO 6709 standard.
CartsResponseBase
object
8 properties
MasterBill
object
MasterBill payment method, requires MasterBill API access.
1 property
SupplierBookingCodes
array
Billing
PostalCode
string
Postal/zip code.
Longitude
number
The longitude in ISO 6709 standard.
Bookable
object
13 properties
Error
object
8 properties
AddressLine2
string
Additional information which did not fit in the first row.
InvoiceReference
string
The invoice reference number.
Offset
integer
Offset the list of returned results by this amount.
CntLanguage
string
ISO 639, Language of the text content.
SalutationCode
string
Salutation code. m=Mr. f=Mrs. c=empty
BookingQuestions
object
The questions at booking level that need to be answered for this booking.
10 properties
Ticket
object
6 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

getyourguide-carts-api-openapi.yml Raw ↑

Other APIs GetYourGuide publishes across the network.

GetYourGuide Bookings API
GetYourGuide Categories API
GetYourGuide Configuration API
GetYourGuide Options API
GetYourGuide Reviews API
GetYourGuide Suppliers API
GetYourGuide Tours API
Where this information came from

This is an independent, third-party profile of GetYourGuide Carts API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.