> 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 branch's loan officers

GET https://api.modex.com/v1/resources/branches/{branch_id}/loan-officers

Active loan officers currently at this branch, ordered by ID. Cursor-paginated, and limited to your permitted states.

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

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

## Authentication

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

## Request

### Path parameters

- `branch_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 V1ResourcesBranchesBranchIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItems, optional) — The records on this page.
- `pagination` (V1ResourcesBranchesBranchIdLoanOfficersGetResponsesContentApplicationJsonSchemaPagination, optional) — Cursor details for the next and previous pages. See Pagination in Getting started.

## Types

### V1ResourcesBranchesBranchIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItems

- `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 V1ResourcesBranchesBranchIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsOfficeLocationsItems, 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.

### V1ResourcesBranchesBranchIdLoanOfficersGetResponsesContentApplicationJsonSchemaPagination

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` (any, optional) — Pass as `cursor` to get the next page. `null` on the last page.
- `next_page_url` (any, 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.

### V1ResourcesBranchesBranchIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsOfficeLocationsItems

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

### V1ResourcesBranchesBranchIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsOfficeLocationsItemsEmployer

`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` (V1ResourcesBranchesBranchIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsOfficeLocationsItemsEmployerBranch, optional, nullable)

### V1ResourcesBranchesBranchIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsOfficeLocationsItemsAddress

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

### V1ResourcesBranchesBranchIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsOfficeLocationsItemsEmployerBranch

- `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
    },
    {
      "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": false
    }
  ],
  "pagination": {
    "per_page": 25
  }
}
```

**SDK Code**

```python Loan officers
import requests

url = "https://api.modex.com/v1/resources/branches/branch_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
const url = 'https://api.modex.com/v1/resources/branches/branch_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
package main

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

func main() {

	url := "https://api.modex.com/v1/resources/branches/branch_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
require 'uri'
require 'net/http'

url = URI("https://api.modex.com/v1/resources/branches/branch_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
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.modex.com/v1/resources/branches/branch_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
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.modex.com/v1/resources/branches/branch_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
using RestSharp;

var client = new RestClient("https://api.modex.com/v1/resources/branches/branch_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
import Foundation

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

let request = NSMutableURLRequest(url: NSURL(string: "https://api.modex.com/v1/resources/branches/branch_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()
```