bookings
bookings
Page 3 of 21.
Overview
- Mar17
property booking #49
12:58 AM
- Jun6
property booking #50
12:45 AM
- May12
hotel booking #51
11:38 PM
- Mar24
flight booking #52
9:24 AM
- Mar4
hotel booking #53
3:57 PM
- Aug6
flight booking #54
8:51 AM
- Sep3
property booking #55
12:32 PM
- Nov5
flight booking #56
11:44 AM
- Apr10
property booking #57
1:07 AM
- Jun2
property booking #58
10:05 AM
- Sep29
hotel booking #59
10:51 AM
- Jul17
flight booking #60
3:07 PM
- Aug10
flight booking #61
2:31 PM
- Dec22
flight booking #62
10:04 AM
- Dec9
hotel booking #63
11:22 PM
- Oct4
property booking #64
9:11 PM
- Jun8
property booking #65
12:00 PM
- Jun1
property booking #66
6:45 AM
- Sep10
flight booking #67
1:31 AM
- Aug15
property booking #68
11:47 AM
- Apr26
property booking #69
9:06 AM
- May22
hotel booking #70
12:48 PM
- Jul9
hotel booking #71
9:18 PM
- May4
flight booking #72
11:38 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": 49,
"userId": 188,
"kind": "property",
"referenceId": 82,
"checkInAt": "2026-03-17T00:58:00.792Z",
"checkOutAt": "2026-03-18T00:58:00.792Z",
"status": "confirmed",
"totalAmount": 1608.74,
"currency": "SGD",
"createdAt": "2026-01-04T00:58:00.792Z"
},
{
"id": 50,
"userId": 234,
"kind": "property",
"referenceId": 178,
"checkInAt": "2026-06-06T00:45:18.517Z",
"checkOutAt": "2026-06-10T00:45:18.517Z",
"status": "cancelled",
"totalAmount": 2915.36,
"currency": "USD",
"createdAt": "2026-03-18T00:45:18.517Z"
},
{
"id": 51,
"userId": 20,
"kind": "hotel",
"referenceId": 134,
"checkInAt": "2026-05-12T23:38:45.104Z",
"checkOutAt": "2026-05-19T23:38:45.104Z",
"status": "cancelled",
"totalAmount": 9774.01,
"currency": "SGD",
"createdAt": "2026-04-20T23:38:45.104Z"
}
],
"meta": {
"page": 3,
"limit": 24,
"total": 500,
"totalPages": 21
},
"links": {
"self": "/api/v1/bookings?page=3&limit=24",
"first": "/api/v1/bookings?page=1&limit=24",
"last": "/api/v1/bookings?page=21&limit=24",
"next": "/api/v1/bookings?page=4&limit=24",
"prev": "/api/v1/bookings?page=2&limit=24"
}
}