City volume breakdown across the agent's sales
Ranks the agent's CLOSED sales (status sold, a real sale price — rentals and lease listings excluded, duplicate records of one sale counted once) by this dimension. The same population POST /v1/agents/{id}/sales returns with flatFilters.mlsStatus: "SLD" and the agent analytics routes count. side narrows to the deals the agent was on that side of (buyer includes deals on both sides; buyer + listing = any).
In: header
Path Parameters
Agent document ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/agents/string/breakdowns/cities" \ -H "Content-Type: application/json" \ -d '{}'{
"cursor": "string",
"data": [
{
"company": {
"name": "string",
"nmlsId": "string"
},
"excluded": 0,
"id": "string",
"label": "string",
"name": "string",
"office": {
"id": "string",
"name": "string"
},
"pctUnits": 0,
"pctVolume": 0,
"units": 0,
"volume": 0
}
],
"total": 0,
"totals": {
"excluded": 0,
"units": 0,
"volume": 0,
"volumePlausible": true
},
"truncated": true
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}{
"error": "string",
"limit": 0,
"size": 0
}Home builders on the agent's deals (pre-aggregated) POST
New-construction builders named on the agent's deals in the period, ranked by units. The pre-aggregated builder list carries a deal COUNT only, so every row's `volume` and `pctVolume` are 0 — rank and share by `units` / `pctUnits` (a share of ALL the agent's deals in the period, so the rows sum to the builder-sold share, not to 1). It carries no buyer/listing split either: `side` must be `any` (or omitted); `buyer`/`listing` return 400.
Mortgage companies the agent dealt with (pre-aggregated) POST
Next Page