cURL
curl --request GET \
--url https://app.loanscape.io/api/v1.0/nmls/companies/{companyNmls} \
--header 'X-API-KEY: <api-key>'import requests
url = "https://app.loanscape.io/api/v1.0/nmls/companies/{companyNmls}"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://app.loanscape.io/api/v1.0/nmls/companies/{companyNmls}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.loanscape.io/api/v1.0/nmls/companies/{companyNmls}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.loanscape.io/api/v1.0/nmls/companies/{companyNmls}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.loanscape.io/api/v1.0/nmls/companies/{companyNmls}")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.loanscape.io/api/v1.0/nmls/companies/{companyNmls}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"nmls": "<string>",
"name": "<string>",
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"state": "<string>",
"zip": "<string>"
},
"dateUpdated": "<string>",
"licensing": {
"federalRegistration": {
"regulator": "<string>",
"isActive": true
},
"tradeNames": [
{
"name": "<string>",
"states": [
"<string>"
]
}
],
"licensedStates": [
"<string>"
],
"stateLicenses": [
{
"licenseId": "<string>",
"licenseType": "<string>",
"licenseNumber": "<string>",
"status": "<string>",
"regulator": "<string>",
"state": "<string>",
"issueDate": "<string>",
"statusDate": "<string>",
"renewedThrough": "<string>"
}
],
"loanOfficers": [
{
"nmls": "<string>",
"name": "<string>",
"hasActiveStateLicense": true,
"hasActiveFederalRegistration": true,
"otherNames": [
"<string>"
],
"licensedStates": [
"<string>"
],
"stateLicenses": [
{
"licenseId": "<string>",
"licenseType": "<string>",
"licenseNumber": "<string>",
"status": "<string>",
"regulator": "<string>",
"state": "<string>",
"issueDate": "<string>",
"statusDate": "<string>",
"renewedThrough": "<string>"
}
],
"federalRegistrations": [
{
"registrationId": "<string>",
"regulator": "<string>",
"statusDate": "<string>"
}
],
"locations": [
{
"locationType": "<string>",
"nmls": "<string>",
"address": {
"line1": "<string>",
"city": "<string>",
"state": "<string>",
"zip": "<string>"
},
"startDate": "<string>"
}
]
}
],
"branches": [
{
"nmls": "<string>",
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"state": "<string>",
"zip": "<string>"
},
"hasActiveStateLicense": true,
"managers": [
{
"name": "<string>",
"nmls": "<string>"
}
],
"tradeNames": [
{
"name": "<string>",
"states": [
"<string>"
]
}
],
"licensedStates": [
"<string>"
],
"stateLicenses": [
{
"licenseId": "<string>",
"licenseType": "<string>",
"licenseNumber": "<string>",
"status": "<string>",
"regulator": "<string>",
"state": "<string>",
"issueDate": "<string>",
"statusDate": "<string>",
"renewedThrough": "<string>"
}
]
}
]
}
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}API Endpoints
Fetch company licensing
Fetch the NMLS licensing data of any company, specifying its company NMLS ID and the fields you’d like to retrieve. You don’t need to have an application with the company, and the company doesn’t need to be on Loanscape.
By default, only
You can return all available fields by passing
Note: this is a premium feature - contact the Loanscape team to confirm that you have access.
For example, to specify all possible fields:
Everything returned here comes from NMLS. Information that a TPO provides on Loanscape - such as their processors and contact information of loan officers - is only available for TPOs you have an application with, using the application endpoints.
nmls is returned. Optionally request further fields by passing them in the fields parameter in the query.You can return all available fields by passing
fields=*Note: this is a premium feature - contact the Loanscape team to confirm that you have access.
For example, to specify all possible fields:
https://app.loanscape.io/api/v1.0/nmls/companies/<companyNmls>?fields=name,address,dateUpdated,licensing.federalRegistration,licensing.tradeNames,licensing.licensedStates,licensing.stateLicenses,licensing.branches,licensing.loanOfficersEverything returned here comes from NMLS. Information that a TPO provides on Loanscape - such as their processors and contact information of loan officers - is only available for TPOs you have an application with, using the application endpoints.
name is the company’s name as registered with NMLS. This can differ from the tpo.name of an application, which is the name the TPO uses on Loanscape - match a company to an application’s TPO by NMLS ID (tpo.nmls), not by name.GET
/
nmls
/
companies
/
{companyNmls}
cURL
curl --request GET \
--url https://app.loanscape.io/api/v1.0/nmls/companies/{companyNmls} \
--header 'X-API-KEY: <api-key>'import requests
url = "https://app.loanscape.io/api/v1.0/nmls/companies/{companyNmls}"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://app.loanscape.io/api/v1.0/nmls/companies/{companyNmls}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.loanscape.io/api/v1.0/nmls/companies/{companyNmls}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.loanscape.io/api/v1.0/nmls/companies/{companyNmls}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.loanscape.io/api/v1.0/nmls/companies/{companyNmls}")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.loanscape.io/api/v1.0/nmls/companies/{companyNmls}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"nmls": "<string>",
"name": "<string>",
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"state": "<string>",
"zip": "<string>"
},
"dateUpdated": "<string>",
"licensing": {
"federalRegistration": {
"regulator": "<string>",
"isActive": true
},
"tradeNames": [
{
"name": "<string>",
"states": [
"<string>"
]
}
],
"licensedStates": [
"<string>"
],
"stateLicenses": [
{
"licenseId": "<string>",
"licenseType": "<string>",
"licenseNumber": "<string>",
"status": "<string>",
"regulator": "<string>",
"state": "<string>",
"issueDate": "<string>",
"statusDate": "<string>",
"renewedThrough": "<string>"
}
],
"loanOfficers": [
{
"nmls": "<string>",
"name": "<string>",
"hasActiveStateLicense": true,
"hasActiveFederalRegistration": true,
"otherNames": [
"<string>"
],
"licensedStates": [
"<string>"
],
"stateLicenses": [
{
"licenseId": "<string>",
"licenseType": "<string>",
"licenseNumber": "<string>",
"status": "<string>",
"regulator": "<string>",
"state": "<string>",
"issueDate": "<string>",
"statusDate": "<string>",
"renewedThrough": "<string>"
}
],
"federalRegistrations": [
{
"registrationId": "<string>",
"regulator": "<string>",
"statusDate": "<string>"
}
],
"locations": [
{
"locationType": "<string>",
"nmls": "<string>",
"address": {
"line1": "<string>",
"city": "<string>",
"state": "<string>",
"zip": "<string>"
},
"startDate": "<string>"
}
]
}
],
"branches": [
{
"nmls": "<string>",
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"state": "<string>",
"zip": "<string>"
},
"hasActiveStateLicense": true,
"managers": [
{
"name": "<string>",
"nmls": "<string>"
}
],
"tradeNames": [
{
"name": "<string>",
"states": [
"<string>"
]
}
],
"licensedStates": [
"<string>"
],
"stateLicenses": [
{
"licenseId": "<string>",
"licenseType": "<string>",
"licenseNumber": "<string>",
"status": "<string>",
"regulator": "<string>",
"state": "<string>",
"issueDate": "<string>",
"statusDate": "<string>",
"renewedThrough": "<string>"
}
]
}
]
}
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}Authorizations
Generate an API key on Loanscape or pass test/key to try with demo data.
Path Parameters
Query Parameters
Response
NMLS company licensing data returned.
