Skip to content

search_estaite_submarkets

Description

Resolves a submarket name (partial match supported) to one or more numeric ids. Use this whenever the user references a submarket by name — id from this response is required for tools that take a submarket id. Returns up to 20 matches.

Inputs

NameTypeRequiredDescription
querystringyesSubmarket name, e.g. "carmel". Case-insensitive partial match against submarket_name.
msastringnoReserved for future CBSA-scoped search; currently accepted but ignored by the server. To narrow results today, just use a more specific query value.

Response

{
"attribution": "Data via Estaite Submarket Index",
"powered_by": "Estaite.com",
"count": 1,
"results": [
{ "id": 1, "name": "Carmel Valley", "zipcodes": "92130,92129" }
]
}

When the attribution comes from licensed customer data, the attribution string changes to e.g. "Data provided by Estaite Solutions (estaite.com)".

Fields

FieldTypeDescription
attributionstringRequired attribution text. Echo this verbatim in user-facing responses.
powered_bystringAlways "Estaite.com".
countnumberNumber of matches returned (max 20).
results[].idnumberCanonical submarket id. Use this in id-taking tools.
results[].namestringCanonical submarket name (may be more specific than the query, e.g. "Sandy Springs""Roswell / Sandy Springs").
results[].zipcodesstringComma-separated ZIPs aggregated into the submarket.

Errors

CodeHTTPMeaning
MISSING_QUERY400query was empty, missing, or not a string.

Notes

  • Results are ordered alphabetically by submarket_name, not by relevance.
  • Multiple matches happen often for common names (“Downtown”, “Midtown”). When you get more than one result, either show the user the list or filter by the name you actually want before passing the id downstream.
  • A search returning no results (count: 0, empty results) is a successful response — not an error.