Agent #32
eXp Realty · land · 32 yrs
Overview
Request
curl example
curl -sS \ "https://example-data.com/api/v1/agents/32" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/agents/32" ); 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/32"
);
const agent = (await res.json()) as Agent; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/agents/32"
)
agent = res.json() Response
{
"id": 32,
"userId": 22,
"brokerage": "eXp Realty",
"licenseNumber": "SSUXH40WBW",
"specialty": "land",
"yearsExperience": 32,
"rating": 4,
"ratingCount": 247,
"createdAt": "2024-09-22T08:58:23.060Z"
}