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.2.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.2.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.

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

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.