/v1/metrics
Screening ratios
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/realestate-api/v1/metrics" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/realestate-api/v1/metrics", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/realestate-api/v1/metrics");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/realestate-api/v1/metrics",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"note": "Screening ratios: the 1% rule wants monthly rent ≥ 1% of price; gross yield = annual rent / price; GRM = price / annual rent; price per square foot for comparison.",
"inputs": {
"price": 200000,
"square_feet": 1500,
"monthly_rent": 2000
},
"price_per_sqft": 133.33,
"gross_yield_percent": 12,
"gross_rent_multiplier": 8.333,
"meets_one_percent_rule": true,
"one_percent_rule_percent": 1
},
"meta": {
"timestamp": "2026-06-05T19:50:10.213Z",
"request_id": "fdeb2d41-66f2-45f0-bdfe-47465e805fd9"
},
"status": "ok",
"message": "Screening ratios",
"success": true
}