Homesage.ai Developer Platform
API Documentation
Complete reference guide for integrating Homesage.ai's real estate APIs into your applications
API Documentation
Welcome to the Homesage.ai API documentation. Our comprehensive real estate APIs provide access to property data, investment analysis, and rental calculations for properties across the United States.
Quick Start
Get started with Homesage.ai APIs in just a few steps:
Sign up for a developer account and generate your JWT token through our Developer Portal.
const token = 'YOUR_JWT_TOKEN';
fetch('https://developers.homesage.ai/api/properties/info/?property_address=123+Main+St,Austin,TX+78701', {
method: 'GET',
headers: {
'Authorization': `Bearer ${token}`,
'Content-Type': 'application/json'
}
})
.then(response => response.json())
.then(data => console.log(data));
Use our interactive API playground below to test endpoints and see responses in real-time.
Authentication
Homesage.ai uses JWT (JSON Web Token) authentication for API access. All API requests must include a valid JWT token in the Authorization header.
Algorithm: HS256 (HMAC with SHA-256)
Token Format: Bearer YOUR_JWT_TOKEN
Header Example:
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...- Register for a developer account at our Developer Portal
- Navigate to the API Keys section
- Generate a new JWT token
- Store the token securely
JWT tokens are valid for 30 days by default. You can configure custom expiration times in the Developer Portal. When a token expires, you'll receive a 401 Unauthorized response.
Base URL
All API requests should be made to:
https://developers.homesage.aiProperty APIs
Property Info
/api/properties/info/
Get comprehensive property details including characteristics, ownership, tax information, and market data.
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
property_address | string | Required* | Full property address (URL encoded) |
property_id | string | Required* | Base64 encoded property ID |
* Either property_address or property_id is required
Example Request
curl -X GET "https://developers.homesage.ai/api/properties/info/?property_address=123+Main+St,Austin,TX+78701" \
-H "Authorization: Bearer YOUR_JWT_TOKEN"const response = await fetch('https://developers.homesage.ai/api/properties/info/?property_address=123+Main+St,Austin,TX+78701', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_JWT_TOKEN'
}
});
const data = await response.json();
console.log(data);import requests
url = "https://developers.homesage.ai/api/properties/info/"
headers = {"Authorization": "Bearer YOUR_JWT_TOKEN"}
params = {"property_address": "123 Main St, Austin, TX 78701"}
response = requests.get(url, headers=headers, params=params)
print(response.json())Response Example
{
"address": {"street": "123 Main St","city": "Austin","state": "TX","zip": "78701"},
"list_date": "2023-10-01","status": "for_sale","listing_price": 425000,"estimated_value": 420000,
"sf": 1850,"psf": 229.73,"dom": 15,
"property_features": {"bedrooms": 3,"bathrooms": 2,"year_built": 1998,"property_type": "Single Family"},
"location_community": {"community_name": "Downtown Austin"},
"building_info": {"stories": 2,"construction": "Frame","roof": "Composition"},
"lot": {"size": 6500,"dimensions": "65x100"},
"parking": {"garage_spaces": 2,"covered_spaces": 0},
"interior_features": [],"home_value": {},"utilities": {},"listing_office": {},"listing_details": {},
"property_history": [],"school_ratings": {},"photos": []
}Property Value Estimate
/api/properties/current-estimate/
Get a highly accurate property valuation made by advanced AI models based on more than 30 property attributes.
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
property_address | string | Required | Full property address |
Example Request
curl -X GET "https://developers.homesage.ai/api/properties/current-estimate/?property_address=6141+Markleham+Ave,+Las+Vegas,+NV+89130" \
-H "Authorization: Bearer YOUR_JWT_TOKEN"Response Example
{"address":"123 Main St, Austin, TX 78701","Estimates":{"current_value":48707.0}}Property Comps
/api/properties/comps/
Get comparable properties for valuation and market analysis, including recently sold, for sale, and off-market properties.
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
property_address | string | Required | Full property address |
radius | float | Optional | Search radius in miles (default: 0.5) |
limit | integer | Optional | Number of comparables to return (default: 10) |
Example Request
curl -X GET "https://developers.homesage.ai/api/properties/comps/?property_address=123+Main+St,Austin,TX+78701&limit=5" \
-H "Authorization: Bearer YOUR_JWT_TOKEN"Property Condition
/api/properties/property-condition/
Get AI-powered property condition assessment based on available data and images. Useful for estimating renovation needs.
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
property_address | string | Required | Full property address |
SQFT Analysis
/api/properties/sqft-per-floor/
Get detailed square footage breakdown for each floor of the property.
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
property_address | string | Required | Full property address |
Address Autocomplete
/api/properties/auto-complete/
Autocomplete property addresses as users type for better UX.
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
input | string | Required | Partial address to search for (minimum 2 characters) |
Price Flexibility Score
/api/properties/pfs/
Get the Price Flexibility Score (PFS) for a property, indicating how negotiable the listing price might be.
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
property_address | string | Required* | Full property address |
property_id | string | Required* | Base64 encoded property ID |
* Either property_address or property_id is required
TLC Analysis
/api/properties/tlc/
Determine if a property needs "Tender Loving Care" (TLC) based on its condition and characteristics.
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
property_address | string | Required* | Full property address |
property_id | string | Required* | Base64 encoded property ID |
* Either property_address or property_id is required
Property Condition Based on Uploaded Photos
/api/properties/property-condition-custom-photos/
Advanced property condition assessment using AI image analysis. Supports both database lookup and custom photo analysis.
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
address | string | Optional* | Full property address |
image_urls | string | Optional* | Comma-separated image URLs (GET) or array (POST) |
images | files | Optional* | Image file uploads (POST only) |
* Either address or images (URLs/files) must be provided
Possible conditions: Excellent, Good, Outdated, Poor, Very Poor, Unpredictable
Bulk Property Info
/api/properties/bulk-info/
Get property information for multiple properties filtered by location criteria.
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
city | string | Optional* | City name |
state | string | Optional* | State code (e.g., TX, CA) |
zip | string | Optional* | ZIP code |
status | string | Required | Property status: "active" or "sold" |
listing_age | string | Optional | Max days on market |
updated_since | string | Optional | ISO 8601 date |
limit | integer | Optional | Max results (default: 10, max: 100) |
* At least one location parameter (city, state, or zip) is required
Full Report
/api/properties/full-report/
Generate a complete property report with all available data and analysis.
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
property_address | string | Required | Full property address |
Updated Property Info
/api/properties/updated-info/
Refresh property details with the latest market data — lightweight tracking for active listings.
Sold Properties by ZIP
/api/properties/sold/by-zip/
Pull every recent sale in a ZIP code for market analysis and accurate comps modeling.
Sold Properties Count
/api/properties/sold/count-by-zip/
Cheap pre-flight check — confirm sold volume before pulling the full dataset.
Investment Analysis APIs
Investment Potential
/api/properties/investment_potential/
Analyze investment potential with cash flow, ROI, and cap rate calculations.
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
property_address | string | Required | Full property address |
purchase_price | float | Optional | Override purchase price |
down_payment_percent | float | Optional | Down payment percentage (default: 20) |
interest_rate | float | Optional | Loan interest rate |
Flip Return
/api/properties/flip_return/
Calculate potential returns for house flipping investments.
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
property_address | string | Required* | Full property address |
property_id | string | Required* | Base64 encoded property ID |
cash_or_financed | string | Optional | "cash" or "financed" (default: "cash") |
downpayment | float | Optional | Down payment % if financed (default: 20) |
interest_rate | float | Optional | Interest rate if financed (default: 4.5) |
loan_term | integer | Optional | Loan term in years (default: 30) |
sqft | float | Optional | Override property square footage |
* Either property_address or property_id is required
Renovation Return
/api/properties/renovation_return/
Calculate return on investment for specific renovation projects.
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
property_address | string | Required* | Full property address |
property_id | string | Required* | Base64 encoded property ID |
* Either property_address or property_id is required
Long-Term Rental
/api/properties/rental/long_term/
Analyze long-term rental income potential and cash flow.
Short-Term Rental
/api/properties/rental/short_term/
Analyze short-term rental (Airbnb) income potential.
Renovation Cost
/api/properties/renovation/cost/
Estimate renovation costs based on property condition and scope.
Home Value Graph
/api/properties/home_value_graph/
Get historical home value data and trend analysis.
Renovation Cost Breakdown
/api/properties/renovation-cost-breakdown/
Drill into renovation budgets with itemized cost breakdowns — perfect for accurate flip planning.
Analysis APIs
Market Outlook
/api/properties/market-outlook/
Zoom out to the ZIP code level — capture market direction before you bid.
Solar & Roof Analysis
/api/solar/analysis/
AI-powered roof and solar viability analysis for energy-conscious investors and homeowners.
Mortgage & Lien Analysis
/api/mortgage-lien/analysis/
Surface encumbrances and lien data before you commit — cached results stay free for 7 days.
Location Red Flags
/api/properties/red-flags/stream/
Spot location risk factors instantly — crime, hazards, and red flags surfaced in one call.
Skip Tracing APIs
Property Owner Information
/api/properties/skip-tracing/property-owner-information/
Identify property owners with verified contact details for off-market deal sourcing.
Bulk Property Owner Lookup
/api/properties/skip-tracing/property-owner-information/
Skip tracing at scale — pull owner info for up to 100 properties in a single request.
Associated People
/api/properties/skip-tracing/associated-people/
Expand your outreach with associated contacts tied to a property owner.
Person Details
/api/properties/skip-tracing/person-details/
Deep-dive person lookup for skip tracing workflows and lead enrichment.
Bulk Associated People
/api/properties/skip-tracing/associated-people/
Batch-mode contact enrichment for high-volume skip tracing campaigns.
Interactive API Playground
API Recipes
Ready-to-use code examples that combine multiple API endpoints to solve real-world real estate problems. These recipes demonstrate best practices and show how to build powerful applications with Homesage.ai APIs.
Complete Property Analyzer
Property AnalysisGet a comprehensive analysis of any property including details, comparables, and investment potential.
async function analyzeProperty(address, token) {
const baseUrl = 'https://developers.homesage.ai';
const headers = { 'Authorization': `Bearer ${token}` };
try {
const propertyInfo = await fetch(`${baseUrl}/api/properties/info/?property_address=${encodeURIComponent(address)}`, { headers }).then(res => res.json());
const comps = await fetch(`${baseUrl}/api/properties/comps/?property_address=${encodeURIComponent(address)}`, { headers }).then(res => res.json());
const investment = await fetch(`${baseUrl}/api/properties/investment_potential/?property_address=${encodeURIComponent(address)}`, { headers }).then(res => res.json());
return { property: propertyInfo, comparables: comps, investment: investment };
} catch (error) { console.error('Error analyzing property:', error); throw error; }
}
const analysis = await analyzeProperty('123 Main St, Austin, TX 78701', 'YOUR_JWT_TOKEN');
console.log(analysis);Investment Calculator
FinancialBuild a flexible investment calculator that allows users to input their own financial assumptions.
House Flip Analyzer
InvestmentCreate a tool to quickly assess the viability of a house flip by combining purchase price, renovation cost estimates, and after-repair value (ARV).
Rental Income Optimizer
RentalCompare the potential income from long-term vs. short-term (vacation) rental strategies for a given property.
Error Codes
Homesage.ai uses standard HTTP status codes and provides detailed error messages to help you troubleshoot issues.
| Status Code | Error Type | Description |
|---|---|---|
200 | Success | Request completed successfully |
400 | Bad Request | Invalid request parameters or missing required fields |
401 | Unauthorized | Invalid or expired JWT token |
402 | Payment Required | Insufficient credits or no subscription plan |
404 | Not Found | Property or resource not found |
429 | Too Many Requests | Rate limit exceeded |
500 | Internal Server Error | Unexpected server error |
Error Response Format
{"error": "Property not found"}Rate Limits
API rate limits vary by plan tier to ensure fair usage and system stability.
Rate Limit Tiers
| Plan | Requests/Hour | Requests/Day | Concurrent Requests |
|---|---|---|---|
| Free | 100 | 1,000 | 5 |
| Starter | 1,000 | 10,000 | 10 |
| Professional | 5,000 | 50,000 | 25 |
| Enterprise | Custom | Custom | Custom |
Ready to Build with Homesage.ai?
Join thousands of developers using our APIs to power innovative real estate applications