bookings
bookings
Page 14 of 21.
Overview
- Feb22
hotel booking #313
4:37 PM
- Sep12
flight booking #314
2:37 AM
- Dec25
property booking #315
9:59 AM
- Jul25
flight booking #316
3:55 PM
- Jul22
property booking #317
12:39 PM
- Oct6
hotel booking #318
12:09 AM
- Apr5
flight booking #319
4:48 PM
- Oct13
flight booking #320
1:14 AM
- Mar19
property booking #321
5:55 AM
- Jun9
hotel booking #322
4:04 PM
- May2
flight booking #323
3:41 AM
- Dec30
property booking #324
11:55 PM
- Mar7
flight booking #325
6:47 AM
- Jul8
flight booking #326
2:33 AM
- Mar17
property booking #327
9:45 PM
- Dec7
property booking #328
3:29 PM
- Apr27
hotel booking #329
10:51 PM
- Aug6
hotel booking #330
12:01 AM
- Nov23
hotel booking #331
5:00 PM
- Sep14
hotel booking #332
4:26 PM
- Aug13
property booking #333
2:48 AM
- Oct6
hotel booking #334
11:23 AM
- Oct31
property booking #335
10:51 PM
- May11
property booking #336
9: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": 313,
"userId": 193,
"kind": "hotel",
"referenceId": 43,
"checkInAt": "2027-02-22T16:37:48.068Z",
"checkOutAt": "2027-03-04T16:37:48.068Z",
"status": "cancelled",
"totalAmount": 7421.84,
"currency": "SGD",
"createdAt": "2027-02-20T16:37:48.068Z"
},
{
"id": 314,
"userId": 164,
"kind": "flight",
"referenceId": 335,
"checkInAt": "2025-09-12T02:37:47.912Z",
"checkOutAt": "2025-09-12T02:37:47.912Z",
"status": "completed",
"totalAmount": 8886.01,
"currency": "EUR",
"createdAt": "2025-06-21T02:37:47.912Z"
},
{
"id": 315,
"userId": 151,
"kind": "property",
"referenceId": 92,
"checkInAt": "2026-12-25T09:59:46.599Z",
"checkOutAt": "2026-12-28T09:59:46.599Z",
"status": "completed",
"totalAmount": 1290.19,
"currency": "CAD",
"createdAt": "2026-12-07T09:59:46.599Z"
}
],
"meta": {
"page": 14,
"limit": 24,
"total": 500,
"totalPages": 21
},
"links": {
"self": "/api/v1/bookings?page=14&limit=24",
"first": "/api/v1/bookings?page=1&limit=24",
"last": "/api/v1/bookings?page=21&limit=24",
"next": "/api/v1/bookings?page=15&limit=24",
"prev": "/api/v1/bookings?page=13&limit=24"
}
}