bookings
bookings
Page 17 of 21.
Overview
- Jan28
property booking #385
9:48 PM
- Jan29
hotel booking #386
4:12 AM
- Jun3
flight booking #387
4:12 PM
- Jun12
property booking #388
12:25 AM
- Jan11
hotel booking #389
10:40 AM
- Mar2
flight booking #390
4:25 AM
- Sep23
hotel booking #391
9:30 AM
- Nov23
flight booking #392
4:46 AM
- May24
property booking #393
3:35 PM
- Aug12
flight booking #394
12:35 AM
- Jun12
flight booking #395
5:57 AM
- Jan24
hotel booking #396
4:47 AM
- Nov27
flight booking #397
3:04 PM
- Jan21
flight booking #398
12:24 AM
- Mar25
hotel booking #399
1:49 PM
- Oct3
hotel booking #400
11:32 AM
- Dec4
property booking #401
9:17 AM
- May21
flight booking #402
3:50 AM
- Oct7
flight booking #403
4:33 PM
- Dec14
property booking #404
10:34 PM
- Feb1
hotel booking #405
8:31 PM
- Aug11
hotel booking #406
8:27 PM
- Jun4
property booking #407
3:27 AM
- Jan12
property booking #408
10:25 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": 385,
"userId": 188,
"kind": "property",
"referenceId": 66,
"checkInAt": "2026-01-28T21:48:07.010Z",
"checkOutAt": "2026-02-11T21:48:07.010Z",
"status": "completed",
"totalAmount": 1015.4,
"currency": "JPY",
"createdAt": "2026-01-09T21:48:07.010Z"
},
{
"id": 386,
"userId": 129,
"kind": "hotel",
"referenceId": 16,
"checkInAt": "2027-01-29T04:12:04.707Z",
"checkOutAt": "2027-02-08T04:12:04.707Z",
"status": "pending",
"totalAmount": 5285.58,
"currency": "EUR",
"createdAt": "2026-12-26T04:12:04.707Z"
},
{
"id": 387,
"userId": 179,
"kind": "flight",
"referenceId": 323,
"checkInAt": "2026-06-03T16:12:57.563Z",
"checkOutAt": "2026-06-03T16:12:57.563Z",
"status": "cancelled",
"totalAmount": 3562.28,
"currency": "AED",
"createdAt": "2026-05-04T16:12:57.563Z"
}
],
"meta": {
"page": 17,
"limit": 24,
"total": 500,
"totalPages": 21
},
"links": {
"self": "/api/v1/bookings?page=17&limit=24",
"first": "/api/v1/bookings?page=1&limit=24",
"last": "/api/v1/bookings?page=21&limit=24",
"next": "/api/v1/bookings?page=18&limit=24",
"prev": "/api/v1/bookings?page=16&limit=24"
}
}