bookings
bookings
Page 12 of 21.
Overview
- Mar31
flight booking #265
5:16 AM
- Dec11
hotel booking #266
3:42 AM
- Jun12
flight booking #267
5:57 AM
- Apr16
hotel booking #268
2:00 AM
- Apr3
hotel booking #269
3:58 PM
- Mar24
hotel booking #270
3:22 PM
- Jan15
hotel booking #271
8:55 PM
- Apr6
hotel booking #272
5:11 PM
- Sep11
hotel booking #273
1:30 AM
- Jan4
hotel booking #274
12:31 AM
- Aug15
property booking #275
2:39 AM
- Jun9
property booking #276
6:40 AM
- Jun2
property booking #277
8:38 PM
- Jul24
hotel booking #278
3:49 AM
- Sep2
hotel booking #279
1:20 AM
- Mar6
flight booking #280
12:44 PM
- Apr6
property booking #281
10:39 PM
- Feb20
property booking #282
7:00 PM
- Jan5
property booking #283
7:38 PM
- Jun26
property booking #284
12:04 PM
- Oct21
property booking #285
10:44 AM
- Mar9
property booking #286
11:43 PM
- Sep11
hotel booking #287
1:32 PM
- Jun23
hotel booking #288
10:04 PM
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": 265,
"userId": 48,
"kind": "flight",
"referenceId": 63,
"checkInAt": "2026-03-31T05:16:33.015Z",
"checkOutAt": "2026-03-31T05:16:33.015Z",
"status": "completed",
"totalAmount": 7307.07,
"currency": "CAD",
"createdAt": "2026-01-02T05:16:33.015Z"
},
{
"id": 266,
"userId": 60,
"kind": "hotel",
"referenceId": 44,
"checkInAt": "2025-12-11T03:42:44.223Z",
"checkOutAt": "2025-12-17T03:42:44.223Z",
"status": "completed",
"totalAmount": 3647.65,
"currency": "CAD",
"createdAt": "2025-10-26T03:42:44.223Z"
},
{
"id": 267,
"userId": 150,
"kind": "flight",
"referenceId": 218,
"checkInAt": "2025-06-12T05:57:22.052Z",
"checkOutAt": "2025-06-12T05:57:22.052Z",
"status": "pending",
"totalAmount": 6997.43,
"currency": "USD",
"createdAt": "2025-03-16T05:57:22.052Z"
}
],
"meta": {
"page": 12,
"limit": 24,
"total": 500,
"totalPages": 21
},
"links": {
"self": "/api/v1/bookings?page=12&limit=24",
"first": "/api/v1/bookings?page=1&limit=24",
"last": "/api/v1/bookings?page=21&limit=24",
"next": "/api/v1/bookings?page=13&limit=24",
"prev": "/api/v1/bookings?page=11&limit=24"
}
}