APIs / Redfin / Locations

Redfin: Locations

Locations from Redfin as JSON. 1 credit per successful call.

GET /v1/redfin/locations

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
querystringRequiredUp to 100 characters
countrystringOptionalus, 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&region_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.

FieldType
namestring
subNamestring
region_idinteger
region_typeinteger
region_type_namestring
marketstring
urlstring