bookings
bookings
Page 8 of 21.
Overview
- Jan28
hotel booking #169
2:13 AM
- Oct3
hotel booking #170
9:46 AM
- Sep26
flight booking #171
9:15 PM
- Mar15
hotel booking #172
11:19 PM
- May12
hotel booking #173
3:56 PM
- Jul31
flight booking #174
2:15 PM
- Feb6
property booking #175
9:30 AM
- Jul26
flight booking #176
8:12 AM
- Jul5
hotel booking #177
11:03 PM
- Jul29
property booking #178
1:29 PM
- Feb17
property booking #179
3:06 PM
- May5
property booking #180
4:53 AM
- Jan9
flight booking #181
4:15 AM
- May11
hotel booking #182
9:48 PM
- Jan17
property booking #183
12:52 PM
- Nov6
property booking #184
8:50 AM
- Jun5
flight booking #185
6:02 AM
- Jul10
hotel booking #186
9:49 AM
- Apr28
hotel booking #187
8:13 PM
- Oct4
hotel booking #188
7:34 AM
- Aug10
flight booking #189
5:21 AM
- May21
property booking #190
12:49 AM
- Jun9
hotel booking #191
10:01 AM
- Oct23
hotel booking #192
9:48 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": 169,
"userId": 27,
"kind": "hotel",
"referenceId": 2,
"checkInAt": "2027-01-28T02:13:17.768Z",
"checkOutAt": "2027-02-04T02:13:17.768Z",
"status": "cancelled",
"totalAmount": 995.34,
"currency": "AED",
"createdAt": "2027-01-13T02:13:17.768Z"
},
{
"id": 170,
"userId": 156,
"kind": "hotel",
"referenceId": 122,
"checkInAt": "2025-10-03T09:46:08.044Z",
"checkOutAt": "2025-10-05T09:46:08.044Z",
"status": "pending",
"totalAmount": 6965.34,
"currency": "SGD",
"createdAt": "2025-07-28T09:46:08.044Z"
},
{
"id": 171,
"userId": 248,
"kind": "flight",
"referenceId": 272,
"checkInAt": "2026-09-26T21:15:59.531Z",
"checkOutAt": "2026-09-26T21:15:59.531Z",
"status": "cancelled",
"totalAmount": 9042.1,
"currency": "USD",
"createdAt": "2026-07-06T21:15:59.531Z"
}
],
"meta": {
"page": 8,
"limit": 24,
"total": 500,
"totalPages": 21
},
"links": {
"self": "/api/v1/bookings?page=8&limit=24",
"first": "/api/v1/bookings?page=1&limit=24",
"last": "/api/v1/bookings?page=21&limit=24",
"next": "/api/v1/bookings?page=9&limit=24",
"prev": "/api/v1/bookings?page=7&limit=24"
}
}