Skip to main content
POST
/
v1
/
trips
/
get-all-scheduled-trips
{
  "limit": 2,
  "offset": 10,
  "countries": ["KE"],
  "max_price": 1500,
  "min_price": 1000, 
  "required_guides": ["SAFARI"], 
  "destinations": [3], 
  "properties": [1, 2], 
  "suppliers": [1], 
  "date": "2024-10-05T14:48:00.000Z", 
  "days": 7, 
  "number_of_travellers": 2,
  "featured": false, 
  "traveller_preferences": ["Wildlife"],
  "traveller_type": ["Couples"]
}
{ 
    "total_length": 25,
    "filtered_length": 1, 
    "trips": [
        {
            "id": 11,
            "name": "5 Day Tanzanian Safari, Savannah Tours",
            "scheduled_dates": ["2024-11-05T14:48:00.000Z", "2024-10-12T14:48:00.000Z"]
            "trip_overview": "A comprehensive 5-day safari experience starting from Arusha to Tarangire National Park with game drives and accommodations at Burunge Tented Lodge, among other destinations.",
            "pricing": {
                "price": 1200,
                "currency": "USD"
            },
            "included": ["4x4 Private safari vehicle", "Professional guide", "Park Fees", "Accommodations"],
            "excluded": ["Driver / guide tips", "Airport transfers", "Anything not explicitly included"],
            "minimum_travellers": 2,
            "suppliers": [
            {
                "name": "Savannah Tours",
                "logo_url": "https://example.com/logo_url.jpg"
            }
            ],
            "image_urls": [
                "https://cloudsafaris.com/path/to/image1.jpg",
                "https://cloudsafaris.com/path/to/image2.jpg"
            ],
            "file_urls": [],
            "trip_extras": [
            {
                "id": 1,
                "name": "4x4 Safari Cruiser",
                "description": "Included as part of the package",
                "optional": false,
                "per_unit": false,
                "multiple_units": false,
                "max_travellers": 0
            },
            {
                "id": 2,
                "name": "Airport Transfer in a 4x4 Safari Cruiser",
                "description": "Optional transfer from JRO to Arusha",
                "optional": true,
                "per_unit": true,
                "multiple_units": false,
                "max_travellers": 4
            },
            {
                "id": 3,
                "name": "Accommodation Extension at Mount Meru Game Lodge",
                "description": "Optional extra nights available in different board bases",
                "optional": true,
                "per_unit": true,
                "multiple_units": true,
                "max_travellers": 0
            }
            ],
            "days": [
            {
                "id": 1,
                "title": "Arusha to Tarangire National Park",
                "description": "Depart from Arusha and drive to Tarangire National Park for a full day of game drives.",
                "extra_details": "",
                "meals": ["Lunch", "Dinner"],
                "properties": [12],
                "destinations": [20],
                "activities": [],
                "day_extras": [],
                "transfers": [
                    {
                        "initial_id": 0,
                        "final_id": 20,
                        "transfer_type": "Vehicle", 
                        "moment": "MORNING"
                    }
                ]
            }
            // Additional days follow a similar structure
            ],
            "countries": ["TZ"], 
            "pick_up_location": {
                latitude: -3.429406, 
                longitude: 37.074461, 
                note: "Kilimanjaro International Airport",
                radius: 50,
                location_max_time: "08:00:00",         
            }, 
            "drop_off_location": {
                latitude: -3.429406, 
                longitude: 37.074461, 
                note: "Kilimanjaro International Airport",
                radius: 50,
                location_max_time: "08:00:00",         
            }, 
            "trip_category": "",
            "route": [],
            "promos": [], 
            "short_description": "A comprehensive 5-day safari experience starting from Arusha to Tarangire National Park",
            "why_this_trip": "",
            "traveller_type": ["Friends", "Family", "Couples"],
            "traveller_preferences": ["Wildlife", "Culture", "Photography", "Relaxation", "Active"],
            "popularity_tag": "Best Seller"
        }
    ]
}

Header Parameters

CloudSafaris-API-Version
string
default:"v1"
Currently the only acceptable value is v1.

Request Body Parameters

limit
number
The limit on the number of trips to return.
offset
number
default:0
If requesting another set of trips, this will apply the offset to the next set of trips.
countries
string[]
default:[]
An array of string values of either TZ or KE, or both.
max_price
number
default:10000
The maximum price of the trips that are returned within a given calendar year. The prices are per person, and based on 2 travellers. For example if you set this as 3000 only packages that have a max price under 3000 will be returned.
min_price
number
default:0
The minimum price of the trips that are returned within a given calendar year. The prices are per person, and based on 2 travellers. For example if you set this as 3000 only packages that have a min price over 3000 will be returned.
required_guides
string[]
default:[]
An array of string values of either SAFARI or KILIMANJARO, or both. This will return trips that are associated with the required guide tags that are passed. For example, passing in ["KILIMANJARO"] will only return trips that require a guide for Kilimanjaro.
destinations
number[]
default:[]
The ids of the destinations. If supplied this will only return trips that contain at least one of the given destination ids.
properties
number[]
default:[]
The ids of the properties. If supplied this will only return trips that contain at least one of the given properties.
suppliers
number[]
default:[]
The ids of the desired suppliers. THis will return only trips provided by the chosen suppliers.
date
string
required
The desired start date (isoString) of the trip.
days
number
The desired maximum length of the trip
number_of_travellers
number
default:2
The number of travellers on the trip
Return only featured trips. Featured trips are designated by CloudSafaris based on popularity, trending, or promoted.
traveller_preferences
enum[]
The travellers travel style preferences. The available options are: [“Wildlife”, “Culture”, “Photography”, “Relaxation”, “Active”, “Mountain Climbing”, “Beach”]
traveller_type
enum[]
Descriptor for the type of traveller(s) on the of trip: [“Friends”, “Family”, “Couples”, “Solo”]
{
  "limit": 2,
  "offset": 10,
  "countries": ["KE"],
  "max_price": 1500,
  "min_price": 1000, 
  "required_guides": ["SAFARI"], 
  "destinations": [3], 
  "properties": [1, 2], 
  "suppliers": [1], 
  "date": "2024-10-05T14:48:00.000Z", 
  "days": 7, 
  "number_of_travellers": 2,
  "featured": false, 
  "traveller_preferences": ["Wildlife"],
  "traveller_type": ["Couples"]
}

Response Body Parameters

total_length
number
The total number of trips in our database
filtered_length
number
The number of trips returned after any filters or length limits are applied
trips
Trip Object Array
{ 
    "total_length": 25,
    "filtered_length": 1, 
    "trips": [
        {
            "id": 11,
            "name": "5 Day Tanzanian Safari, Savannah Tours",
            "scheduled_dates": ["2024-11-05T14:48:00.000Z", "2024-10-12T14:48:00.000Z"]
            "trip_overview": "A comprehensive 5-day safari experience starting from Arusha to Tarangire National Park with game drives and accommodations at Burunge Tented Lodge, among other destinations.",
            "pricing": {
                "price": 1200,
                "currency": "USD"
            },
            "included": ["4x4 Private safari vehicle", "Professional guide", "Park Fees", "Accommodations"],
            "excluded": ["Driver / guide tips", "Airport transfers", "Anything not explicitly included"],
            "minimum_travellers": 2,
            "suppliers": [
            {
                "name": "Savannah Tours",
                "logo_url": "https://example.com/logo_url.jpg"
            }
            ],
            "image_urls": [
                "https://cloudsafaris.com/path/to/image1.jpg",
                "https://cloudsafaris.com/path/to/image2.jpg"
            ],
            "file_urls": [],
            "trip_extras": [
            {
                "id": 1,
                "name": "4x4 Safari Cruiser",
                "description": "Included as part of the package",
                "optional": false,
                "per_unit": false,
                "multiple_units": false,
                "max_travellers": 0
            },
            {
                "id": 2,
                "name": "Airport Transfer in a 4x4 Safari Cruiser",
                "description": "Optional transfer from JRO to Arusha",
                "optional": true,
                "per_unit": true,
                "multiple_units": false,
                "max_travellers": 4
            },
            {
                "id": 3,
                "name": "Accommodation Extension at Mount Meru Game Lodge",
                "description": "Optional extra nights available in different board bases",
                "optional": true,
                "per_unit": true,
                "multiple_units": true,
                "max_travellers": 0
            }
            ],
            "days": [
            {
                "id": 1,
                "title": "Arusha to Tarangire National Park",
                "description": "Depart from Arusha and drive to Tarangire National Park for a full day of game drives.",
                "extra_details": "",
                "meals": ["Lunch", "Dinner"],
                "properties": [12],
                "destinations": [20],
                "activities": [],
                "day_extras": [],
                "transfers": [
                    {
                        "initial_id": 0,
                        "final_id": 20,
                        "transfer_type": "Vehicle", 
                        "moment": "MORNING"
                    }
                ]
            }
            // Additional days follow a similar structure
            ],
            "countries": ["TZ"], 
            "pick_up_location": {
                latitude: -3.429406, 
                longitude: 37.074461, 
                note: "Kilimanjaro International Airport",
                radius: 50,
                location_max_time: "08:00:00",         
            }, 
            "drop_off_location": {
                latitude: -3.429406, 
                longitude: 37.074461, 
                note: "Kilimanjaro International Airport",
                radius: 50,
                location_max_time: "08:00:00",         
            }, 
            "trip_category": "",
            "route": [],
            "promos": [], 
            "short_description": "A comprehensive 5-day safari experience starting from Arusha to Tarangire National Park",
            "why_this_trip": "",
            "traveller_type": ["Friends", "Family", "Couples"],
            "traveller_preferences": ["Wildlife", "Culture", "Photography", "Relaxation", "Active"],
            "popularity_tag": "Best Seller"
        }
    ]
}
I