example-data.com
Menu
Browse docs and collections

bookings

bookings

Browse 500 bookings records. Explore sample records and fetch JSON over a free REST API for prototypes, tests, and learning.

Overview

Cards

Compact

Detailed

Oct
17
Sat

property booking #1

4:54 PM – 4:54 PM

From CAD 4102.68

Jul
24
Fri

hotel booking #2

4:54 PM – 4:54 PM

From USD 3662.35

Jun
16
Tue

flight booking #3

3:40 PM – 3:40 PM

From SGD 3141.86

Nov
17
Tue

hotel booking #4

11:36 AM – 11:36 AM

From AED 2863.19

Oct
20
Tue

hotel booking #5

10:43 PM – 10:43 PM

From EUR 688.25

Sep
22
Mon

property booking #6

6:49 AM – 6:49 AM

From AUD 7808.18

Showing first 6 of 24 on this page.

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": 1,
      "userId": 96,
      "kind": "property",
      "referenceId": 159,
      "checkInAt": "2026-10-17T16:54:13.065Z",
      "checkOutAt": "2026-10-20T16:54:13.065Z",
      "status": "cancelled",
      "totalAmount": 4102.68,
      "currency": "CAD",
      "createdAt": "2026-09-30T16:54:13.065Z"
    },
    {
      "id": 2,
      "userId": 39,
      "kind": "hotel",
      "referenceId": 107,
      "checkInAt": "2026-07-24T16:54:15.113Z",
      "checkOutAt": "2026-07-31T16:54:15.113Z",
      "status": "cancelled",
      "totalAmount": 3662.35,
      "currency": "USD",
      "createdAt": "2026-05-21T16:54:15.113Z"
    },
    {
      "id": 3,
      "userId": 163,
      "kind": "flight",
      "referenceId": 27,
      "checkInAt": "2026-06-16T15:40:27.086Z",
      "checkOutAt": "2026-06-16T15:40:27.086Z",
      "status": "pending",
      "totalAmount": 3141.86,
      "currency": "SGD",
      "createdAt": "2026-05-13T15:40:27.086Z"
    }
  ],
  "meta": {
    "page": 1,
    "limit": 25,
    "total": 500,
    "totalPages": 20
  },
  "links": {
    "self": "/api/v1/bookings?page=1",
    "first": "/api/v1/bookings?page=1",
    "last": "/api/v1/bookings?page=20",
    "next": "/api/v1/bookings?page=2",
    "prev": null
  }
}

View full response →