Find district
curl --request POST \
--url https://api.aisa.one/apis/v1/seattle-gov/seattle-city-government/find-district \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"lat": 47.6062,
"lon": -122.3321
}
'import requests
url = "https://api.aisa.one/apis/v1/seattle-gov/seattle-city-government/find-district"
payload = {
"lat": 47.6062,
"lon": -122.3321
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({lat: 47.6062, lon: -122.3321})
};
fetch('https://api.aisa.one/apis/v1/seattle-gov/seattle-city-government/find-district', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/seattle-gov/seattle-city-government/find-district",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'lat' => 47.6062,
'lon' => -122.3321
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/seattle-gov/seattle-city-government/find-district"
payload := strings.NewReader("{\n \"lat\": 47.6062,\n \"lon\": -122.3321\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/seattle-gov/seattle-city-government/find-district")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"lat\": 47.6062,\n \"lon\": -122.3321\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/seattle-gov/seattle-city-government/find-district")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"lat\": 47.6062,\n \"lon\": -122.3321\n}"
response = http.request(request)
puts response.read_body{
"at_large": [
{
"email": "AlexisMercedes.Rinck@seattle.gov",
"name": "Alexis Mercedes Rinck",
"phone": "(206) 684-8808",
"photo_url": "https://www.seattle.gov/images/Council/Members/SquareHeadshots/rinck_300.jpg",
"position": 8,
"website": "https://www.seattle.gov/council/rinck"
},
{
"email": "Dionne.Foster@seattle.gov",
"name": "Dionne Foster",
"phone": "(206) 684-8809",
"photo_url": "https://www.seattle.gov/images/Council/Members/Foster/foster_300x300%20.jpg",
"position": 9,
"website": "https://seattle.gov/council/members/dionne-foster"
}
],
"district": {
"area_sqmi": 7.70361902,
"councilmember": {
"email": "Robert.Kettle@seattle.gov",
"name": "Robert Kettle",
"phone": "(206) 684-8807",
"photo_url": "https://www.seattle.gov/images/Council/Members/SquareHeadshots/kettle_300.jpg",
"website": "https://www.seattle.gov/council/kettle"
},
"display_name": "CD - 7",
"district_name": "Pioneer Square to Magnolia",
"number": 7
},
"layer_last_modified": "Thu, 19 Mar 2026 22:07:34 GMT",
"observed_at_ms": 1790276723290,
"query": {
"lat": 47.6062,
"lon": -122.3321
},
"source_urls": [
"https://services.arcgis.com/ZOyb2t4B0UYuYNYH/arcgis/rest/services/Council_District_Member_Info/FeatureServer/0/query?geometry=-122.3321%2C47.6062&geometryType=esriGeometryPoint&inSR=4326&spatialRel=esriSpatialRelIntersects&outFields=*&returnGeometry=false&f=json",
"https://services.arcgis.com/ZOyb2t4B0UYuYNYH/arcgis/rest/services/Seattle_City_Council_Positions/FeatureServer/0/query?where=1%3D1&outFields=*&returnGeometry=false&f=json"
]
}City of Seattle
Find district
Map an address’s coordinates to its council district and representative. Geocoding is not provided; supply lon/lat.
POST
https://api.aisa.one
/
apis
/
v1
/
seattle-gov
/
seattle-city-government
/
find-district
Find district
curl --request POST \
--url https://api.aisa.one/apis/v1/seattle-gov/seattle-city-government/find-district \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"lat": 47.6062,
"lon": -122.3321
}
'import requests
url = "https://api.aisa.one/apis/v1/seattle-gov/seattle-city-government/find-district"
payload = {
"lat": 47.6062,
"lon": -122.3321
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({lat: 47.6062, lon: -122.3321})
};
fetch('https://api.aisa.one/apis/v1/seattle-gov/seattle-city-government/find-district', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/seattle-gov/seattle-city-government/find-district",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'lat' => 47.6062,
'lon' => -122.3321
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/seattle-gov/seattle-city-government/find-district"
payload := strings.NewReader("{\n \"lat\": 47.6062,\n \"lon\": -122.3321\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/seattle-gov/seattle-city-government/find-district")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"lat\": 47.6062,\n \"lon\": -122.3321\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/seattle-gov/seattle-city-government/find-district")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"lat\": 47.6062,\n \"lon\": -122.3321\n}"
response = http.request(request)
puts response.read_body{
"at_large": [
{
"email": "AlexisMercedes.Rinck@seattle.gov",
"name": "Alexis Mercedes Rinck",
"phone": "(206) 684-8808",
"photo_url": "https://www.seattle.gov/images/Council/Members/SquareHeadshots/rinck_300.jpg",
"position": 8,
"website": "https://www.seattle.gov/council/rinck"
},
{
"email": "Dionne.Foster@seattle.gov",
"name": "Dionne Foster",
"phone": "(206) 684-8809",
"photo_url": "https://www.seattle.gov/images/Council/Members/Foster/foster_300x300%20.jpg",
"position": 9,
"website": "https://seattle.gov/council/members/dionne-foster"
}
],
"district": {
"area_sqmi": 7.70361902,
"councilmember": {
"email": "Robert.Kettle@seattle.gov",
"name": "Robert Kettle",
"phone": "(206) 684-8807",
"photo_url": "https://www.seattle.gov/images/Council/Members/SquareHeadshots/kettle_300.jpg",
"website": "https://www.seattle.gov/council/kettle"
},
"display_name": "CD - 7",
"district_name": "Pioneer Square to Magnolia",
"number": 7
},
"layer_last_modified": "Thu, 19 Mar 2026 22:07:34 GMT",
"observed_at_ms": 1790276723290,
"query": {
"lat": 47.6062,
"lon": -122.3321
},
"source_urls": [
"https://services.arcgis.com/ZOyb2t4B0UYuYNYH/arcgis/rest/services/Council_District_Member_Info/FeatureServer/0/query?geometry=-122.3321%2C47.6062&geometryType=esriGeometryPoint&inSR=4326&spatialRel=esriSpatialRelIntersects&outFields=*&returnGeometry=false&f=json",
"https://services.arcgis.com/ZOyb2t4B0UYuYNYH/arcgis/rest/services/Seattle_City_Council_Positions/FeatureServer/0/query?where=1%3D1&outFields=*&returnGeometry=false&f=json"
]
}Request contract
- Method and path: POST /apis/v1/seattle-gov/seattle-city-government/find-district
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/seattle-gov/seattle-city-government/find-district
{
"operationId": "seattle-gov.seattle-city-government.find-district",
"method": "POST",
"path": "/apis/v1/seattle-gov/seattle-city-government/find-district",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"lat": 47.6062,
"lon": -122.3321
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"lat": {
"description": "Latitude, WGS84 decimal degrees (Seattle is about 47.49 to 47.73).\n\nProvider reference: minimum -90; maximum 90.",
"type": "number"
},
"lon": {
"description": "Longitude, WGS84 decimal degrees (Seattle is about -122.4 to -122.2).\n\nProvider reference: minimum -180; maximum 180.",
"type": "number"
}
},
"required": [
"lat",
"lon"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
application/json
Response
Which Seattle City Council district contains a WGS84 point (longitude, latitude), with that district's councilmember contact record and the two at-large positions, from the Seattle City GIS feature services behind maps.seattle.gov/find-your-district. A point outside the seven districts is not_found.
The response contains the tool result directly.
| Documented field | Provider type | Description |
|---|---|---|
at_large | object[] | |
district | object | |
layer_last_modified | string | last-modified header of the district layer response (HTTP date); the GIS contact fields lag the roster. |
observed_at_ms | number | |
query | object | |
source_urls | string[] |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.