example-data.com
Menu

How to use this data

Use properties for listing screens and bookings for reservation examples. properties-saved links users to saved properties; places supplies a separate collection for location discovery.

Click into any collection to see its schema, sample records, and API reference.

Try it now

Fetch properties in the language of your choice.

curl example

curl -sS \
  "https://example-data.com/api/v1/properties?limit=25"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/properties?limit=25"
);
const { data, meta } = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/properties.d.ts https://example-data.com/types/properties.d.ts
import type { Property, ListEnvelope } from "./types/properties";

const res = await fetch(
  "https://example-data.com/api/v1/properties?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<Property>;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/properties",
    params={"limit": 25},
)
data = res.json()

Looking for a visual way to build a web or mobile app? You can use this data with Draftbit.