Autocomplete Search Boundaries deprecated
GET/v4/boundaries/suggestions
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
This endpoint returns a list of boundaries based on search criteria.
Request
Query Parameters
- King
- Miami-Dade
- Los Alamos
- name
- population
- distance
The text search query you would like to use to search for boundaries (formerly
starts-with
The layer or layers you seek to obtain boundary information from.
Possible values: [city
, postal-code
, area-level-1
, area-level-2
, postal-city
, district
, neighborhood
, micro-neighborhood
, subdivision
, school-district
, school-attendance-area
]
Default value: [postal-code
, neighborhood
, district
, city
, area-level-1
, area-level-2
]
The first political subdivision of a country for which you seek to obtain boundary information from. Common equivalents are states or provinces. Use the full name.
The second political subdivision of a country which you seek to obtain boundary information from. Common equivalents are Counties or Parishes Use the full name. Not guaranteed in every country.
Example: King
Example: Miami-Dade
Example: Los Alamos
The MLS code you want associated boundary IDs from.
The latitude used to sort-by distance
The longitude used to sort-by distance
The number of records you would like returned. The default is 20, the maximum is 50.
Default value: 20
Used for pagination, the number of records for the collection to skip.
Default value: 0
Sort by the following parameters.
Note: If you sort by distance, you must provide a latitude and longitude.
Possible values: [name
, population
, distance
]
Responses
- 200
- 401
- 403
- 404
- 429
- 500
- 504
- application/json
- Schema
- Example (from schema)
Schema
Array [
- Polygon
- LineString
- Point
Array [
]
Array [
]
Array [
]
]
pagination
object
required
data
object[]
The LiveBy Boundary ID.
boundingBox
object
required
coordinates
object
required
oneOf
Possible values: >= 2
, <= 2
number
address
object
required
{
"success": true,
"pagination": {
"pageTotal": 0,
"limit": 0,
"offset": 0
},
"data": [
{
"id": "string",
"layer": "string",
"name": "string",
"vectorTileId": 0,
"boundingBox": {
"type": "string",
"coordinates": [
[
[
0
]
]
]
},
"address": {
"postcode": "string",
"city": "string",
"municipality": "string",
"village": "string",
"district": "string",
"subdistrict": "string",
"archipelago": "string",
"territory": "string",
"island": "string",
"province": "string",
"state": "string",
"county": "string",
"township": "string",
"region": "string",
"town": "string",
"locality": "string"
}
}
]
}
Unauthorized
Forbidden
Not Found
Too Many Requests
Internal Server Error
Service Unavailable