bookings
bookings
Page 2 of 21.
Overview
- Jul4
property booking #25
7:10 AM
- Nov3
flight booking #26
4:26 PM
- Apr30
flight booking #27
8:36 PM
- Feb25
hotel booking #28
11:44 AM
- Apr29
property booking #29
12:57 AM
- Jul22
flight booking #30
8:08 PM
- Oct14
property booking #31
10:58 AM
- Jan3
hotel booking #32
12:19 AM
- Oct22
hotel booking #33
4:12 AM
- Nov21
flight booking #34
10:09 PM
- Jul31
flight booking #35
5:19 PM
- Aug14
hotel booking #36
11:03 PM
- Jun11
flight booking #37
6:40 PM
- Aug23
hotel booking #38
3:03 PM
- Dec17
property booking #39
4:59 PM
- Jan13
flight booking #40
5:20 AM
- Sep30
flight booking #41
8:12 PM
- Apr19
flight booking #42
5:54 AM
- May1
hotel booking #43
2:38 PM
- Apr10
hotel booking #44
3:08 PM
- Jun26
hotel booking #45
2:27 PM
- Oct13
property booking #46
4:14 AM
- Nov11
flight booking #47
6:03 PM
- Jun4
hotel booking #48
4:57 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/bookings?limit=25"
JavaScript example
const res = await fetch(
"https://example-data.com/api/v1/bookings?limit=25"
);
const { data, meta } = await res.json(); TypeScript example
// Download once: mkdir -p types && curl -o types/bookings.d.ts https://example-data.com/types/bookings.d.ts
import type { Booking, ListEnvelope } from "./types/bookings";
const res = await fetch(
"https://example-data.com/api/v1/bookings?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<Booking>; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/bookings",
params={"limit": 25},
)
data = res.json() Response
{
"data": [
{
"id": 25,
"userId": 154,
"kind": "property",
"referenceId": 152,
"checkInAt": "2025-07-04T07:10:42.825Z",
"checkOutAt": "2025-07-17T07:10:42.825Z",
"status": "confirmed",
"totalAmount": 2299.79,
"currency": "AUD",
"createdAt": "2025-07-03T07:10:42.825Z"
},
{
"id": 26,
"userId": 82,
"kind": "flight",
"referenceId": 79,
"checkInAt": "2026-11-03T16:26:31.897Z",
"checkOutAt": "2026-11-03T16:26:31.897Z",
"status": "completed",
"totalAmount": 7832.58,
"currency": "EUR",
"createdAt": "2026-09-25T16:26:31.897Z"
},
{
"id": 27,
"userId": 58,
"kind": "flight",
"referenceId": 213,
"checkInAt": "2027-04-30T20:36:49.639Z",
"checkOutAt": "2027-04-30T20:36:49.639Z",
"status": "confirmed",
"totalAmount": 7791.11,
"currency": "CAD",
"createdAt": "2027-02-15T20:36:49.639Z"
}
],
"meta": {
"page": 2,
"limit": 24,
"total": 500,
"totalPages": 21
},
"links": {
"self": "/api/v1/bookings?page=2&limit=24",
"first": "/api/v1/bookings?page=1&limit=24",
"last": "/api/v1/bookings?page=21&limit=24",
"next": "/api/v1/bookings?page=3&limit=24",
"prev": "/api/v1/bookings?page=1&limit=24"
}
}