Documentation

TourCare API

Updated 19 November 2026. A platform calls TourCare and receives JSON. This page is the schema: the path, the fields, the type of each field, and a sample.

Put the host TourCare sends in front of every path below. The host and the key are not printed here. A platform matches these fields. It does not use another company's paths.

A read returns the catalog, one product, or the open seats. A content call changes the trip itself: the name, the description, the place, what is included, the meeting point, the times, and the capacity. A price can travel in the same call. A price is not required.

Authorization

Every call uses HTTPS. TourCare sends the key, and the header name the key goes in, when the connection is opened. A missing or wrong key is refused, and the body is empty.

Ignore a field you do not know yet. TourCare may add a field later. An unknown field must not fail the call. A date range is inclusive. A clock time is HH:MM in the trip's local time. Prices are major units. A blank infant price means the infant is free. The product number does not change when the date, the price, or the text changes.

On a content call, send only the fields you want to replace. A field you leave out stays as it is. The product number stays. The call does not book a seat and does not cancel a booking.

Errors

The same error object is used on every operation. A failed read is retry. It is never an empty product list, and it is not a reason to stop selling the trip. The last good answer is kept for up to 6 hours.

errorWhenWhat the platform does
not_listedThis product number is not offered.Stop selling it.
retryThe catalog could not be read.Call again. Keep the product listed.
no_seatsThat departure cannot take the party.Do not confirm it.
refusedThe key is missing or wrong.Ask TourCare for the key.
invalidA required field is missing or the date is not YYYY-MM-DD or YYYY-MM-DDTHH:MM.Fix the request.

Products

The options this platform may sell. Only a listed, active option is included. An empty list means the company has nothing listed. It does not mean the read failed.

Response 200

Array of products.

idrequiredstring

Permanent product number stored on the option. Printable characters, up to 64.

namerequiredstring

Name shown to the platform. Falls back to the trip name. Up to 512 characters.

currencyrequiredstring

3-letter currency.

price_moderequiredstring

person or group.

opening_hoursrequiredboolean

True when the option is sold by day, with no clock time. False when it has clock times.

cutoff_minutesrequiredinteger

Minutes before departure when the sale stops. 0 means no cutoff.

max_participantsrequiredinteger

Largest party on one order.

Product

One listed option: the price, the time, the seats, and the short description. Change the meeting point, the languages, and the photo with the content calls. The ticket file stays inside TourCare.

Path parameter

idrequiredstring

The product number from the catalog.

Response 200

idrequiredstring

The same product number.

titlerequiredstring

Option name, or the trip name when the option name is blank. Up to 512 characters.

descriptionoptionalstring

Short description, up to 512 characters.

cityoptionalstring

City text.

countryoptionalstring

3-letter country code.

currencyrequiredstring

3-letter currency.

price_moderequiredstring

person or group.

adultoptionalnumber

Retail price in major units. Required when price_mode is person.

childoptionalnumber

Retail price in major units.

infantoptionalnumber

Retail price in major units. Blank means free.

group_priceoptionalnumber

One price for the party. Required when price_mode is group.

price_categoriesoptionalarray

One object per category. The category name stays the same on every date.

categoryrequiredstring

Stable name, such as adult, child, infant, or group.

labeloptionalstring

Name shown next to the price.

pricerequirednumber

Retail price in major units.

age_fromoptionalinteger

Youngest age for this category.

age_tooptionalinteger

Oldest age for this category.

min_ticketoptionalinteger

Minimum tickets of this category on one order.

max_ticketoptionalinteger

Maximum tickets of this category on one order.

price_tiersoptionalarray

Guest bands. Sent only when every category uses the same from and to. Otherwise the array is empty. A product with one price sends an empty list.

fromrequiredinteger

First guest count in the band.

torequiredinteger

Last guest count in the band. On an open last slice this is the seat count and open is true.

openoptionalboolean

True only on the last slice when it continues upward. Older connected products omit this and keep a fixed end.

pricesrequiredobject

Price in major units for each category name.

timesoptionalarray of string

Clock times as HH:MM. Empty when opening_hours is true.

opening_hoursrequiredboolean

True when the sale is for the day, not a clock time.

capacityrequiredinteger

Seats on one departure.

cutoff_minutesrequiredinteger

Minutes before departure when the sale stops.

min_participantsrequiredinteger

Smallest party. Defaults to 1.

max_participantsrequiredinteger

Largest party on one order.

schedulesoptionalarray

A schedule can replace the price, the times, the cutoff, or the capacity on the days it names.

addonsoptionalarray

An extra the guest can add. Each item has type, price, currency, and description.

Availability

Seats and prices for an inclusive date range. Times are the trip's local time. Only days inside the range are returned. A product with no departures in that range returns an empty slots array, not an error. A date in the past returns no slots for that date. A missing product is not_listed. A failed read is retry.

Path parameter

idrequiredstring

The product number.

Query parameters

startrequiredstring date

First day, YYYY-MM-DD. Example: start=2026-11-20.

endrequiredstring date

Last day, YYYY-MM-DD. The day itself is included.

Response 200

slotsrequiredarray

One object per departure. Empty when nothing is on sale in the range.

datetimerequiredstring

YYYY-MM-DDTHH:MM. An opening-hours product uses T00:00.

vacanciesrequiredinteger

Seats still free on that departure.

currencyrequiredstring

3-letter currency.

pricesrequiredobject

Retail price in major units for each category on that departure.

Documentation / Endpoints / Availability
REST API · Endpoint reference

Check Availability

Retrieve available departure times, remaining seats, and pricing for a specific product within an inclusive date range.

API available

Endpoint

Returns available booking slots for a product.

GET /products/{id}/availability

Try it out

Enter a product ID and dates to preview the sample response.

Path parameter
Inclusive · YYYY-MM-DD
Inclusive · YYYY-MM-DD
Sample mode. No key is used, and no live call is made.

Available departures

2 departures

Departure times are in the trip's local time.

Response example

200 OK

application/json


          

Reservation

Hold seats before the guest pays. Check the party size, the category names, and the datetime before confirming the hold. A guest name and contact are kept for this booking only.

Path parameter

idrequiredstring

The product number.

Request body

datetimerequiredstring

YYYY-MM-DDTHH:MM in the trip's local time. An opening-hours product uses T00:00.

partyrequiredarray

One object per category the guest is buying.

categoryrequiredstring

adult, child, infant, group, or another category name from the product.

countrequiredinteger

How many tickets of that category. At least 1.

customeroptionalobject

The main guest. Stored for this booking only.

first_nameoptionalstring

Given name.

last_nameoptionalstring

Family name.

emailoptionalstring

Email address.

phoneoptionalstring

Phone number.

countryoptionalstring

3-letter country code.

Response 200

reservation_idrequiredstring

The hold reference. Send it back to confirm the booking.

expires_atrequiredstring

When the hold ends. After this time the seats are free again.

Response fields

The hold does not create the company booking yet. Confirm it with the booking operation before expires_at.

Booking

Confirm a hold after the platform has accepted the order. This is the call that opens the company booking.

Request body

reservation_idrequiredstring

The hold reference.

order_referencerequiredstring

The platform's own reference for this order. Store it so both sides can find the same booking.

Response 200

booking_idrequiredstring

TourCare booking reference.

ticketsoptionalarray

Present when this option hands out a ticket code. Each item has category and code. The ticket file itself stays inside TourCare.

An expired hold, an unknown hold, or a party that no longer fits returns no_seats or invalid. The product stays listed.

Cancellation

Release a booking before the cutoff, when it can still be released. After the cutoff the booking stays.

Path parameter

idrequiredstring

The booking_id returned when the booking was confirmed.

Response 200

booking_idrequiredstring

The same booking reference.

cancelledrequiredboolean

True when the booking was released.

Trip content

Replace the trip text and the facts that belong to the whole trip. Send one field or many. Prices are not part of this call. The option's own text, times, and meeting point use the option call below.

Path parameter

idrequiredstring

The product number from the catalog.

Body

nameoptionalstring

The trip name guests see.

descriptionoptionalstring

The long description of the trip.

shortoptionalstring

A short summary. At most 500 characters.

cityoptionalstring

The city. At most 80 characters.

countryoptionalstring

The country code, such as EGY.

highlightsoptionalstring[]

Up to 12 lines. Each line is at most 180 characters.

inclusionsoptionalstring[]

What the price covers. Up to 20 lines.

exclusionsoptionalstring[]

What the price does not cover. Up to 20 lines.

know_beforeoptionalstring[]

What the guest should know before the day. Up to 12 lines.

bringoptionalstring

What the guest should bring. At most 500 characters.

photooptionalstring

An https link to one image. TourCare stores the link.

Response 200

idrequiredstring

The same product number.

updatedrequiredstring[]

The names of the fields that were replaced.

Option content

Replace one option on the trip. This is the departure guests book: its name, its description, how long it takes, where they meet, the times, and how many seats it can take. Send a price only when the price changes. A content change does not need a price.

Path parameters

idrequiredstring

The product number from the catalog.

option_idrequiredstring

The option id from the product.

Body

titleoptionalstring

The option name. At most 60 characters.

descriptionoptionalstring

What this option includes. At most 255 characters.

minutesoptionalinteger

How long the option lasts, in minutes.

timesoptionalstring[]

Departure clocks, each HH:MM in local time.

capacityoptionalinteger

Seats on one departure.

cutoff_minutesoptionalinteger

Minutes before departure when sales stop.

meetingoptionalstring

meeting when the guest comes to a point. pickup when the guest is collected.

addressoptionalstring

Where the guest meets, or the pickup area. At most 240 characters.

landmarkoptionalstring

A nearby landmark so the guest can find the point.

languagesoptionalstring[]

Guide languages, such as en and ar.

wheelchairoptionalboolean

true when a wheelchair can join this option.

privateoptionalboolean

true when the option is private to one party.

adultoptionalnumber

Adult price in major units. Leave it out to keep the current price.

childoptionalnumber

Child price in major units. Leave it out to keep the current price.

infantoptionalnumber

Infant price in major units. Leave it out to keep the current price. A blank value means the infant is free.

Response 200

idrequiredstring

The product number.

option_idrequiredstring

The option id.

updatedrequiredstring[]

The names of the fields that were replaced.

Test

Ask TourCare for a test. The reply contains the host, the key, the header name, and the test product numbers. None of those are written on this page. A test does not create a company booking. Use a test product before a live product number.