Financing profile of the agent's deals, per side
Scoped to the agent's FINANCED deals: recorded loans on which the agent is the buyer's agent or the listing / co-listing agent, matched through the agent's ids. Cash deals carry no loan and are not counted. The date window is the loan's recording date. Returns, for each side at once (any, buyer, listing — duals on buyer): the financed deal count and loan volume, how many were brokered (third-party origination), and the loan-type mix. For the prior period, call again with that period.
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/analytics/loan-mix" \ -H "Content-Type: application/json" \ -d '{}'{
"any": {
"loanTypes": [
{
"label": "string",
"units": 0,
"volume": 0
}
],
"tpoUnits": 0,
"tpoVolume": 0,
"units": 0,
"volume": 0
},
"buyer": {
"loanTypes": [
{
"label": "string",
"units": 0,
"volume": 0
}
],
"tpoUnits": 0,
"tpoVolume": 0,
"units": 0,
"volume": 0
},
"listing": {
"loanTypes": [
{
"label": "string",
"units": 0,
"volume": 0
}
],
"tpoUnits": 0,
"tpoVolume": 0,
"units": 0,
"volume": 0
}
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}{
"error": "string",
"limit": 0,
"size": 0
}Raw-name lenders encountered (pre-aggregated) POST
Previous Page
The ZIP markets this agent works, blended POST
Rank the ZIP markets one real-estate agent works, with volume, transaction counts and mean sale price per market, plus a weighted summary across the whole footprint. Optionally narrow to a ZIP list or a date window. REACH, NOT MARKET SHARE: an agent belongs to every market they touch — where their office is AND everywhere they have transacted — so one agent is counted in several markets at once. Per-market agent counts therefore over-sum: they cannot be added together, and dividing one into a total does not produce a market share. The only percentage returned, `shareOfScope`, is each market's share of this agent's volume across the scope requested and sums to 100 over that scope; there is no share-of-whole-book figure, because the transaction records carry no per-agent total to divide by. TWO COUNTS, ON PURPOSE: `transactions` counts transaction records; `units` counts the ones carrying a price, which are the records behind `volume` and `avgSalePrice`. Roughly half of an agent's records are priced, so dividing volume by `transactions` understates the average by about 2×. Figures are computed live from the agent's transaction records — an agent record carries no stored market rollup — and are ranked across their busiest ZIP markets. When a ZIP scope returns no markets, `reach.presentInScope` distinguishes 'works there, nothing closed in the window' from 'not present at all'. The summary also carries a Community Lending mix: what kind of neighborhood these markets are, weighted by the agent's activity in each. These are U.S. Census tract-level aggregates describing whole neighborhoods — never an individual, household or client attribute — and on this surface the basis is always the markets in scope, since an agent record carries no stored neighborhood rollup.