Developer API
Integrate real estate data into your applications
Endpoints
Base URL
https://api.lotlytics.us/api/v1Authentication
All API requests require an API key passed as a Bearer token in the Authorization header.
Authorization: Bearer YOUR_API_KEYAPI keys are available on the Investor plan ($79/mo).
Markets
2 endpointsGET
/api/v1/regionsList all 939 US metro and micropolitan market regions (CBSAs).
import requests
resp = requests.get(
"https://api.lotlytics.us/public/v1/regions",
headers={"Authorization": "Bearer YOUR_API_KEY"}
)
data = resp.json()
print(data[:2])Response
[
{
"regionId": "austin-tx",
"name": "Austin-Round Rock-Georgetown, TX",
"stateCode": "TX",
"lat": 30.2672,
"lng": -97.7431,
"population": 2352426
},
...
]GET
/api/v1/search?q={query}Search markets by name or ZIP codes by prefix or city.
qstringSearch query (min 2 chars). Examples: 'Austin', '787'resp = requests.get(
"https://api.lotlytics.us/public/v1/search",
params={"q": "Austin"},
headers={"Authorization": "Bearer YOUR_API_KEY"}
)
print(resp.json())Response
{
"markets": [
{ "regionId": "austin-tx", "name": "Austin-Round Rock-Georgetown, TX", "stateCode": "TX", "latestValue": 498500 }
],
"zips": [
{ "zipCode": "78701", "city": "Austin", "state": "TX", "metroId": "austin-tx" }
]
}