Agent #15
eXp Realty · luxury · 34 yrs
Overview
agents / #15
eXp Realty · luxury · 34 yrs
Request
curl example
curl -sS \ "https://example-data.com/api/v1/agents/15" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/agents/15" ); 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/15"
);
const agent = (await res.json()) as Agent; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/agents/15"
)
agent = res.json() Response
{
"id": 15,
"userId": 68,
"brokerage": "eXp Realty",
"licenseNumber": "A8X0FUDY7J",
"specialty": "luxury",
"yearsExperience": 34,
"rating": 3.6,
"ratingCount": 192,
"createdAt": "2018-10-09T14:44:23.858Z"
}