Redfin: Locations
Locations from Redfin as JSON. 1 credit per successful call.
GET /v1/redfin/locations
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
query | string | Required | Up to 100 characters |
country | string | Optional | us, ca |
Example request
Redfin
GET/v1/redfin/locations?query=Seattle%2C+WA
{
"data": {
"locations": [
{
"name": "Seattle",
"subName": "Seattle, WA, USA",
"region_id": 16163,
"region_type": 6,
"region_type_name": "city",
"market": "seattle",
"url": "/city/16163/WA/Seattle"
},
{
"name": "West Seattle",
"subName": "Seattle, WA, USA",
"region_id": 3040,
"region_type": 1,
"region_type_name": "neighborhood",
"market": "seattle",
"url": "/neighborhood/3040/WA/Seattle/West-Seattle"
},
{
"name": "Northwest Seattle",
"subName": "Seattle, WA, USA",
"region_id": 37603,
"region_type": 1,
"region_type_name": "neighborhood",
"market": "seattle",
"url": "/neighborhood/37603/WA/Seattle/Northwest-Seattle"
}
],
"query": "Seattle, WA",
"_usage": {
"step": "Use region_id, region_type, and market from the locations response in your search query",
"search_available": true,
"example": "/api/redfin/search?region_id=16163®ion_type=6&market=seattle",
"region_types": {
"1": "neighborhood",
"2": "zip",
"5": "county",
"6": "city"
},
"tip": "Use the provided region_id, region_type, and market in your search query."
}
}
}200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.
Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.
Response fields
Each item in data.locations has these 7 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
name | string |
subName | string |
region_id | integer |
region_type | integer |
region_type_name | string |
market | string |
url | string |