Get lender criteria
curl --request GET \
--url https://api.nextlevelmca.com/v1/lenders/{id}/criteria \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.nextlevelmca.com/v1/lenders/{id}/criteria"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.nextlevelmca.com/v1/lenders/{id}/criteria', 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://api.nextlevelmca.com/v1/lenders/{id}/criteria",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://api.nextlevelmca.com/v1/lenders/{id}/criteria"
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(string(body))
}HttpResponse<String> response = Unirest.get("https://api.nextlevelmca.com/v1/lenders/{id}/criteria")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nextlevelmca.com/v1/lenders/{id}/criteria")
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{
"data": {
"criteria": {
"min_tib": 123,
"min_monthly_revenue": 123,
"min_deposits": 123,
"min_avg_balance": 123,
"industries": [
"<string>"
],
"prohibited_industries": [
"<string>"
],
"prohibited_states": [
"<string>"
],
"min_credit_score": 123,
"credit_score_range": "any",
"min_positions": 123,
"max_positions": 123,
"max_nsf_days": 123,
"max_negative_days": 123,
"funds_defaults": true,
"funds_reversals": true,
"no_recovery_activity": true,
"min_funding_amount": 123,
"max_funding_amount": 123,
"term": 123,
"lowest_days": 123,
"highest_days": 123,
"pay_daily": true,
"pay_weekly": true,
"pay_biweekly": true,
"pay_monthly": true
},
"products": {
"mca": true,
"term_loan": true,
"loc": true,
"equipment": true,
"factoring": true
},
"extra_rules": [
{
"field": "<string>",
"operator": "gte",
"value": "<string>",
"display_label": "<string>"
}
],
"updated_at": "<string>"
},
"meta": {}
}{
"error": {
"type": "validation_error",
"message": "<string>",
"request_id": "<string>",
"code": "<string>",
"param": "<string>"
}
}{
"error": {
"type": "validation_error",
"message": "<string>",
"request_id": "<string>",
"code": "<string>",
"param": "<string>"
}
}{
"error": {
"type": "validation_error",
"message": "<string>",
"request_id": "<string>",
"code": "<string>",
"param": "<string>"
}
}{
"error": {
"type": "validation_error",
"message": "<string>",
"request_id": "<string>",
"code": "<string>",
"param": "<string>"
}
}Lenders
Get lender criteria
The lender’s eligibility block: structured criteria (minimums, prohibited industries/states, positions, NSF limits, funding range, terms), products, and free-form extra_rules. These drive GET /deals/{id}/lender-matches.
GET
/
v1
/
lenders
/
{id}
/
criteria
Get lender criteria
curl --request GET \
--url https://api.nextlevelmca.com/v1/lenders/{id}/criteria \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.nextlevelmca.com/v1/lenders/{id}/criteria"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.nextlevelmca.com/v1/lenders/{id}/criteria', 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://api.nextlevelmca.com/v1/lenders/{id}/criteria",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://api.nextlevelmca.com/v1/lenders/{id}/criteria"
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(string(body))
}HttpResponse<String> response = Unirest.get("https://api.nextlevelmca.com/v1/lenders/{id}/criteria")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nextlevelmca.com/v1/lenders/{id}/criteria")
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{
"data": {
"criteria": {
"min_tib": 123,
"min_monthly_revenue": 123,
"min_deposits": 123,
"min_avg_balance": 123,
"industries": [
"<string>"
],
"prohibited_industries": [
"<string>"
],
"prohibited_states": [
"<string>"
],
"min_credit_score": 123,
"credit_score_range": "any",
"min_positions": 123,
"max_positions": 123,
"max_nsf_days": 123,
"max_negative_days": 123,
"funds_defaults": true,
"funds_reversals": true,
"no_recovery_activity": true,
"min_funding_amount": 123,
"max_funding_amount": 123,
"term": 123,
"lowest_days": 123,
"highest_days": 123,
"pay_daily": true,
"pay_weekly": true,
"pay_biweekly": true,
"pay_monthly": true
},
"products": {
"mca": true,
"term_loan": true,
"loc": true,
"equipment": true,
"factoring": true
},
"extra_rules": [
{
"field": "<string>",
"operator": "gte",
"value": "<string>",
"display_label": "<string>"
}
],
"updated_at": "<string>"
},
"meta": {}
}{
"error": {
"type": "validation_error",
"message": "<string>",
"request_id": "<string>",
"code": "<string>",
"param": "<string>"
}
}{
"error": {
"type": "validation_error",
"message": "<string>",
"request_id": "<string>",
"code": "<string>",
"param": "<string>"
}
}{
"error": {
"type": "validation_error",
"message": "<string>",
"request_id": "<string>",
"code": "<string>",
"param": "<string>"
}
}{
"error": {
"type": "validation_error",
"message": "<string>",
"request_id": "<string>",
"code": "<string>",
"param": "<string>"
}
}Was this page helpful?