Check API status and connectivity.
curl https://app.rentfax.io/api/v1/ping{
"ok": true,
"service": "RentFAX API",
"version": "1.0",
"status": "operational",
"timestamp": "2026-04-13T00:00:00.000Z"
}const RENTFAX_KEY = 'rfx_live_YOUR_KEY';
async function screenRenter(email) {
const res = await fetch(
`https://app.rentfax.io/api/v1/renter/check?email=${email}`,
{ headers: { 'Authorization': `Bearer ${RENTFAX_KEY}` } }
);
const data = await res.json();
if (data.recommendation === 'APPROVED') {
console.log('✅ Renter cleared — proceed with rental');
} else if (data.recommendation === 'CONDITIONAL') {
console.log('⚠️ Review required — score:', data.score);
} else {
console.log('🚫 Rental denied — risk tier:', data.risk_tier);
}
return data;
}
screenRenter('renter@email.com');