Agent #18
Compass · luxury · 18 yrs
Overview
agents / #18
Compass · luxury · 18 yrs
Request
curl example
curl -sS \ "https://example-data.com/api/v1/agents/18" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/agents/18" ); const agent = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/agents.d.ts https://example-data.com/types/agents.d.ts
import type { Agent } from "./types/agents";
const res = await fetch(
"https://example-data.com/api/v1/agents/18"
);
const agent = (await res.json()) as Agent; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/agents/18"
)
agent = res.json() Response
{
"id": 18,
"userId": 219,
"brokerage": "Compass",
"licenseNumber": "VDETL0U92Y",
"specialty": "luxury",
"yearsExperience": 18,
"rating": 3.1,
"ratingCount": 125,
"createdAt": "2026-01-28T00:09:08.888Z"
}