Agent #47
Century 21 · luxury · 6 yrs
Overview
agents / #47
Century 21 · luxury · 6 yrs
Request
curl example
curl -sS \ "https://example-data.com/api/v1/agents/47" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/agents/47" ); 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/47"
);
const agent = (await res.json()) as Agent; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/agents/47"
)
agent = res.json() Response
{
"id": 47,
"userId": 218,
"brokerage": "Century 21",
"licenseNumber": "UEHRM3HW3D",
"specialty": "luxury",
"yearsExperience": 6,
"rating": 3.1,
"ratingCount": 66,
"createdAt": "2023-01-05T08:34:17.599Z"
}