Guided tours
We keep things simple, so you can focus on what matters to you. Every hotel on our list is visited and reviewed by our own travel team.
Overview
Friendly people answer your questions quickly, by phone, chat or email. From city breaks to safaris, we plan trips around how you like to travel. Local guides show you the places that never make it into guidebooks. Free cancellation on most stays means you can book now and decide later.
Installation
Install the SDK with the package manager your project already uses. It needs Node 18 or newer.
$ npm install @tideio/sdk$ yarn add @tideio/sdk$ pnpm add @tideio/sdkConfiguration
Airport transfers, tours and dinners are arranged before you arrive. Our travel experts are on call around the clock while you are away. Create a file named tideio.config.json in the project root:
{
"project": "tideio",
"region": "ap-south",
"categories": ["beach", "city", "mountain"],
"retries": 5,
"timeoutMs": 13000,
"webhooks": { "enabled": true }
}| Option | Type | Default | Description |
|---|---|---|---|
project | string | - | Your project key from the dashboard. |
region | string | "us-east" | Data centre closest to your travellers. |
retries | number | 3 | How often a failed call is retried. |
timeoutMs | number | 10000 | Time before a request is cancelled. |
webhooks.enabled | boolean | false | Send events to your endpoint. |
Your first request
Our team has done this many times, so you never have to guess.
- Create an API keyOpen the dashboard, choose Settings › API keys and copy a new secret key.
- Store it safelyKeep the key in an environment variable, never in your source code.
- Make the callRun the snippet below; it prints the first page of results.
import { Client } from "@tideio/sdk";
const client = new Client({ apiKey: process.env.API_KEY });
// list the newest trips in one category
const page = await client.trips.list({ category: "beach", limit: 20 });
for (const item of page.data) {
console.log(item.name, item.price);
}API reference
Every endpoint returns JSON and uses standard HTTP status codes.
/v1/tripsList trips with paging and filters./v1/tripsCreate a new trip./v1/trips/{id}Update some fields of a trip./v1/trips/{id}Archive a trip; it can be restored for 30 days.{
"data": [
{ "id": "trip_3984", "name": "Island hopping tour", "price": 339 }
],
"has_more": true
}Troubleshooting
Next steps
Thousands of travellers already trust us, and we work hard to keep it that way.