> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.modex.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.modex.com/_mcp/server.

# List a company's loan officers

GET https://api.modex.com/v1/resources/companies/{company_id}/loan-officers

Active loan officers whose current **primary** employer is this company, ordered by ID. Cursor-paginated, and limited to your permitted states.

**Includes:** same as **Show Loan Officer**.
**Query parameters:** `include`, `limit`, `cursor`.

Each item has the **Show Loan Officer** fields. Includes multiply response size, so request only what you need on large rosters. Saves the first loan officer to `loan_officer_id`.

Reference: https://docs.modex.com/api-reference/mortgage-data/companies/list-company-loan-officers

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Request

### Path parameters

- `company_id` (string, required)

### Query parameters

- `include` (string, optional) — Comma-separated extras: mortgage, licenses, census, non_qm, lender_beneficiaries, employment, contacts, federal_registrations. contacts is returned only after this loan officer has been unlocked. federal_registrations returns active and past flags plus registration history. lender_beneficiaries returns 403 when lender beneficiaries aren't enabled for your account.
- `limit` (integer, optional) — Page size. Defaults to 25. Maximum is 100.
- `cursor` (string, optional) — Cursor from pagination.next_cursor on the previous page. Leave disabled for the first page.

## Response

### 200

OK

- `data` (list of V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItems, optional) — The records on this page.
- `pagination` (V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaPagination, optional) — Cursor details for the next and previous pages. See Pagination in Getting started.

## Types

### V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItems

- `id` (string, optional) — Loan officer ID
- `type` (string, optional) — Always `loan_officer`
- `name` (string, optional) — Full name
- `nmls_id` (integer, optional) — Individual NMLS ID
- `office_locations` (list of V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsOfficeLocationsItems, optional) — Every office the loan officer is registered at
- `has_contact_data` (boolean, optional) — Whether contact data exists to unlock. It doesn't mean you've unlocked it.
- `mortgage` (V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsMortgage, optional) — Production over the rolling 12 months. Present when requested with `include=mortgage`.

### V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaPagination

Cursor details for the next and previous pages. See Pagination in Getting started.

- `per_page` (integer, optional) — Page size used for this response.
- `next_cursor` (string, optional) — Pass as `cursor` to get the next page. `null` on the last page.
- `next_page_url` (string, optional) — Full URL of the next page. `null` on the last page.
- `prev_cursor` (any, optional) — Pass as `cursor` to get the previous page. `null` on the first page.
- `prev_page_url` (any, optional) — Full URL of the previous page. `null` on the first page.

### V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsOfficeLocationsItems

- `type` (string, optional) — `branch` (an assigned branch office) or `main` (an employer's main office)
- `employer` (V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsOfficeLocationsItemsEmployer, optional) — `id`, `name`, `nmls_id` of the company, plus `branch` (`id`, `name`, `nmls_id`) for `branch` locations, or `null` for `main`
- `address` (V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsOfficeLocationsItemsAddress, optional) — Office address

### V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsMortgage

Production over the rolling 12 months. Present when requested with `include=mortgage`.

- `volume` (integer, optional, nullable) — Total dollar amount over the window
- `units` (integer, optional, nullable) — Number of transactions over the window
- `average` (integer, optional, nullable) — Average dollar amount
- `transaction_type` (list of V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsMortgageTransactionTypeItems, optional) — Breakdown by purpose: Purchase, Refinance, Home Equity, Construction
- `loan_type` (list of V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsMortgageLoanTypeItems, optional) — Breakdown by loan type: Conventional, FHA, VA, USDA, Stand Alone Second, and others
- `property_type` (list of V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsMortgagePropertyTypeItems, optional) — Breakdown by property type

### V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsOfficeLocationsItemsEmployer

`id`, `name`, `nmls_id` of the company, plus `branch` (`id`, `name`, `nmls_id`) for `branch` locations, or `null` for `main`

- `id` (string, optional) — Modex ID (UUID)
- `name` (string, optional) — Name
- `nmls_id` (integer, optional) — NMLS ID
- `branch` (V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsOfficeLocationsItemsEmployerBranch, optional, nullable)

### V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsOfficeLocationsItemsAddress

Office address

- `street` (string, optional) — Street line
- `city` (string, optional) — Breakdown by city
- `state` (string, optional) — Two-letter state code
- `zipcode` (string, optional) — ZIP code
- `formatted` (string, optional) — Full single-line address

### V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsMortgageTransactionTypeItems

- `label` (string, optional) — Category name. Records with no value are grouped as `Not provided`.
- `sum` (integer, optional) — Dollar amount in this category
- `count` (integer, optional) — Number of transactions in this category
- `average` (integer, optional) — Average dollar amount
- `percent_sum` (double, optional) — Share of total dollars, 0–100
- `percent_count` (double, optional) — Share of total transactions, 0–100

### V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsMortgageLoanTypeItems

- `label` (string, optional) — Category name. Records with no value are grouped as `Not provided`.
- `sum` (integer, optional) — Dollar amount in this category
- `count` (integer, optional) — Number of transactions in this category
- `average` (integer, optional) — Average dollar amount
- `percent_sum` (double, optional) — Share of total dollars, 0–100
- `percent_count` (double, optional) — Share of total transactions, 0–100

### V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsMortgagePropertyTypeItems

- `label` (string, optional) — Category name. Records with no value are grouped as `Not provided`.
- `sum` (integer, optional) — Dollar amount in this category
- `count` (integer, optional) — Number of transactions in this category
- `average` (integer, optional) — Average dollar amount
- `percent_sum` (double, optional) — Share of total dollars, 0–100
- `percent_count` (double, optional) — Share of total transactions, 0–100

### V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsOfficeLocationsItemsEmployerBranch

- `id` (string, optional) — Modex ID (UUID)
- `name` (string, optional) — Name
- `nmls_id` (integer, optional) — NMLS ID

## Examples

**Response**

```json
{
  "data": [
    {
      "id": "c4e5f6a7-8b9c-4d0e-a1f2-3b4c5d6e7f80",
      "type": "loan_officer",
      "name": "Jordan Ellery",
      "nmls_id": 2345678,
      "office_locations": [
        {
          "type": "branch",
          "employer": {
            "id": "8f3c2a10-4b7e-4d21-9a6f-1c2d3e4f5a60",
            "name": "Northstar Lending Group, LLC",
            "nmls_id": 1234567,
            "branch": {
              "id": "2b9d4e71-6c3a-4f8b-b2d1-7e8f9a0b1c22",
              "name": "Northstar Lending Group, LLC, Portland, OR",
              "nmls_id": 1234568
            }
          },
          "address": {
            "street": "500 SW Main Street, Suite 300",
            "city": "Portland",
            "state": "OR",
            "zipcode": "97204",
            "formatted": "500 SW Main Street, Suite 300, Portland, OR 97204"
          }
        },
        {
          "type": "main",
          "employer": {
            "id": "8f3c2a10-4b7e-4d21-9a6f-1c2d3e4f5a60",
            "name": "Northstar Lending Group, LLC",
            "nmls_id": 1234567,
            "branch": null
          },
          "address": {
            "street": "1200 NW Naito Parkway",
            "city": "Portland",
            "state": "OR",
            "zipcode": "97209",
            "formatted": "1200 NW Naito Parkway, Portland, OR 97209"
          }
        }
      ],
      "has_contact_data": true,
      "mortgage": {
        "volume": 18450000,
        "units": 46,
        "average": 401087,
        "transaction_type": [
          {
            "label": "Purchase",
            "sum": 12610000,
            "count": 30,
            "average": 420333,
            "percent_sum": 68.3469,
            "percent_count": 65.2174
          },
          {
            "label": "Refinance",
            "sum": 5120000,
            "count": 13,
            "average": 393846,
            "percent_sum": 27.7507,
            "percent_count": 28.2609
          },
          {
            "label": "Home Equity",
            "sum": 720000,
            "count": 3,
            "average": 240000,
            "percent_sum": 3.9024,
            "percent_count": 6.5217
          }
        ],
        "loan_type": [
          {
            "label": "Conventional",
            "sum": 13980000,
            "count": 33,
            "average": 423636,
            "percent_sum": 75.7724,
            "percent_count": 71.7391
          },
          {
            "label": "FHA",
            "sum": 2870000,
            "count": 9,
            "average": 318889,
            "percent_sum": 15.5556,
            "percent_count": 19.5652
          },
          {
            "label": "VA",
            "sum": 1600000,
            "count": 4,
            "average": 400000,
            "percent_sum": 8.6721,
            "percent_count": 8.6957
          }
        ],
        "property_type": [
          {
            "label": "Single Family Residence",
            "sum": 15120000,
            "count": 37,
            "average": 408649,
            "percent_sum": 81.9512,
            "percent_count": 80.4348
          },
          {
            "label": "Condominium",
            "sum": 2210000,
            "count": 7,
            "average": 315714,
            "percent_sum": 11.9783,
            "percent_count": 15.2174
          },
          {
            "label": "Townhouse",
            "sum": 1120000,
            "count": 2,
            "average": 560000,
            "percent_sum": 6.0705,
            "percent_count": 4.3478
          }
        ]
      }
    },
    {
      "id": "d5f6a7b8-9c0d-4e1f-b2a3-4c5d6e7f8091",
      "type": "loan_officer",
      "name": "Riley Chen",
      "nmls_id": 2345690,
      "office_locations": [
        {
          "type": "branch",
          "employer": {
            "id": "8f3c2a10-4b7e-4d21-9a6f-1c2d3e4f5a60",
            "name": "Northstar Lending Group, LLC",
            "nmls_id": 1234567,
            "branch": {
              "id": "2b9d4e71-6c3a-4f8b-b2d1-7e8f9a0b1c22",
              "name": "Northstar Lending Group, LLC, Portland, OR",
              "nmls_id": 1234568
            }
          },
          "address": {
            "street": "500 SW Main Street, Suite 300",
            "city": "Portland",
            "state": "OR",
            "zipcode": "97204",
            "formatted": "500 SW Main Street, Suite 300, Portland, OR 97204"
          }
        },
        {
          "type": "main",
          "employer": {
            "id": "8f3c2a10-4b7e-4d21-9a6f-1c2d3e4f5a60",
            "name": "Northstar Lending Group, LLC",
            "nmls_id": 1234567,
            "branch": null
          },
          "address": {
            "street": "1200 NW Naito Parkway",
            "city": "Portland",
            "state": "OR",
            "zipcode": "97209",
            "formatted": "1200 NW Naito Parkway, Portland, OR 97209"
          }
        }
      ],
      "has_contact_data": true,
      "mortgage": {
        "volume": null,
        "units": null,
        "average": null,
        "transaction_type": [],
        "loan_type": [],
        "property_type": []
      }
    }
  ],
  "pagination": {
    "per_page": 2,
    "next_cursor": "eyJsb2FuX29mZmljZXJzLmlkIjoiZDVmNmE3YjgtOWMwZC00ZTFmLWIyYTMtNGM1ZDZlN2Y4MDkxIiwiX3BvaW50c1RvTmV4dEl0ZW1zIjp0cnVlfQ",
    "next_page_url": "https://api.modex.com/v1/resources/companies/8f3c2a10-4b7e-4d21-9a6f-1c2d3e4f5a60/loan-officers?cursor=eyJsb2FuX29mZmljZXJzLmlkIjoiZDVmNmE3YjgtOWMwZC00ZTFmLWIyYTMtNGM1ZDZlN2Y4MDkxIiwiX3BvaW50c1RvTmV4dEl0ZW1zIjp0cnVlfQ"
  }
}
```

**SDK Code**

```python Loan officers with mortgage
import requests

url = "https://api.modex.com/v1/resources/companies/company_id/loan-officers"

querystring = {"cursor":"{{cursor}}","include":"mortgage,licenses,census,non_qm,lender_beneficiaries,employment,contacts,federal_registrations","limit":"25"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript Loan officers with mortgage
const url = 'https://api.modex.com/v1/resources/companies/company_id/loan-officers?cursor=%7B%7Bcursor%7D%7D&include=mortgage%2Clicenses%2Ccensus%2Cnon_qm%2Clender_beneficiaries%2Cemployment%2Ccontacts%2Cfederal_registrations&limit=25';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Loan officers with mortgage
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.modex.com/v1/resources/companies/company_id/loan-officers?cursor=%7B%7Bcursor%7D%7D&include=mortgage%2Clicenses%2Ccensus%2Cnon_qm%2Clender_beneficiaries%2Cemployment%2Ccontacts%2Cfederal_registrations&limit=25"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Loan officers with mortgage
require 'uri'
require 'net/http'

url = URI("https://api.modex.com/v1/resources/companies/company_id/loan-officers?cursor=%7B%7Bcursor%7D%7D&include=mortgage%2Clicenses%2Ccensus%2Cnon_qm%2Clender_beneficiaries%2Cemployment%2Ccontacts%2Cfederal_registrations&limit=25")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java Loan officers with mortgage
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.modex.com/v1/resources/companies/company_id/loan-officers?cursor=%7B%7Bcursor%7D%7D&include=mortgage%2Clicenses%2Ccensus%2Cnon_qm%2Clender_beneficiaries%2Cemployment%2Ccontacts%2Cfederal_registrations&limit=25")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php Loan officers with mortgage
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.modex.com/v1/resources/companies/company_id/loan-officers?cursor=%7B%7Bcursor%7D%7D&include=mortgage%2Clicenses%2Ccensus%2Cnon_qm%2Clender_beneficiaries%2Cemployment%2Ccontacts%2Cfederal_registrations&limit=25', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp Loan officers with mortgage
using RestSharp;

var client = new RestClient("https://api.modex.com/v1/resources/companies/company_id/loan-officers?cursor=%7B%7Bcursor%7D%7D&include=mortgage%2Clicenses%2Ccensus%2Cnon_qm%2Clender_beneficiaries%2Cemployment%2Ccontacts%2Cfederal_registrations&limit=25");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift Loan officers with mortgage
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.modex.com/v1/resources/companies/company_id/loan-officers?cursor=%7B%7Bcursor%7D%7D&include=mortgage%2Clicenses%2Ccensus%2Cnon_qm%2Clender_beneficiaries%2Cemployment%2Ccontacts%2Cfederal_registrations&limit=25")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```