Agent #46
RE/MAX · rental · 22 yrs
Overview
agents / #46
RE/MAX · rental · 22 yrs
Request
curl example
curl -sS \ "https://example-data.com/api/v1/agents/46" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/agents/46" ); 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/46"
);
const agent = (await res.json()) as Agent; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/agents/46"
)
agent = res.json() Response
{
"id": 46,
"userId": 216,
"brokerage": "RE/MAX",
"licenseNumber": "48YHBA7RQE",
"specialty": "rental",
"yearsExperience": 22,
"rating": 4.6,
"ratingCount": 265,
"createdAt": "2022-02-20T21:30:00.832Z"
}