{"_id":"545ef25003c59f0800bbcff8","editedParams":true,"editedParams2":true,"version":{"_id":"5446bf21ae0040140035fa3c","project":"5446bf21ae0040140035fa39","__v":15,"createdAt":"2014-10-21T20:16:33.426Z","releaseDate":"2014-10-21T20:16:33.426Z","categories":["5446bf21ae0040140035fa3d","545ecdc45c79e60800a9078d","545ecdd8d986c40800e44af3","545ecdf8d986c40800e44af4","545ece065c79e60800a9078f","545ece0cd986c40800e44af5","545ece13d986c40800e44af6","545ece195c79e60800a90790","545eced2d986c40800e44afa","545eced95c79e60800a90792","545eceded986c40800e44afb","545ecee4d986c40800e44afc","545ecee9d986c40800e44afd","545eceedd986c40800e44afe","545ecef2d986c40800e44b00"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"category":{"_id":"545ecef2d986c40800e44b00","pages":["545ef20436c3370800483479","545ef25003c59f0800bbcff8","545fdd511604950800a0140c","545fdda81604950800a0140e"],"project":"5446bf21ae0040140035fa39","version":"5446bf21ae0040140035fa3c","__v":4,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2014-11-09T02:18:26.328Z","from_sync":false,"order":6,"slug":"zones","title":"Zones"},"is_link":false,"__v":6,"project":"5446bf21ae0040140035fa39","user":"5446beccae0040140035fa37","updates":[],"next":{"pages":[],"description":""},"createdAt":"2014-11-09T04:49:20.571Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"basic_auth":false,"method":"get","results":{"codes":[{"status":200,"language":"json","code":"{\n  \"jurisdictions\": [\n    {\n      \"id\": 1292,\n      \"slug\": \"beach-commercial\",\n      \"name\": \"Beach Commercial\",\n      \"display_name\": \"C-B - Beach Commercial\",\n      \"description\":\n     \"The purpose of this district is to provide for commercial uses which are primarily coastal-dependent in nature and which serve tourists and visitors to the Santa Cruz coastal recreational areas. Also, to provide commodities and services to residents of such areas. The C-B District shall be applied only in areas designated in the General Plan and the Local Coastal Program.\",\n      \"municipal_code_url\": \"http://www.codepublishing.com/ca/santacruz/?santacruz24/SantaCruz2410.html#24.10.1100\",\n      \"code\": \"C-B\",\n      \"overlay\": false\n    },\n    {\n      \"id\": 3453,\n      \"slug\": \"commercial-business\",\n      \"name\": \"Commercial Business\",\n      \"display_name\": \"CBD - Commercial Business\",\n      \"description\":\n      \"This part implements the Land Use Plan, Development Standards and Design Guidelines of the Downtown Recovery Plan. It is intended to refine the Plan in the area of land use and regulations. It supports the purpose of the Plan, in the context of the General Plan, which aims to make downtown the urban center of the city, with the many functions a city center serves. This section of the Zoning Ordinance is also part of the Local Coastal Implementation Plan.\",\n      \"municipal_code_url\": \"http://www.codepublishing.com/ca/santacruz/?santacruz24/SantaCruz2410.html#24.10.2300\",\n      \"code\": \"CBD\",\n      \"overlay\": false\n    }\n  ]\n}","name":""},{"code":"{\n  \"status\":\"404\",\n  \"error\":\"Not Found\"\n}","name":"","status":404,"language":"json"},{"code":"{\n  \"status\": \"500\", \n  \"error\": \"Internal Server Error\"\n}","language":"json","status":500}]},"settings":"","try":false,"auth":"never","params":[{"_id":"546059daf3a81622001a4307","ref":"","in":"query","required":false,"desc":"","default":"required","type":"string","name":"jurisdiction"},{"_id":"545f054303c59f0800bbd011","ref":"","in":"query","required":false,"desc":"integer or valid slug","default":"","type":"string","name":"id"},{"_id":"545f054303c59f0800bbd00f","ref":"","in":"query","required":false,"desc":"","default":"","type":"string","name":"code"},{"_id":"545f054303c59f0800bbd00e","ref":"","in":"query","required":false,"desc":"","default":"","type":"string","name":"name"},{"_id":"545f054303c59f0800bbd00c","ref":"","in":"query","required":false,"desc":"","default":"","type":"string","name":"latitude"},{"_id":"545f054303c59f0800bbd00b","ref":"","in":"query","required":false,"desc":"","default":"","type":"string","name":"longitude"},{"_id":"545fdb5c1604950800a01409","ref":"","in":"query","required":false,"desc":"","default":"","type":"int","name":"radius"},{"_id":"546469365871e90800f50171","ref":"","in":"query","required":false,"desc":"","default":"","type":"boolean","name":"overlay"},{"_id":"546469365871e90800f50170","ref":"","in":"query","required":false,"desc":"","default":"","type":"string","name":"keywords"}],"url":"/zones.json"},"isReference":false,"order":1,"body":"[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"https://zoning.io/api/1.0/zones.json?code=C-B\",\n      \"language\": \"text\"\n    }\n  ]\n}\n[/block]","excerpt":"This endpoint returns a list of zoning districts for the jurisdiction. Optional parameters may be used to filter the results. Additionally, a longitude, latitude, and radius may be used to search for zoning districts within a certain distance of the coordinate. The default format is json. If geojson is requested, the API will return geometry on the returned results.","slug":"zones","type":"endpoint","title":"/zones"}

get/zones

This endpoint returns a list of zoning districts for the jurisdiction. Optional parameters may be used to filter the results. Additionally, a longitude, latitude, and radius may be used to search for zoning districts within a certain distance of the coordinate. The default format is json. If geojson is requested, the API will return geometry on the returned results.

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Query Params

jurisdiction:
stringrequired
id:
string
integer or valid slug
code:
string
name:
string
latitude:
string
longitude:
string
radius:
integer
overlay:
boolean
keywords:
string

Result Format


Documentation

[block:code] { "codes": [ { "code": "https://zoning.io/api/1.0/zones.json?code=C-B", "language": "text" } ] } [/block]

User Information

Try It Out

get
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}