Translate an address to a location code
curl --request POST \
--url https://ste.symmetry.com/ste-hosted/v2/locationCode \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"LocationCodeRequest": {
"locations": [
{
"locationName": "Work",
"address": {
"streetAddress1": "14350 N 87th St",
"streetAddress2": "Ste 310",
"city": "Scottsdale",
"state": "AZ",
"zipCode": "85260"
}
},
{
"locationName": "Home",
"geoCoordinates": {
"latitude": 38.214751,
"longitude": -85.697537
}
}
],
"verbose": true
}
}
'import requests
url = "https://ste.symmetry.com/ste-hosted/v2/locationCode"
payload = { "LocationCodeRequest": {
"locations": [
{
"locationName": "Work",
"address": {
"streetAddress1": "14350 N 87th St",
"streetAddress2": "Ste 310",
"city": "Scottsdale",
"state": "AZ",
"zipCode": "85260"
}
},
{
"locationName": "Home",
"geoCoordinates": {
"latitude": 38.214751,
"longitude": -85.697537
}
}
],
"verbose": True
} }
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
LocationCodeRequest: {
locations: [
{
locationName: 'Work',
address: {
streetAddress1: '14350 N 87th St',
streetAddress2: 'Ste 310',
city: 'Scottsdale',
state: 'AZ',
zipCode: '85260'
}
},
{
locationName: 'Home',
geoCoordinates: {latitude: 38.214751, longitude: -85.697537}
}
],
verbose: true
}
})
};
fetch('https://ste.symmetry.com/ste-hosted/v2/locationCode', 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://ste.symmetry.com/ste-hosted/v2/locationCode",
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([
'LocationCodeRequest' => [
'locations' => [
[
'locationName' => 'Work',
'address' => [
'streetAddress1' => '14350 N 87th St',
'streetAddress2' => 'Ste 310',
'city' => 'Scottsdale',
'state' => 'AZ',
'zipCode' => '85260'
]
],
[
'locationName' => 'Home',
'geoCoordinates' => [
'latitude' => 38.214751,
'longitude' => -85.697537
]
]
],
'verbose' => true
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"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://ste.symmetry.com/ste-hosted/v2/locationCode"
payload := strings.NewReader("{\n \"LocationCodeRequest\": {\n \"locations\": [\n {\n \"locationName\": \"Work\",\n \"address\": {\n \"streetAddress1\": \"14350 N 87th St\",\n \"streetAddress2\": \"Ste 310\",\n \"city\": \"Scottsdale\",\n \"state\": \"AZ\",\n \"zipCode\": \"85260\"\n }\n },\n {\n \"locationName\": \"Home\",\n \"geoCoordinates\": {\n \"latitude\": 38.214751,\n \"longitude\": -85.697537\n }\n }\n ],\n \"verbose\": true\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
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://ste.symmetry.com/ste-hosted/v2/locationCode")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"LocationCodeRequest\": {\n \"locations\": [\n {\n \"locationName\": \"Work\",\n \"address\": {\n \"streetAddress1\": \"14350 N 87th St\",\n \"streetAddress2\": \"Ste 310\",\n \"city\": \"Scottsdale\",\n \"state\": \"AZ\",\n \"zipCode\": \"85260\"\n }\n },\n {\n \"locationName\": \"Home\",\n \"geoCoordinates\": {\n \"latitude\": 38.214751,\n \"longitude\": -85.697537\n }\n }\n ],\n \"verbose\": true\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://ste.symmetry.com/ste-hosted/v2/locationCode")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"LocationCodeRequest\": {\n \"locations\": [\n {\n \"locationName\": \"Work\",\n \"address\": {\n \"streetAddress1\": \"14350 N 87th St\",\n \"streetAddress2\": \"Ste 310\",\n \"city\": \"Scottsdale\",\n \"state\": \"AZ\",\n \"zipCode\": \"85260\"\n }\n },\n {\n \"locationName\": \"Home\",\n \"geoCoordinates\": {\n \"latitude\": 38.214751,\n \"longitude\": -85.697537\n }\n }\n ],\n \"verbose\": true\n }\n}"
response = http.request(request)
puts response.read_body{
"LocationCodeResponse": {
"transactionStamp": {
"calcDateTime": "2026-03-24T13:32:44Z",
"steVersion": "2026-R1",
"schemaVersion": "v2",
"totalTransactions": 2,
"failedTransactions": 0,
"transactionType": "LocationCode"
},
"errorStatus": {
"errorCode": 0,
"errorMessage": ""
},
"httpStatusCode": 200,
"locations": [
{
"locationName": "Home",
"locationCodeDetails": {
"jurisdictions": [
{
"name": "Jefferson County School District",
"steCode": 2990,
"steCodeType": "SCHL"
},
{
"name": "Jefferson",
"steCode": "111",
"steCodeType": "CNTY"
},
{
"name": "Louisville",
"steCode": "488655",
"steCodeType": "CITY"
}
],
"locationCode": "21-111-488655"
}
},
{
"locationName": "Work",
"locationCodeDetails": {
"jurisdictions": [
{
"name": "Maricopa",
"steCode": "013",
"steCodeType": "CNTY"
}
],
"locationCode": "04-013-0000"
}
}
]
}
}Translate an address to a location code
Determine a location code based on a submitted home or work address. Location codes are used by the Symmetry Tax Engine to identify which state, county, and jurisdiction boundaries contain a given address.
POST
/
v2
/
locationCode
Translate an address to a location code
curl --request POST \
--url https://ste.symmetry.com/ste-hosted/v2/locationCode \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"LocationCodeRequest": {
"locations": [
{
"locationName": "Work",
"address": {
"streetAddress1": "14350 N 87th St",
"streetAddress2": "Ste 310",
"city": "Scottsdale",
"state": "AZ",
"zipCode": "85260"
}
},
{
"locationName": "Home",
"geoCoordinates": {
"latitude": 38.214751,
"longitude": -85.697537
}
}
],
"verbose": true
}
}
'import requests
url = "https://ste.symmetry.com/ste-hosted/v2/locationCode"
payload = { "LocationCodeRequest": {
"locations": [
{
"locationName": "Work",
"address": {
"streetAddress1": "14350 N 87th St",
"streetAddress2": "Ste 310",
"city": "Scottsdale",
"state": "AZ",
"zipCode": "85260"
}
},
{
"locationName": "Home",
"geoCoordinates": {
"latitude": 38.214751,
"longitude": -85.697537
}
}
],
"verbose": True
} }
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
LocationCodeRequest: {
locations: [
{
locationName: 'Work',
address: {
streetAddress1: '14350 N 87th St',
streetAddress2: 'Ste 310',
city: 'Scottsdale',
state: 'AZ',
zipCode: '85260'
}
},
{
locationName: 'Home',
geoCoordinates: {latitude: 38.214751, longitude: -85.697537}
}
],
verbose: true
}
})
};
fetch('https://ste.symmetry.com/ste-hosted/v2/locationCode', 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://ste.symmetry.com/ste-hosted/v2/locationCode",
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([
'LocationCodeRequest' => [
'locations' => [
[
'locationName' => 'Work',
'address' => [
'streetAddress1' => '14350 N 87th St',
'streetAddress2' => 'Ste 310',
'city' => 'Scottsdale',
'state' => 'AZ',
'zipCode' => '85260'
]
],
[
'locationName' => 'Home',
'geoCoordinates' => [
'latitude' => 38.214751,
'longitude' => -85.697537
]
]
],
'verbose' => true
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"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://ste.symmetry.com/ste-hosted/v2/locationCode"
payload := strings.NewReader("{\n \"LocationCodeRequest\": {\n \"locations\": [\n {\n \"locationName\": \"Work\",\n \"address\": {\n \"streetAddress1\": \"14350 N 87th St\",\n \"streetAddress2\": \"Ste 310\",\n \"city\": \"Scottsdale\",\n \"state\": \"AZ\",\n \"zipCode\": \"85260\"\n }\n },\n {\n \"locationName\": \"Home\",\n \"geoCoordinates\": {\n \"latitude\": 38.214751,\n \"longitude\": -85.697537\n }\n }\n ],\n \"verbose\": true\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
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://ste.symmetry.com/ste-hosted/v2/locationCode")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"LocationCodeRequest\": {\n \"locations\": [\n {\n \"locationName\": \"Work\",\n \"address\": {\n \"streetAddress1\": \"14350 N 87th St\",\n \"streetAddress2\": \"Ste 310\",\n \"city\": \"Scottsdale\",\n \"state\": \"AZ\",\n \"zipCode\": \"85260\"\n }\n },\n {\n \"locationName\": \"Home\",\n \"geoCoordinates\": {\n \"latitude\": 38.214751,\n \"longitude\": -85.697537\n }\n }\n ],\n \"verbose\": true\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://ste.symmetry.com/ste-hosted/v2/locationCode")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"LocationCodeRequest\": {\n \"locations\": [\n {\n \"locationName\": \"Work\",\n \"address\": {\n \"streetAddress1\": \"14350 N 87th St\",\n \"streetAddress2\": \"Ste 310\",\n \"city\": \"Scottsdale\",\n \"state\": \"AZ\",\n \"zipCode\": \"85260\"\n }\n },\n {\n \"locationName\": \"Home\",\n \"geoCoordinates\": {\n \"latitude\": 38.214751,\n \"longitude\": -85.697537\n }\n }\n ],\n \"verbose\": true\n }\n}"
response = http.request(request)
puts response.read_body{
"LocationCodeResponse": {
"transactionStamp": {
"calcDateTime": "2026-03-24T13:32:44Z",
"steVersion": "2026-R1",
"schemaVersion": "v2",
"totalTransactions": 2,
"failedTransactions": 0,
"transactionType": "LocationCode"
},
"errorStatus": {
"errorCode": 0,
"errorMessage": ""
},
"httpStatusCode": 200,
"locations": [
{
"locationName": "Home",
"locationCodeDetails": {
"jurisdictions": [
{
"name": "Jefferson County School District",
"steCode": 2990,
"steCodeType": "SCHL"
},
{
"name": "Jefferson",
"steCode": "111",
"steCodeType": "CNTY"
},
{
"name": "Louisville",
"steCode": "488655",
"steCodeType": "CITY"
}
],
"locationCode": "21-111-488655"
}
},
{
"locationName": "Work",
"locationCodeDetails": {
"jurisdictions": [
{
"name": "Maricopa",
"steCode": "013",
"steCodeType": "CNTY"
}
],
"locationCode": "04-013-0000"
}
}
]
}
}Authorizations
API key for authentication. Provide the raw key as the value of the Authorization header (no "Bearer" prefix).
Body
application/jsonapplication/xml
Show child attributes
Show child attributes
Was this page helpful?

