Zoneomics Logo
Submit zoning questions and receive AI responses
POST
https://api.zoneomics.com/v2/ask

Ask API accepts a zoning-related question and conversation context, and returns AI-generated response with relevant zoning information.

Request Data
Request Parameters
api_key
string
required

Your API key

query
string
required

Zoning question that should include full address. Example: 'Are residential or commercial developments permitted at 789 Pine Road, Seattle, WA?'

conversation_id
string

ID to continue previous conversation. Use this to link follow-up questions and preserve context.

Note: The query parameter should contain a clear, natural-language question, including the full address, to ensure accurate AI responses. Example: "Are residential or commercial developments permitted at 789 Pine Road, Seattle, WA?" For follow-up questions about the same location, you do not need to provide the state name or code. Simply ask your question directly, and the conversation context will be maintained automatically. Example: "What are the maximum residential height and floor area limits?"

Response Data
status
boolean

Indicates whether the request was successful or not

data
object

This JSON object contains the data items from the API's response as key and value pairs. Descriptions of these data items are provided below:

Attribute NameDescriptionData typeSample Value
chat-responseAI-generated zoning answer that includes zoning designation, permitted uses, development controls, and a summary tailored to the user's query.String**Location** - County: King, City: Seattle... (Includes zoning designation, permitted uses, development controls, and summary for the specified address)
conversation_titleA human-readable title for the conversation, typically derived from the address or main subject of the zoning question.String789 Pine Road, Seattle, WA
source-urlsA list of reference URLs pointing to the applicable zoning codes or source documents used to generate the response. Users can access these links for additional details.Arrayhttps://staging.zoneomics.com/code/seattle-WA/chapter_12#12.2.6, https://staging.zoneomics.com/code/seattle-WA/chapter_3#3.2.32
conversation-idA unique identifier for the conversation, used to maintain context and continue follow-up questions within the same zoning discussion.Stringconv_3170_e66381d5-1bd0-4518-a8f7-4019259218a3
Use cases

Find all the usecases for the api below

Submit a Zoning Question
Get your zoning question answered by specifying the question in the `query` parameter of the request body.
https://api.zoneomics.com/v2/ask
Request Body:
{ "query": "Are residential or commercial developments permitted at 789 Pine Road, Seattle, WA?", "api_key": "<Your API Key>", "conversation_id": "" }
Response:
Continue a Previous Conversation
Use the conversation_id parameter to link follow-up questions to an existing conversation and preserve context. For example, your initial zoning question is: Are residential or commercial developments permitted at 789 Pine Road, Seattle, WA?
https://api.zoneomics.com/v2/ask
Request Body:
{ "query": "Are residential or commercial developments permitted at 789 Pine Road, Seattle, WA?", "api_key": "<Your API Key>", "conversation_id": "" }
Response:

Now, to ask a follow-up question for the same location (What are the maximum residential height and floor-area limits for this property?), you can use the conversation_id parameter. By passing the initial conversation ID in your API request, you can continue the previous conversation seamlessly.

Request Body:
{ "query": "What are the maximum residential height and floor-area limits for this property?", "api_key": "<Your API Key>", "conversation_id": "conv_3170_a4e6a36c-f1d7-4911-a08e-94805c9e7a66" }
Response:

Ready to build with zoning data?

Talk to our team about API access, data coverage, pricing, and the best Zoneomics API package for your use case.