List borrower's loan request
This endpoint retrieves a list of loan requests based on specific criteria. The returned active loan requests will only include those issued within the last 30 days
get
https://api.lenmo.app/api/v3
/loan_requests/
Python
cURL
PHP
Ruby
1
import requests
2
import json
3
4
access_token = # Bearer Token to submit along the request in the header
5
6
url = 'https://api.lenmo.app/api/v3/loan_requests/'
7
8
headers = {
9
'Accept': 'application/json',
10
'Authorization' : 'Bearer {}'.format(access_token)
11
}
12
13
r = requests.get(url, headers=headers)
14
15
print(r.text)
curl -X GET "https://api.lenmo.app/api/v3/loan_requests/"
-H "accept: application/json"
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
1
<?php
2
3
$curl = curl_init();
4
5
curl_setopt_array($curl, array(
6
CURLOPT_URL => "https://api.lenmo.app/api/v3/loan_requests/",
7
CURLOPT_RETURNTRANSFER => true,
8
CURLOPT_ENCODING => "",
9
CURLOPT_MAXREDIRS => 10,
10
CURLOPT_TIMEOUT => 0,
11
CURLOPT_FOLLOWLOCATION => true,
12
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
13
CURLOPT_CUSTOMREQUEST => "GET",
14
CURLOPT_HTTPHEADER => array(
15
"Accept: application/json",
16
"X-CSRFToken: T6xVXEgLulaeMoAcifAEQurBJnD25evxsetvjqRl963FsVvj39mdW148S55fKOK1"
17
),
18
));
19
20
$response = curl_exec($curl);
21
22
curl_close($curl);
23
echo $response;
24
25
?>
26
require 'uri'
require 'net/http'
url = URI("https://api.lenmo.app/api/v3/loan_requests/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["accept"] = 'application/json'
request["X-CSRFToken"] = 'T6xVXEgLulaeMoAcifAEQurBJnD25evxsetvjqRl963FsVvj39mdW148S55fKOK1'
response = http.request(request)
puts response.read_body
Parameter | Type | Description |
---|---|---|
id | Number | This is the loan request ID |
Borrower's id | Number | This is the borrower's ID the requested the loan |
intial | String | Borrower's Intial |
lenmo_color | Integer | Lenme scoring model that measure the risk level. |
credit_score | String | Credit score range - borrower's credit score range in a 10-point range. |
hard_inquiries | Integer | Number of hard inquires as per the credit report of the borrower. |
deregatory_mark | Integer | Deregatory mark as per the credit report of the borrower. |
total_accounts | Integer | Number of total accounts as per the credit report of the borrower. |
credit_utilization | Float | Credit utilization as per the credit report of the borrower. |
annual_income | Float | TransUnion annual income. |
payment_history | Float | TransUnion Payment History |
completed_loans_count | Integer | Number of completed loans for this borrower. |
borrower_card_color | Integer | An integer value that reflect the risk level of the borrower. |
loan_amount | Float | The amount of loan in USD |
loan_terms | Integer | Number of loan terms for this loan request |
total_amount | Float | The total amount of loan including fees |
fee_legislative | Float | Legislative fees for the loan |
fee_extra | Float | Lenme extra fees |
fee_lenmo | Float | Lenme fees |
created | Date | Date of loan request creation |
fav_loan_request_id | Long | Id of a favourite loan request |
lenme_prediction_purchased | Boolean | Is LenmePredict purchased for this loan? |
crypto_currency | String | Type of crypto currency if crypto loan request. |
crypto_amount | Float | Crypto amount if crypto loan request. |
crypto_logo | String | URL for the crypto currency logo |
crypto_name | String | Name of the crypto currency |
crypto_market_value | Float | The market value of the crypto currency |
crypto_interest_rate | Float | Fixed value of crypto interest rate (0.25) |
Good to know: We advise that you refresh this en
Last modified 5mo ago