API ONLINE
Latency --ms
BTC Loading...
ETH Loading...
Uptime 99.9%

Installation

Install via npm or yarn. Zero dependencies. TypeScript support included.

terminal
# npm
npm install lhbusa-valuation-engine

# yarn
yarn add lhbusa-valuation-engine

# pnpm
pnpm add lhbusa-valuation-engine

Quick Start

Basic usage with the calculateOffer function. Pass property details, get an instant valuation.

example.ts
import { calculateOffer } from 'lhbusa-valuation-engine';

const result = calculateOffer({
  arv: 310000,
  condition: 'fair',
  sqft: 1850,
  beds: 3,
  baths: 2,
  market: 'stable'
});

console.log(result);
// {
// offer: 247500,
// confidence: 0.94,
// breakdown: { arv: 310000, repairs: 24800, net: 285200 }
// }

API Reference calculateOffer()

The main function for calculating property offers. All parameters are validated at runtime.

Parameter Type Description
arv required number After Repair Value in dollars
condition required 'excellent' | 'good' | 'fair' | 'poor' Current property condition
sqft number Square footage (improves accuracy)
beds number Number of bedrooms
baths number Number of bathrooms
market 'hot' | 'stable' | 'declining' Market conditions (default: 'stable')
maxOffer number Optional cap on offer amount
Response Object
{
  "offer": 247500,
  "confidence": 0.94,
  "breakdown": {
    "arv": 310000,
    "repairEstimate": 24800,
    "netValue": 285200,
    "offerPercent": 0.868
  },
  "range": {
    "low": 235125,
    "high": 259875
  }
}

Why Open Source?

While iBuyers like Opendoor hide their algorithms, we publish ours. This isn't charity — it's strategy.

When sellers can see exactly how we calculate offers, they trust us. No hidden fees. No surprise deductions. The transparency becomes a competitive advantage. Fork it, improve it, or just verify we're playing fair.

AI
PropTech AI Online
Hey! 👋 I'm the PropTechUSA AI assistant. Ask me anything about our valuation tools, API access, or real estate technology.
Powered by Claude AI
INFRASTRUCTURE
Cloudflare Workers
🧠 Claude AI
📊 FRED API
🔗 npm Registry
🛡️ Edge Network