Stardrift

App · 20 actions

Read trips and bookings and manage itineraries and saved places.

Actions

ActionWhat it does
Add Day NoteAdd Day Note
Add Event To TripRecord something scheduled that isn't a booking.
Add PlaceAdd Place
Add Stay To TripRecord a booked stay.
Create ListCreate List
Create SectionCreate Section
Create TripCreate a new draft trip with num_days blank days, ready for add_place/add_day_note.
Get List ContentsGet List Contents
Get PlanGet Plan
List BookingsThe user's bookings.
List ListsList Lists
List TripsList Trips
Move EntryMove a place or note without resolving its place again.
Place AutocompleteGoogle Places autocomplete powering the Saved "Add a place" search.
Search FlightsSearch Flights
Search HotelsSearch Hotels
Update EntryCorrect a place annotation, note text, or local time in place.
Update ListUpdate List
Update SectionUpdate Section
Update Stay On TripChange a booking in place.

Add Day Note

Add Day Note

Inputs

Day numberday_numbernumberRequired
Day number.At least 1.
Triptrip_idtextRequired
Trip id.
ContentcontenttextRequired
Content.
Timetimetime
Time.

Outputs

dataobject
The response from Stardrift.
Example output
{
  "data": {}
}

Add Event To Trip

Record something scheduled that isn't a booking. a wedding, a concert. add_place_to_guide would make it an attraction, which is what a place the user might visit is, not something happening at a time they are expected at. An event carries its own start and end, and its venue is geocoded to a pin when one resolves. This is the same add_event the in-app Add-event flow calls; only the authentication differs.

Inputs

Triptrip_idtextRequired
Trip id.
NamenametextRequired
Name.
Start datetimestart_datetimedate and time
Start datetime.
End datetimeend_datetimedate and time
End datetime.
Venue namevenue_nametext
Venue name.
Addressaddresstext
Address.
Place IDplace_idtext
Place id.
Categorycategorytext
Category.
Descriptiondescriptiontext
Description.
Citycitytext
City.
Total pricetotal_pricenumber
Total price.
Currencycurrencytext
Currency.Default: USD.
Confirmation numberconfirmation_numbertext
Confirmation number.

Outputs

dataobject
The response from Stardrift.
Example output
{
  "data": {
    "activity": {},
    "activity_id": "sample_activity_id",
    "warnings": [
      "Example"
    ]
  }
}

Add Place

Add Place

Inputs

Triptrip_idtextRequired
Trip id.
Day numberday_numbernumberRequired
Day number.At least 1.0.
NamenametextRequired
Name.
Search querysearch_querytext
Search query.
Timetimetime
Time.
Notenotetext
Note.

Outputs

dataobject
The response from Stardrift.
Example output
{
  "data": {
    "entry_id": "sample_entry_id",
    "item_id": "sample_item_id",
    "latitude": 1,
    "longitude": 1,
    "name": "Example",
    "plan_version": 1,
    "rating": 1
  }
}

Add Stay To Trip

Record a booked stay. it lands in Bookings, not as a place card. A hotel added through add_place_to_guide becomes an attraction: no dates, no confirmation number, and it never appears alongside the flights and other reservations. This is the same add_stay the in-app Add-stay flow calls, so the stay is geocoded, canonical-stamped, date-synced and enqueued for enrichment identically. only the authentication differs.

Inputs

Triptrip_idtextRequired
Trip id.
AddressaddresstextRequired
Address.
Place IDplace_idtext
Place id.
Namenametext
Name.
Check in datecheck_in_datedate
Check in date.
Check out datecheck_out_datedate
Check out date.
Check in timecheck_in_timetime
Check in time.
Check out timecheck_out_timetime
Check out time.
Total pricetotal_pricenumber
Total price.
Currencycurrencytext
Currency.Default: USD.
Confirmation numberconfirmation_numbertext
Confirmation number.

Outputs

dataobject
The response from Stardrift.
Example output
{
  "data": {
    "hotel": {},
    "stay_id": "sample_stay_id"
  }
}

Create List

Create List

Inputs

TitletitletextRequired
Title.
Sourcesourcetext
Source.One of: manual, chat, tiktok, ig, shared. Default: manual.
Source URLsource_urltext
Source url.
Citycitytext
City.
Cover image URLcover_image_urltext
Cover image url.
Introintrotext
Intro.
Visibilityvisibilitytext
Visibility.One of: public, private.

Outputs

dataobject
The response from Stardrift.
Example output
{
  "data": {
    "city": "Example",
    "cover_image_url": "Example",
    "created_at": "Example",
    "failed_reason": "Example",
    "id": "00000000-0000-4000-8000-000000000001",
    "intro": "Example",
    "is_shared": false,
    "item_count": 1,
    "public_url": "Example",
    "routes": [
      {
        "activity": "Example",
        "ascent_m": 1,
        "chains": [
          "Example"
        ],
        "claimed_ascent_m": 1,
        "claimed_length_km": 1,
        "descent_m": 1,
        "id": "00000000-0000-4000-8000-000000000001",
        "length_m": 1,
        "list_id": "00000000-0000-4000-8000-000000000001",
        "max_elev_m": 1,
        "min_elev_m": 1,
        "name": "Example",
        "osm_name": "Example",
        "place_item_id": "00000000-0000-4000-8000-000000000001",
        "profile": {},
        "status": "Example",
        "tag_lengths": {}
      }
    ],
    "sections": [
      {
        "blurb": "Example",
        "id": "sample_id",
        "item_ids": [
          "00000000-0000-4000-8000-000000000001"
        ],
        "title": "Example"
      }
    ],
    "slug": "Example",
    "source": "Example",
    "source_author": "Example",
    "source_url": "Example",
    "status": "Example",
    "title": "Example",
    "updated_at": "Example",
    "visibility": "public"
  }
}

Create Section

Create Section

Inputs

Listlist_idtextRequired
List id.
X client IDx_client_idtext
X-client-id.
TitletitletextRequired
Title.
Blurbblurbtext
Blurb.
Item IDSitem_idslist
Item ids.

Outputs

dataobject
`item_ids` is both membership and display order; stale ids drop on read.
Example output
{
  "data": {
    "blurb": "Example",
    "id": "sample_id",
    "item_ids": [
      "00000000-0000-4000-8000-000000000001"
    ],
    "title": "Example"
  }
}

Create Trip

Create a new draft trip with num_days blank days, ready for add_place/add_day_note. Mirrors the in-app create path: a Trip plus its primary conversation link, then an empty plan. Returns the trip summary, including the new trip_id.

Inputs

TitletitletextRequired
Title.
Num daysnum_daysnumber
Num days.From 1.0 to 60.0. Default: 1.

Outputs

dataobject
The response from Stardrift.
Example output
{
  "data": {
    "end_date": "2026-11-30",
    "id": "00000000-0000-4000-8000-000000000001",
    "is_published": false,
    "slug": "Example",
    "start_date": "2026-11-30",
    "title": "Example",
    "updated_at": "2026-11-30T12:00:00Z",
    "visibility": "Example"
  }
}

Get List Contents

Get List Contents

Inputs

Listlist_idtextRequired
List id.
Offsetoffsetnumber
Offset.At least 0. Default: 0.
Limitlimitnumber
Limit.From 1 to 200. Default: 100.

Outputs

dataobject
The response from Stardrift.
Example output
{
  "data": {
    "items": [
      {
        "caption": "Example",
        "category": "Example",
        "city": "Example",
        "country": "Example",
        "created_at": "Example",
        "description": "Example",
        "id": "00000000-0000-4000-8000-000000000001",
        "image_thumbhash": "Example",
        "image_url": "Example",
        "is_shared": false,
        "lat": 1,
        "list_id": "00000000-0000-4000-8000-000000000001",
        "lng": 1,
        "michelin": {
          "cuisine": "Example",
          "green_star": false,
          "stars": 1,
          "tier": "stars",
          "url": "Example"
        },
        "name": "Example",
        "num_reviews": 1,
        "place_id": "sample_place_id",
        "place_ref": "Example",
        "rating": 1,
        "review_state": "Example",
        "source": "Example",
        "source_url": "Example",
        "state": "Example",
        "tabelog_tier": 1
      }
    ],
    "list": {
      "city": "Example",
      "cover_image_url": "Example",
      "created_at": "Example",
      "failed_reason": "Example",
      "id": "00000000-0000-4000-8000-000000000001",
      "intro": "Example",
      "is_shared": false,
      "item_count": 1,
      "public_url": "Example",
      "routes": [
        {
          "activity": "Example",
          "ascent_m": 1,
          "chains": [
            "Example"
          ],
          "claimed_ascent_m": 1,
          "claimed_length_km": 1,
          "descent_m": 1,
          "id": "00000000-0000-4000-8000-000000000001",
          "length_m": 1,
          "list_id": "00000000-0000-4000-8000-000000000001",
          "max_elev_m": 1,
          "min_elev_m": 1,
          "name": "Example",
          "osm_name": "Example",
          "place_item_id": "00000000-0000-4000-8000-000000000001",
          "profile": {},
          "status": "Example",
          "tag_lengths": {}
        }
      ],
      "sections": [
        {
          "blurb": "Example",
          "id": "sample_id",
          "item_ids": [
            "sample_item_ids"
          ],
          "title": "Example"
        }
      ],
      "slug": "Example",
      "source": "Example",
      "source_author": "Example",
      "source_url": "Example",
      "status": "Example",
      "title": "Example",
      "updated_at": "Example",
      "visibility": "public"
    },
    "next_offset": 1
  }
}

Get Plan

Get Plan

Inputs

Triptrip_idtextRequired
Trip id.
Include booking linksinclude_booking_linkstrue/false
Include booking links.Default: false.

Outputs

dataobject
The response from Stardrift.
Example output
{
  "data": {
    "activities": {},
    "days": [
      {}
    ],
    "journeys": {},
    "plan_version": 1,
    "stays": {},
    "title": "Example",
    "trip_id": "00000000-0000-4000-8000-000000000001"
  }
}

List Bookings

The user's bookings. imported from email (Gmail scan, forwarded confirmations, in-chat paste) and sold first-party. in the exact shape the in-app Bookings page renders, so a flight comes back with its card_data and its editable ExtractedFlight.

Inputs

Booking typebooking_typetext
Booking type.One of: flight, hotel, rail, road, car_rental (Car rental), event.
Triptrip_idtext
Trip id.
From datefrom_datedate
From date.

Outputs

dataobject
The response from Stardrift.
Example output
{
  "data": {
    "bookings": [
      {
        "booking_type": "Example",
        "card_data": {
          "__index": 1,
          "__tool_call_id": "sample___tool_call_id",
          "adults": 1,
          "award_details": {},
          "booking_links": [
            {}
          ],
          "booking_links_status": "Example",
          "booking_token": "Example",
          "cabin_class": "Example",
          "cash_details": {},
          "children": 1,
          "confirmation_number": "Example",
          "departure_token": "Example",
          "is_booked": false,
          "is_user_import": false,
          "journeys": [
            {}
          ],
          "message_id": "sample_message_id",
          "return_date": "Example",
          "travellers": [
            {}
          ],
          "type": "one-way",
          "user_edited": false
        },
        "confirmation_number": "Example",
        "created_at": "Example",
        "edit_data": {
          "award": {},
          "booking_reference": "Example",
          "carry_on_bags": 1,
          "check_in_url": "Example",
          "checked_bags": 1,
          "children": 1,
          "confirmation_number": "Example",
          "currency": "Example",
          "eticket_number": "Example",
          "fare_class": "Example",
          "infants": 1,
          "oag_enriched_at": "Example",
          "outbound_segments": [
            {}
          ],
          "passenger_count": 1,
          "passenger_names": [
            "Example"
          ],
          "price": 1,
          "return_segments": [
            {}
          ],
          "type": "one-way"
        },
        "event_date": "Example",
        "gmail_link": "Example",
        "id": "sample_id",
        "import_kind": "email",
        "import_link": "Example",
        "import_sources": [
          {}
        ],
        "review": {
          "nudge": false,
          "question": "which_trip",
          "travelers": [
            "Example"
          ]
        },
        "source": "email_import",
        "status": "active",
        "travellers": [
          {}
        ],
        "trip_id": "sample_trip_id",
        "trip_title": "Example"
      }
    ]
  }
}

List Lists

List Lists

Inputs

None.

Outputs

datalist
The response from Stardrift.
Example output
{
  "data": [
    {
      "city": "Example",
      "cover_image_url": "Example",
      "created_at": "Example",
      "failed_reason": "Example",
      "id": "00000000-0000-4000-8000-000000000001",
      "intro": "Example",
      "is_shared": false,
      "item_count": 1,
      "public_url": "Example",
      "routes": [
        {
          "activity": "Example",
          "ascent_m": 1,
          "chains": [
            "Example"
          ],
          "claimed_ascent_m": 1,
          "claimed_length_km": 1,
          "descent_m": 1,
          "id": "00000000-0000-4000-8000-000000000001",
          "length_m": 1,
          "list_id": "00000000-0000-4000-8000-000000000001",
          "max_elev_m": 1,
          "min_elev_m": 1,
          "name": "Example",
          "osm_name": "Example",
          "place_item_id": "00000000-0000-4000-8000-000000000001",
          "profile": {},
          "status": "Example",
          "tag_lengths": {}
        }
      ],
      "sections": [
        {
          "blurb": "Example",
          "id": "sample_id",
          "item_ids": [
            "sample_item_ids"
          ],
          "title": "Example"
        }
      ],
      "slug": "Example",
      "source": "Example",
      "source_author": "Example",
      "source_url": "Example",
      "status": "Example",
      "title": "Example",
      "updated_at": "Example",
      "visibility": "public"
    }
  ]
}

List Trips

List Trips

Inputs

None.

Outputs

datalist
The response from Stardrift.
Example output
{
  "data": [
    {
      "end_date": "2026-11-30",
      "id": "00000000-0000-4000-8000-000000000001",
      "is_published": false,
      "slug": "Example",
      "start_date": "2026-11-30",
      "title": "Example",
      "updated_at": "2026-11-30T12:00:00Z",
      "visibility": "Example"
    }
  ]
}

Move Entry

Move a place or note without resolving its place again.

Inputs

Entry IDentry_idtextRequired
Entry id.
Day numberday_numbernumberRequired
Day number.At least 1.
Triptrip_idtextRequired
Trip id.
To day numberto_day_numbernumberRequired
To day number.At least 1.0.

Outputs

dataobject
The response from Stardrift.
Example output
{
  "data": {
    "entry_id": "sample_entry_id",
    "plan_version": 1
  }
}

Place Autocomplete

Google Places autocomplete powering the Saved "Add a place" search.

Inputs

QueryquerytextRequired
Query.
Latlatnumber
Lat.
Lnglngnumber
Lng.

Outputs

datalist
The response from Stardrift.
Example output
{
  "data": [
    {
      "address": "Example",
      "name": "Example",
      "place_id": "sample_place_id",
      "types": [
        "Example"
      ]
    }
  ]
}

Search Flights

Search Flights

Inputs

Adultsadultsnumber
Adults.From 1.0 to 9.0. Default: 1.
Currencycurrencytext
Currency.One of: ALL, DZD, ARS, AMD, AWG, AUD, AZN, BSD, BHD, BYN, and 61 more. Default: USD.
LegslegslistRequired
Legs.
Trip typetrip_typetext
Trip type.One of: one_way (One way), roundtrip, multi_city (Multi city). Default: one_way.
Childrenchildrennumber
Children.From 0.0 to 8.0. Default: 0.
Travel classtravel_classtext
Travel class.One of: economy, premium_economy (Premium economy), business, first. Default: economy.
Max pricemax_pricenumber
Max price.At least 0.0.
Max stopsmax_stopsnumber
Max stops.From 0.0 to 2.0.

Outputs

dataobject
The response from Stardrift.
Example output
{
  "data": {}
}

Search Hotels

Search Hotels

Inputs

Adultsadultsnumber
Adults.From 1.0 to 9.0. Default: 1.
Currencycurrencytext
Currency.One of: ALL, DZD, ARS, AMD, AWG, AUD, AZN, BSD, BHD, BYN, and 61 more. Default: USD.
QueryquerytextRequired
Query.
Check in datecheck_in_datedateRequired
Check in date.
Check out datecheck_out_datedateRequired
Check out date.
Children ageschildren_ageslist
Children ages.
Guest nationalityguest_nationalitytext
Guest nationality.Default: US.
Min pricemin_pricenumber
Min price.At least 0.0.
Max pricemax_pricenumber
Max price.At least 0.0.
Sort bysort_bytext
Sort by.One of: lowest_price (Lowest price), highest_rating (Highest rating), most_reviews (Most reviews). Default: highest_rating.

Outputs

dataobject
The response from Stardrift.
Example output
{
  "data": {}
}

Update Entry

Correct a place annotation, note text, or local time in place. Omitted fields are preserved; null clears note/time. Changing a time also reorders the entry because a plan is an ordered document.

Inputs

Entry IDentry_idtextRequired
Entry id.
Day numberday_numbernumberRequired
Day number.At least 1.
Triptrip_idtextRequired
Trip id.
Notenotetext
Note.
Timetimetime
Time.
Contentcontenttext
Content.

Outputs

dataobject
The response from Stardrift.
Example output
{
  "data": {
    "entry_id": "sample_entry_id",
    "plan_version": 1
  }
}

Update List

Update List

Inputs

Listlist_idtextRequired
List id.
Titletitletext
Title.
Citycitytext
City.
Cover image URLcover_image_urltext
Cover image url.
Source authorsource_authortext
Source author.
Visibilityvisibilitytext
Visibility.One of: public, private.
Introintrotext
Intro.

Outputs

dataobject
The response from Stardrift.
Example output
{
  "data": {
    "city": "Example",
    "cover_image_url": "Example",
    "created_at": "Example",
    "failed_reason": "Example",
    "id": "00000000-0000-4000-8000-000000000001",
    "intro": "Example",
    "is_shared": false,
    "item_count": 1,
    "public_url": "Example",
    "routes": [
      {
        "activity": "Example",
        "ascent_m": 1,
        "chains": [
          "Example"
        ],
        "claimed_ascent_m": 1,
        "claimed_length_km": 1,
        "descent_m": 1,
        "id": "00000000-0000-4000-8000-000000000001",
        "length_m": 1,
        "list_id": "00000000-0000-4000-8000-000000000001",
        "max_elev_m": 1,
        "min_elev_m": 1,
        "name": "Example",
        "osm_name": "Example",
        "place_item_id": "00000000-0000-4000-8000-000000000001",
        "profile": {},
        "status": "Example",
        "tag_lengths": {}
      }
    ],
    "sections": [
      {
        "blurb": "Example",
        "id": "sample_id",
        "item_ids": [
          "00000000-0000-4000-8000-000000000001"
        ],
        "title": "Example"
      }
    ],
    "slug": "Example",
    "source": "Example",
    "source_author": "Example",
    "source_url": "Example",
    "status": "Example",
    "title": "Example",
    "updated_at": "Example",
    "visibility": "public"
  }
}

Update Section

Update Section

Inputs

Listlist_idtextRequired
List id.
Section IDsection_idtextRequired
Section id.
X client IDx_client_idtext
X-client-id.
Titletitletext
Title.
Blurbblurbtext
Blurb.
Item IDSitem_idslist
Item ids.

Outputs

dataobject
`item_ids` is both membership and display order; stale ids drop on read.
Example output
{
  "data": {
    "blurb": "Example",
    "id": "sample_id",
    "item_ids": [
      "00000000-0000-4000-8000-000000000001"
    ],
    "title": "Example"
  }
}

Update Stay On Trip

Change a booking in place. dates, price, or its confirmation number. Without this a stay could be recorded and never corrected: the confirmation number could only be set at creation, and a booking whose dates moved had no path back short of leaving a stale one behind, since removing was not possible either.

Inputs

Triptrip_idtextRequired
Trip id.
Stay IDstay_idtextRequired
Stay id.
Namenametext
Name.
Check in datecheck_in_datedate
Check in date.
Check out datecheck_out_datedate
Check out date.
Check in timecheck_in_timetime
Check in time.
Check out timecheck_out_timetime
Check out time.
Total pricetotal_pricenumber
Total price.
Currencycurrencytext
Currency.
Confirmation numberconfirmation_numbertext
Confirmation number.
Is bookedis_bookedtrue/false
Is booked.

Outputs

dataobject
The response from Stardrift.
Example output
{
  "data": {}
}

On this page