Agents

Title companies on the agent's financed deals, over time

POST
/v1/agents/{id}/breakdowns/title-companies/time-series

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. One bucket per interval (default monthly), each segmented by title company with spellings merged per bucket: segments[].label is the company's most-used spelling across the whole response and segments[].id the normalized name — match a company across buckets on id. previous is the same series for the prior window. side defaults to any.

Authorization

x-api-key<token>

In: header

Path Parameters

id*string

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/title-companies/time-series" \  -H "Content-Type: application/json" \  -d '{}'
{
  "completeness": {
    "through": "2019-08-24"
  },
  "current": [
    {
      "complete": true,
      "date": "string",
      "excluded": 0,
      "measureValue": 0,
      "segments": [
        {
          "id": "string",
          "label": "string",
          "measureValue": 0,
          "units": 0,
          "volume": 0
        }
      ],
      "units": 0,
      "volume": 0
    }
  ],
  "measure": "string",
  "previous": [
    {
      "complete": true,
      "date": "string",
      "excluded": 0,
      "measureValue": 0,
      "segments": [
        {
          "id": "string",
          "label": "string",
          "measureValue": 0,
          "units": 0,
          "volume": 0
        }
      ],
      "units": 0,
      "volume": 0
    }
  ]
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string",
  "limit": 0,
  "size": 0
}