API reference · Hotels, cars and cruises
Search cruises
POST
/v1/cruises/searchScope: searchTest mode: sample dataStreams (SSE)
Searches cruises from a port to a region around a date.
- URL
- https://api.pointifytravels.com/v1/cruises/search
- Access
- Any key. This endpoint does not need a scope.
- Test keys
- Sample data in the live response shape. Never calls a supplier. Free, up to 60 requests a minute. Test mode
- Live keys
- Each successful call counts toward your daily quota. Limits
Parameters
Body parameters
Sent as a JSON object with Content-Type: application/json.
| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
departure_port | body | string | Required | - | e.g. "Miami". |
destination | body | string | Required | - | Region, e.g. "Caribbean". |
departure_date | body | string (YYYY-MM-DD) | Required | - | Earliest sailing date. |
return_date | body | string (YYYY-MM-DD) | Optional | - | Latest return date. |
cruise_line | body | string | Optional | - | One line only, e.g. "Royal Caribbean". |
travelers | body | integer | Optional | 2 | Travelers. |
Request example
Request
curl -N -X POST "https://api.pointifytravels.com/v1/cruises/search" \
-H "Authorization: Bearer $POINTIFY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"departure_port":"Miami","destination":"Caribbean","departure_date":"2027-01-23"}'Response
A stream of Server-Sent Events. Each event is an event: line and a data: line with JSON, followed by a blank line. complete always arrives last. Reading streams
| Event | Meaning |
|---|---|
progress | A source started or finished. |
result | One sailing (see the example). |
complete | Always last: { total_results }. |
Example events
text/event-stream
event: progress
data: {"source":"google_cruises","status":"searching","result_count":0}
event: result
data: {"id":"cru_12","cruise_line":"Royal Caribbean","ship_name":"Wonder of the Seas","destination":"Caribbean","departure_port":"Miami","departure_date":"2027-01-23","nights":7,"price_per_person":899,"currency":"USD","cabin_type":"Interior","includes":["Meals","Entertainment"]}
event: complete
data: {"total_results":9}
Errors use the shape in Errors. Invalid input returns 422 with a list of problems.
Try it
Try it
Use a test key. A live key uses your daily quota.No key yet? Create a test key in the dashboard. Test keys are free on every plan.
Path and query values go in the URL; everything else is sent as the JSON body.
POST
https://api.pointifytravels.com/v1/cruises/search