example-data.com
Menu
Browse docs and collections

Overview

listings / #112

Apartment in Duluth

apartment · Duluth · $712,100

451 Church Close

Component variants

Related

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/listings/112" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/listings/112"
);
const listing = await res.json();

TypeScript example

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

const res = await fetch(
  "https://example-data.com/api/v1/listings/112"
);
const listing = (await res.json()) as Listing;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/listings/112"
)
listing = res.json()

Response

{
  "id": 112,
  "agentUserId": 26,
  "propertyType": "apartment",
  "title": "Apartment in Duluth",
  "description": "Ater praesentium degusto. Decretum tristis desolo cunabula cerno substantia amor inventore contego. Cervus celo caterva cubitum crapula amplexus annus delibero caste.\n\nSolus sustineo apparatus utique umquam decimus aurum. Vobis varietas conicio depopulo. Ait tempora thermae auctor arbustum capto denique charisma.",
  "price": 712100,
  "currency": "USD",
  "bedrooms": 0,
  "bathrooms": 1,
  "squareFeet": 7139,
  "address": "451 Church Close",
  "city": "Duluth",
  "region": "Nebraska",
  "countryAlpha2": "ID",
  "latitude": -23.932034,
  "longitude": 98.345024,
  "status": "pending",
  "listedAt": "2024-08-14T14:39:47.910Z",
  "createdAt": "2024-08-14T06:12:56.505Z",
  "updatedAt": "2026-01-01T14:50:48.571Z"
}