bookings
bookings
Page 15 of 21.
Overview
- Dec5
property booking #337
3:47 PM
- Jan4
property booking #338
10:35 AM
- Aug19
flight booking #339
4:40 AM
- Aug26
flight booking #340
5:54 PM
- Apr10
property booking #341
11:13 PM
- Jan26
flight booking #342
9:40 PM
- Dec8
flight booking #343
1:29 PM
- Apr2
property booking #344
12:22 AM
- Jul18
hotel booking #345
6:08 PM
- Nov12
property booking #346
2:17 PM
- Apr2
hotel booking #347
5:42 PM
- Jun13
property booking #348
10:49 AM
- Mar3
hotel booking #349
5:32 AM
- Jun17
hotel booking #350
6:19 AM
- Oct31
flight booking #351
9:26 AM
- Aug27
flight booking #352
12:38 AM
- Feb5
flight booking #353
8:33 PM
- Apr24
flight booking #354
1:08 AM
- Jul7
property booking #355
5:05 AM
- Jul31
hotel booking #356
9:43 PM
- Jul26
hotel booking #357
8:36 PM
- Dec3
property booking #358
3:17 PM
- May13
hotel booking #359
3:03 AM
- Apr23
hotel booking #360
3:09 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": 337,
"userId": 28,
"kind": "property",
"referenceId": 91,
"checkInAt": "2026-12-05T15:47:37.284Z",
"checkOutAt": "2026-12-14T15:47:37.284Z",
"status": "completed",
"totalAmount": 5187.85,
"currency": "SGD",
"createdAt": "2026-11-28T15:47:37.284Z"
},
{
"id": 338,
"userId": 136,
"kind": "property",
"referenceId": 77,
"checkInAt": "2027-01-04T10:35:07.102Z",
"checkOutAt": "2027-01-16T10:35:07.102Z",
"status": "cancelled",
"totalAmount": 4336.06,
"currency": "AED",
"createdAt": "2026-10-07T10:35:07.102Z"
},
{
"id": 339,
"userId": 232,
"kind": "flight",
"referenceId": 9,
"checkInAt": "2026-08-19T04:40:48.518Z",
"checkOutAt": "2026-08-19T04:40:48.518Z",
"status": "confirmed",
"totalAmount": 6333.04,
"currency": "EUR",
"createdAt": "2026-08-05T04:40:48.518Z"
}
],
"meta": {
"page": 15,
"limit": 24,
"total": 500,
"totalPages": 21
},
"links": {
"self": "/api/v1/bookings?page=15&limit=24",
"first": "/api/v1/bookings?page=1&limit=24",
"last": "/api/v1/bookings?page=21&limit=24",
"next": "/api/v1/bookings?page=16&limit=24",
"prev": "/api/v1/bookings?page=14&limit=24"
}
}