Why AgentAPI?
Save hours every day with AI that handles lead qualification, listing descriptions, and market analysis for you.
🎯 Lead Qualification
Instantly score incoming leads and get personalized response suggestions. Never miss a hot buyer again.
✍️ Property Descriptions
Generate compelling listing copy in seconds. Turn basic property data into marketing gold.
📊 Market Analysis
AI-powered CMAs with price recommendations and key insights. Impress clients, close faster.
Simple, Transparent Pricing
Pay only for what you use. No subscriptions, no hidden fees.
Get Your API Key
✅ Success! Here's your API key:
Save this key securely. You'll need it to make API calls.
API Documentation
Authentication
Include your API key in all requests using the X-API-Key header.
1. Lead Qualification
POST /api/lead-qualify
{
"message": "I'm looking for a 3BR home near downtown under $500k",
"context": {
"propertyType": "Single Family",
"priceRange": "$400k-$500k",
"location": "Downtown"
}
}
Response:
{
"success": true,
"data": {
"score": 85,
"reasoning": "High buyer intent with specific requirements and budget",
"suggested_response": "Hi! I'd love to help you find...",
"priority": "high"
}
}
2. Property Description
POST /api/property-describe
{
"address": "123 Main St, Denver, CO",
"bedrooms": 3,
"bathrooms": 2.5,
"sqft": 2100,
"price": 475000,
"propertyType": "Single Family",
"features": ["Updated Kitchen", "Hardwood Floors", "2-Car Garage"],
"neighborhood": "Cherry Creek"
}
Response:
{
"success": true,
"data": {
"headline": "Stunning Cherry Creek Home with Modern Updates",
"full_description": "Welcome to your dream home...",
"key_features": [
"Gourmet kitchen with granite countertops",
"Beautiful hardwood floors throughout",
"Spacious 2-car garage",
"Prime Cherry Creek location",
"Move-in ready condition"
]
}
}
3. CMA Generation
POST /api/cma-generate
{
"subjectProperty": {
"address": "456 Oak Ave",
"bedrooms": 4,
"bathrooms": 3,
"sqft": 2800
},
"comparables": [
{
"address": "789 Pine St",
"soldPrice": 525000,
"soldDate": "2026-02-15",
"bedrooms": 4,
"bathrooms": 3,
"sqft": 2750
}
]
}
Response:
{
"success": true,
"data": {
"market_summary": "Strong seller's market with...",
"price_recommendation": {
"suggested_price": 540000,
"price_range": { "low": 525000, "high": 555000 },
"confidence": "high"
},
"key_insights": [
"Similar homes selling above list price",
"Low inventory driving competition",
"Pricing at $540k positions well vs comps"
]
}
}
Usage Tracking
GET /api/usage
Check your API usage stats:
{
"success": true,
"data": {
"total_requests": 42,
"total_cost": 4.20
}
}
Example: cURL
curl -X POST https://agentapi.com/api/lead-qualify \
-H "X-API-Key: agnt_your_key_here" \
-H "Content-Type: application/json" \
-d '{"message": "Looking for a home in Boulder under $600k"}'
Example: JavaScript
const response = await fetch('https://agentapi.com/api/property-describe', {
method: 'POST',
headers: {
'X-API-Key': 'agnt_your_key_here',
'Content-Type': 'application/json'
},
body: JSON.stringify({
address: '123 Main St',
bedrooms: 3,
bathrooms: 2,
sqft: 1800,
price: 425000,
propertyType: 'Condo'
})
});
const data = await response.json();
console.log(data.data.headline);
Built with ❤️ for real estate professionals | Contact Support