bookings
bookings
Page 9 of 21.
Overview
- Nov2
hotel booking #193
12:16 AM
- May22
hotel booking #194
5:43 AM
- Oct11
hotel booking #195
4:07 PM
- Sep23
hotel booking #196
1:39 AM
- Apr19
hotel booking #197
5:03 PM
- Jun20
property booking #198
2:31 AM
- May13
property booking #199
3:23 AM
- Jul16
hotel booking #200
9:23 AM
- Nov2
property booking #201
2:18 AM
- Mar5
property booking #202
7:51 PM
- Oct31
property booking #203
12:23 AM
- Mar20
property booking #204
1:59 AM
- Oct13
flight booking #205
1:14 AM
- Jun11
flight booking #206
10:16 PM
- Oct31
hotel booking #207
2:32 AM
- Apr23
property booking #208
3:36 PM
- Jul20
flight booking #209
2:45 PM
- Apr15
hotel booking #210
12:25 AM
- Nov18
property booking #211
1:52 PM
- Mar5
property booking #212
12:57 PM
- Feb4
property booking #213
7:57 AM
- Jan3
flight booking #214
10:40 PM
- Dec9
hotel booking #215
5:04 PM
- Feb9
flight booking #216
4:26 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": 193,
"userId": 93,
"kind": "hotel",
"referenceId": 63,
"checkInAt": "2026-11-02T00:16:31.221Z",
"checkOutAt": "2026-11-06T00:16:31.221Z",
"status": "completed",
"totalAmount": 9999,
"currency": "AED",
"createdAt": "2026-10-14T00:16:31.221Z"
},
{
"id": 194,
"userId": 116,
"kind": "hotel",
"referenceId": 130,
"checkInAt": "2026-05-22T05:43:44.431Z",
"checkOutAt": "2026-06-01T05:43:44.431Z",
"status": "pending",
"totalAmount": 6482.6,
"currency": "JPY",
"createdAt": "2026-03-15T05:43:44.431Z"
},
{
"id": 195,
"userId": 7,
"kind": "hotel",
"referenceId": 16,
"checkInAt": "2026-10-11T16:07:06.164Z",
"checkOutAt": "2026-10-21T16:07:06.164Z",
"status": "cancelled",
"totalAmount": 371.35,
"currency": "JPY",
"createdAt": "2026-08-22T16:07:06.164Z"
}
],
"meta": {
"page": 9,
"limit": 24,
"total": 500,
"totalPages": 21
},
"links": {
"self": "/api/v1/bookings?page=9&limit=24",
"first": "/api/v1/bookings?page=1&limit=24",
"last": "/api/v1/bookings?page=21&limit=24",
"next": "/api/v1/bookings?page=10&limit=24",
"prev": "/api/v1/bookings?page=8&limit=24"
}
}