example-data.com
Menu
Browse docs and collections

Overview

listings / #42

Condo in San Marcos

condo · San Marcos · $3,002,900

198 Rath Harbor

Component variants

Related

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/listings/42"
);
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/42"
);
const listing = (await res.json()) as Listing;

Python example

import requests

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

Response

{
  "id": 42,
  "agentUserId": 152,
  "propertyType": "condo",
  "title": "Condo in San Marcos",
  "description": "Caritas terebro decipio. Totidem utrimque copia deputo basium. Cariosus quaerat asper excepturi aedificium vado totus.\n\nConiecto crebro thesaurus administratio audacia. Venia vulariter voluptatum templum aut culpo celer. Vitiosus harum dolorum animus temeritas.",
  "price": 3002900,
  "currency": "USD",
  "bedrooms": 0,
  "bathrooms": 1,
  "squareFeet": 4184,
  "address": "198 Rath Harbor",
  "city": "San Marcos",
  "region": "Louisiana",
  "countryAlpha2": "NZ",
  "latitude": 26.394398,
  "longitude": -62.348735,
  "status": "active",
  "listedAt": "2025-11-23T11:20:45.404Z",
  "createdAt": "2025-11-23T03:15:17.032Z",
  "updatedAt": "2026-02-13T20:27:52.363Z"
}