Straight-line distance is a poor proxy for whether someone can live somewhere. The geo API answers the question a renter is really asking: how long will it take me to get to work from here, and what is within walking distance once I arrive?
curl -sS -X POST https://geo.thepropertystack.com/commute/estimate \
-H "Authorization: Bearer $PROPERTYSTACK_KEY" \
-H "Content-Type: application/json" \
-d '{
"market": "za",
"origin_gazetteer_key": "newlands-cape-town",
"destination": { "lat": -33.9575, "lon": 18.4610 },
"mode": "car",
"bucket": "am_peak"
}'The routing engine runs on our own infrastructure against an OpenStreetMap extract per market, so a commute filter over a whole result set costs what the compute costs β not a metered price per coordinate pair.
Every estimate carries a range and a confidence. Where a city has no scheduled transit data, the API says so rather than inventing a precise number from a model that has nothing to go on.
The geo API can be used on its own, or as the commute filter inside the search API.
Talk to us about a demo tenant with your own market loaded.
Or email us directly at info@thepropertystack.com