Agent #49
Redfin · residential · 6 yrs
agents / #49
Redfin · residential · 6 yrs
curl -sS \
"https://example-data.com/api/v1/agents/49" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/agents/49"
);
const agent = await res.json();import type { Agent } from "https://example-data.com/types/agents.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/agents/49"
);
const agent = (await res.json()) as Agent;import requests
res = requests.get(
"https://example-data.com/api/v1/agents/49"
)
agent = res.json() {
"id": 49,
"userId": 207,
"brokerage": "Redfin",
"licenseNumber": "8YZT4PQQB3",
"specialty": "residential",
"yearsExperience": 6,
"rating": 4.2,
"ratingCount": 111,
"createdAt": "2021-10-13T21:48:27.199Z"
}