Lead Pull
Pull mortgage leads assigned to your partner account. Each request returns leads in the states configured for your account, with the questions covered for that account.
The states included and the questions covered are configurable. To change either, contact [email protected].
Access
Base URL: https://api.mashvisor.com
| Method | GET |
| Endpoint | /v1.1/client/mortgage/leads |
Send the API key issued for your partner account in the x-api-key header. This key authenticates the lead pull endpoint.
Each request counts toward a limit of 10,000 requests per month, measured in UTC. When that limit is reached, further requests are rejected until the next UTC month.
All timestamps are UTC in ISO 8601, for example 2026-09-27T14:30:00Z.
List leads
Returns leads created in the requested window. Results are ordered by creation time. Pass after_id from the previous page to continue.
A lead is included only when its state is one of the states configured for your account. Each lead's questions array includes the questions covered for your account.
Query parameters
- Name
from- Type
- string
- Description
Inclusive lower bound on
createdAt. UTC ISO 8601, for example2026-10-12T00:00:00Z. A date-only value such as2026-10-12is treated as the start of that UTC day. Values earlier than2026-10-12T00:00:00Z, and requests that omit this parameter, are treated as that minimum.
- Name
to- Type
- string
- Description
Inclusive upper bound on
createdAt. UTC ISO 8601, for example2026-10-27T23:59:59Z. A date-only value such as2026-10-27is treated as the end of that UTC day (23:59:59). Must be on or after2026-10-12T00:00:00Z.
- Name
after_id- Type
- integer
- Description
Exclusive cursor. Returns leads whose id is greater than this value. Use
pagination.nextAfterIdfrom the previous response.
- Name
limit- Type
- integer
- Description
Page size. Default: 100. Maximum: 500.
Lead fields
- Name
id- Type
- integer
- Description
Lead id. Use the last id on a full page as
after_idfor the next request.
- Name
name- Type
- string
- Description
Lead name.
- Name
email- Type
- string
- Description
Lead email.
- Name
phone- Type
- string
- Description
Lead phone number.
- Name
address- Type
- string
- Description
Property street address.
- Name
city- Type
- string
- Description
Property city.
- Name
state- Type
- string
- Description
Two-letter state code.
- Name
zipcode- Type
- string
- Description
Property ZIP code.
- Name
propertyType- Type
- string
- Description
Property type.
- Name
price- Type
- integer
- Description
Property price.
- Name
source- Type
- string
- Description
Lead source.
- Name
lead_type- Type
- string
- Description
Mortgage lead type.
- Name
createdAt- Type
- string
- Description
When the lead was created. UTC ISO 8601, for example
2026-09-27T14:30:00.000Z.
- Name
updatedAt- Type
- string
- Description
When the lead was last updated. UTC ISO 8601.
- Name
questions- Type
- array
- Description
Questions covered for your account, each with
key,question, andanswer. Empty when none of those questions were answered.
Request
curl -G "https://api.mashvisor.com/v1.1/client/mortgage/leads" \
--data-urlencode "from=2026-10-12T00:00:00Z" \
--data-urlencode "to=2026-10-27T23:59:59Z" \
--data-urlencode "after_id=1200" \
--data-urlencode "limit=100" \
-H "x-api-key: YOUR_API_KEY"
Response
{
"status": "success",
"content": {
"filters": {
"from": "2026-10-12T00:00:00.000Z",
"to": "2026-10-27T23:59:59.000Z",
"afterId": 1200,
"limit": 100,
"dateField": "created_at",
"dateBounds": "inclusive"
},
"leads": [
{
"id": 1201,
"name": "Alex Morgan",
"email": "[email protected]",
"phone": "555-0100",
"address": "18 Palm Court",
"city": "Miami",
"state": "FL",
"zipcode": "33101",
"propertyType": "Single Family",
"price": 450000,
"source": "Mashvisor",
"lead_type": "Refinance an investment property",
"createdAt": "2026-10-12T14:30:00.000Z",
"updatedAt": "2026-10-12T14:30:00.000Z",
"questions": [
{
"key": "Mortgage Lead Type",
"question": "What are you looking to finance?",
"answer": "Refinance an investment property"
},
{
"key": "Credit Score",
"question": "What Is Your Estimated Credit Score?",
"answer": "720"
},
{
"key": "Estimated Value",
"question": "What is the estimated value?",
"answer": "Purchase"
}
]
}
],
"pagination": {
"count": 1,
"limit": 100,
"hasMore": false,
"nextAfterId": null
}
},
"message": "Mortgage partner leads"
}
When pagination.hasMore is true, request the next page with the same from and to values and after_id set to pagination.nextAfterId.
Questions covered
Each lead's questions array includes only the questions configured for your account. These are the questions available:
| Key | Question |
|---|---|
| Visit Reason | What brings you here today? |
| Purchase Goal | How will this property be used? |
| First Time Buyer | Are you a first time Home Buyer? |
| Timeline | When are you planning to make your purchase? |
| Property Type | What Type of Property Are You Looking For? |
| Specific Property | Specific property in mind? |
| Property Address | What is your current address? |
| Market Interest | What Market are you interested in? |
| Purchase Price ($) | What is Your Estimated Purchase Price? |
| Down Payment | How much do you currently have saved for a down payment? |
| Credit Score | What Is Your Estimated Credit Score? |
| Scenario | Which of These Scenarios Best Describe You? |
| Qualification | How Do You Intend to Qualify? |
| Household Income | What is your household gross income? |
| Working With Agent | Are you working with an Agent? |
| LLC | Do you plan on putting this property under a LLC? |
| Interest (LTR/STR) | How is the property being rented? |
| Investment Count | How many investment properties do you currently own? |
| Primary Residence 12mo | Have you owned your primary residence for the last 12 months? |
| Refinancing Goal | What is your primary goal for refinancing? |
| property Use | What best describes how you use this property? |
| Current Loan | What is your current loan balance? |
| Loan Type | What Type of Loan is it? |
| Interest Rate | What is your current interest rate? |
| Purchase Date | When did you purchase the property? |
| Estimated Value | What is the estimated value? |
| Listed last 6 months | Has the property been listed in the last 6 months? |
| Estimated Credit Score | What Is Your Estimated Credit Score? |
| Property Leased | Is the current property leased? |
| Gross Monthly Revenue | What is your Gross Monthly Revenue? |
| Notes | Anything else you'd like us to know? |
| Mortgage Lead Type | What are you looking to finance? |