bookings
bookings
Page 13 of 21.
Overview
- Jul6
property booking #289
6:42 PM
- Feb11
flight booking #290
5:11 PM
- Jan15
flight booking #291
4:29 PM
- Aug3
hotel booking #292
10:04 PM
- Sep23
flight booking #293
6:42 PM
- Mar12
flight booking #294
6:45 PM
- Oct14
property booking #295
5:43 AM
- Aug28
property booking #296
6:04 AM
- Jul14
property booking #297
3:42 AM
- Jan2
property booking #298
12:23 AM
- Mar7
flight booking #299
6:47 AM
- Apr11
property booking #300
9:12 AM
- Feb15
property booking #301
2:18 PM
- May15
flight booking #302
3:25 PM
- Jun11
hotel booking #303
8:35 PM
- Apr5
flight booking #304
4:48 PM
- Dec3
hotel booking #305
2:36 PM
- Jan19
hotel booking #306
4:14 PM
- Nov19
hotel booking #307
9:33 AM
- Apr16
hotel booking #308
1:29 AM
- Oct10
property booking #309
6:52 AM
- Feb24
property booking #310
11:19 PM
- Jun2
hotel booking #311
4:00 AM
- Jan5
flight booking #312
6:21 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": 289,
"userId": 18,
"kind": "property",
"referenceId": 11,
"checkInAt": "2026-07-06T18:42:40.180Z",
"checkOutAt": "2026-07-07T18:42:40.180Z",
"status": "pending",
"totalAmount": 3566.38,
"currency": "EUR",
"createdAt": "2026-04-19T18:42:40.180Z"
},
{
"id": 290,
"userId": 84,
"kind": "flight",
"referenceId": 219,
"checkInAt": "2027-02-11T17:11:18.331Z",
"checkOutAt": "2027-02-11T17:11:18.331Z",
"status": "cancelled",
"totalAmount": 5119.07,
"currency": "AED",
"createdAt": "2026-12-25T17:11:18.331Z"
},
{
"id": 291,
"userId": 123,
"kind": "flight",
"referenceId": 326,
"checkInAt": "2027-01-15T16:29:35.453Z",
"checkOutAt": "2027-01-15T16:29:35.453Z",
"status": "confirmed",
"totalAmount": 7254.42,
"currency": "JPY",
"createdAt": "2026-10-18T16:29:35.453Z"
}
],
"meta": {
"page": 13,
"limit": 24,
"total": 500,
"totalPages": 21
},
"links": {
"self": "/api/v1/bookings?page=13&limit=24",
"first": "/api/v1/bookings?page=1&limit=24",
"last": "/api/v1/bookings?page=21&limit=24",
"next": "/api/v1/bookings?page=14&limit=24",
"prev": "/api/v1/bookings?page=12&limit=24"
}
}