Get a deal
curl --request GET \
--url https://api.nextlevelmca.com/v1/deals/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.nextlevelmca.com/v1/deals/{id}"
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/deals/{id}', 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/deals/{id}",
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/deals/{id}"
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/deals/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nextlevelmca.com/v1/deals/{id}")
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": {
"id": "<string>",
"business_id": "<string>",
"business": {
"id": "<string>",
"legal_name": "<string>",
"dba": "<string>"
},
"business_name": "<string>",
"dba": "<string>",
"entity_type": "<string>",
"industry": "<string>",
"business_address": "<string>",
"business_city": "<string>",
"business_state": "<string>",
"business_zip": "<string>",
"business_phone": "<string>",
"business_start_date": "<string>",
"state_incorporated": "<string>",
"owner": {
"first_name": "<string>",
"last_name": "<string>",
"email": "<string>",
"phone": "<string>"
},
"requested_amount": 123,
"annual_revenue": 123,
"use_of_funds": "<string>",
"product_type": "mca",
"desired_term_months": 123,
"desired_frequency": "daily",
"paper_grade": "<string>",
"paper_grade_source": "<string>",
"risk_flags": {},
"status": "<string>",
"stage": {
"id": "<string>",
"label": "<string>",
"phase": "preoffer",
"sort_order": 123,
"event": "first_submission_sent"
},
"stage_entered_at": "<string>",
"days_in_stage": 123,
"primary_offer": {
"id": "<string>",
"lender_id": "<string>",
"lender_name": "<string>",
"amount": 123,
"factor_rate": 123,
"status": "<string>"
},
"originator": {
"id": "<string>",
"name": "<string>"
},
"closer": {
"id": "<string>",
"name": "<string>"
},
"source": "<string>",
"lead_source": "<string>",
"form_data": {},
"submissions_count": 123,
"offers_count": 123,
"renewal_of_deal_id": "<string>",
"renewal_of_advance_id": "<string>",
"manually_closed": true,
"closed_at": "<string>",
"closed_reason": "<string>",
"ghl_contact_id": "<string>",
"ghl_opportunity_id": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"business_record": {
"id": "<string>",
"legal_name": "<string>",
"dba": "<string>",
"ein": "<string>",
"entity_type": "<string>",
"industry": "<string>",
"address": "<string>",
"city": "<string>",
"state": "<string>",
"zip": "<string>",
"phone": "<string>",
"email": "<string>",
"business_start_date": "<string>",
"status": "active",
"tags": [
"<string>"
],
"custom_data": {},
"primary_contact": {
"id": "<string>",
"name": "<string>",
"email": "<string>",
"phone": "<string>"
},
"deal_count": 123,
"lifetime_funded": 123,
"active_advances": 123,
"outstanding_balance": 123,
"last_activity_at": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
},
"people": [
{
"owner_id": "<string>",
"person_id": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"full_name": "<string>",
"email": "<string>",
"phone": "<string>",
"address": "<string>",
"city": "<string>",
"state": "<string>",
"zip": "<string>",
"dob": "<string>",
"ssn_masked": "<string>",
"credit_score": "<string>",
"ghl_contact_id": "<string>",
"is_primary_owner": true,
"ownership_percent": 123
}
],
"offers": [
{
"id": "<string>",
"lender_id": "<string>",
"lender_name": "<string>",
"amount": 123,
"factor_rate": 123,
"term": 123,
"term_unit": "<string>",
"payment_amount": 123,
"payment_frequency": "daily",
"payback_amount": 123,
"points": 123,
"status": "<string>",
"is_primary": true,
"received_at": "<string>",
"expires_at": "<string>",
"created_at": "<string>"
}
],
"submissions": [
{
"id": "<string>",
"lender_id": "<string>",
"lender_name": "<string>",
"status": "<string>",
"response_type": "<string>",
"submitted_at": "<string>",
"responded_at": "<string>",
"created_at": "<string>"
}
],
"documents": [
{
"id": "<string>",
"name": "<string>",
"type": "<string>",
"mime_type": "<string>",
"file_size": 123,
"ocr_status": "<string>",
"source": "<string>",
"uploaded_at": "<string>"
}
],
"activity": [
{
"id": "<string>",
"entity_type": "<string>",
"entity_id": "<string>",
"entity_name": "<string>",
"action": "<string>",
"description": "<string>",
"actor": {
"user_id": "<string>",
"user_name": "<string>"
},
"data": {},
"created_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>"
}
}{
"error": {
"type": "validation_error",
"message": "<string>",
"request_id": "<string>",
"code": "<string>",
"param": "<string>"
}
}Deals
Get a deal
The full deal. Add ?include=business,people,offers,submissions,documents,activity to embed related records; only what you ask for is loaded.
GET
/
v1
/
deals
/
{id}
Get a deal
curl --request GET \
--url https://api.nextlevelmca.com/v1/deals/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.nextlevelmca.com/v1/deals/{id}"
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/deals/{id}', 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/deals/{id}",
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/deals/{id}"
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/deals/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nextlevelmca.com/v1/deals/{id}")
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": {
"id": "<string>",
"business_id": "<string>",
"business": {
"id": "<string>",
"legal_name": "<string>",
"dba": "<string>"
},
"business_name": "<string>",
"dba": "<string>",
"entity_type": "<string>",
"industry": "<string>",
"business_address": "<string>",
"business_city": "<string>",
"business_state": "<string>",
"business_zip": "<string>",
"business_phone": "<string>",
"business_start_date": "<string>",
"state_incorporated": "<string>",
"owner": {
"first_name": "<string>",
"last_name": "<string>",
"email": "<string>",
"phone": "<string>"
},
"requested_amount": 123,
"annual_revenue": 123,
"use_of_funds": "<string>",
"product_type": "mca",
"desired_term_months": 123,
"desired_frequency": "daily",
"paper_grade": "<string>",
"paper_grade_source": "<string>",
"risk_flags": {},
"status": "<string>",
"stage": {
"id": "<string>",
"label": "<string>",
"phase": "preoffer",
"sort_order": 123,
"event": "first_submission_sent"
},
"stage_entered_at": "<string>",
"days_in_stage": 123,
"primary_offer": {
"id": "<string>",
"lender_id": "<string>",
"lender_name": "<string>",
"amount": 123,
"factor_rate": 123,
"status": "<string>"
},
"originator": {
"id": "<string>",
"name": "<string>"
},
"closer": {
"id": "<string>",
"name": "<string>"
},
"source": "<string>",
"lead_source": "<string>",
"form_data": {},
"submissions_count": 123,
"offers_count": 123,
"renewal_of_deal_id": "<string>",
"renewal_of_advance_id": "<string>",
"manually_closed": true,
"closed_at": "<string>",
"closed_reason": "<string>",
"ghl_contact_id": "<string>",
"ghl_opportunity_id": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"business_record": {
"id": "<string>",
"legal_name": "<string>",
"dba": "<string>",
"ein": "<string>",
"entity_type": "<string>",
"industry": "<string>",
"address": "<string>",
"city": "<string>",
"state": "<string>",
"zip": "<string>",
"phone": "<string>",
"email": "<string>",
"business_start_date": "<string>",
"status": "active",
"tags": [
"<string>"
],
"custom_data": {},
"primary_contact": {
"id": "<string>",
"name": "<string>",
"email": "<string>",
"phone": "<string>"
},
"deal_count": 123,
"lifetime_funded": 123,
"active_advances": 123,
"outstanding_balance": 123,
"last_activity_at": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
},
"people": [
{
"owner_id": "<string>",
"person_id": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"full_name": "<string>",
"email": "<string>",
"phone": "<string>",
"address": "<string>",
"city": "<string>",
"state": "<string>",
"zip": "<string>",
"dob": "<string>",
"ssn_masked": "<string>",
"credit_score": "<string>",
"ghl_contact_id": "<string>",
"is_primary_owner": true,
"ownership_percent": 123
}
],
"offers": [
{
"id": "<string>",
"lender_id": "<string>",
"lender_name": "<string>",
"amount": 123,
"factor_rate": 123,
"term": 123,
"term_unit": "<string>",
"payment_amount": 123,
"payment_frequency": "daily",
"payback_amount": 123,
"points": 123,
"status": "<string>",
"is_primary": true,
"received_at": "<string>",
"expires_at": "<string>",
"created_at": "<string>"
}
],
"submissions": [
{
"id": "<string>",
"lender_id": "<string>",
"lender_name": "<string>",
"status": "<string>",
"response_type": "<string>",
"submitted_at": "<string>",
"responded_at": "<string>",
"created_at": "<string>"
}
],
"documents": [
{
"id": "<string>",
"name": "<string>",
"type": "<string>",
"mime_type": "<string>",
"file_size": 123,
"ocr_status": "<string>",
"source": "<string>",
"uploaded_at": "<string>"
}
],
"activity": [
{
"id": "<string>",
"entity_type": "<string>",
"entity_id": "<string>",
"entity_name": "<string>",
"action": "<string>",
"description": "<string>",
"actor": {
"user_id": "<string>",
"user_name": "<string>"
},
"data": {},
"created_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>"
}
}{
"error": {
"type": "validation_error",
"message": "<string>",
"request_id": "<string>",
"code": "<string>",
"param": "<string>"
}
}Authorizations
API key (nlmca_live_…) or OAuth access token
Path Parameters
Deal id
Query Parameters
Comma-separated related data to embed: business, people (owners), offers, submissions, documents, activity (latest 25 entries). Nothing is embedded by default.
Example:
"business,offers"
Was this page helpful?