Returns minimum wage rates by location (address or coordinates) and effective date
curl --request GET \
--url https://api.symmetry.com/mwf/v2/location \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.symmetry.com/mwf/v2/location"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.symmetry.com/mwf/v2/location', 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.symmetry.com/mwf/v2/location",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.symmetry.com/mwf/v2/location"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.symmetry.com/mwf/v2/location")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.symmetry.com/mwf/v2/location")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"rates": [
{}
],
"jurisdictions": [
{
"name": "Place",
"type": "CITY|CNTY|DAF|JEDD|METRO|MUNI|PORT|SCHL|STATE|TIF|TRANS"
}
],
"normalizedAddress": {
"streetAddress1": "14350 N 87th St",
"streetAddress2": "Ste 310",
"city": "Scottsdale",
"state": "AZ",
"zipCode": "85260-2663"
},
"coordinate": {
"longitude": 33.6158,
"latitude": -111.8946
},
"errorMessages": {}
}Returns minimum wage rates by location (address or coordinates) and effective date
The result contains all hierarchy levels based on address or coordinates (valid coordinates take precedence over the address). The valid date format is yyyy-mm-dd. Optionally, will include jursidictions that the provided location resides in.
GET
/
v2
/
location
Returns minimum wage rates by location (address or coordinates) and effective date
curl --request GET \
--url https://api.symmetry.com/mwf/v2/location \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.symmetry.com/mwf/v2/location"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.symmetry.com/mwf/v2/location', 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.symmetry.com/mwf/v2/location",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.symmetry.com/mwf/v2/location"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.symmetry.com/mwf/v2/location")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.symmetry.com/mwf/v2/location")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"rates": [
{}
],
"jurisdictions": [
{
"name": "Place",
"type": "CITY|CNTY|DAF|JEDD|METRO|MUNI|PORT|SCHL|STATE|TIF|TRANS"
}
],
"normalizedAddress": {
"streetAddress1": "14350 N 87th St",
"streetAddress2": "Ste 310",
"city": "Scottsdale",
"state": "AZ",
"zipCode": "85260-2663"
},
"coordinate": {
"longitude": 33.6158,
"latitude": -111.8946
},
"errorMessages": {}
}Authorizations
Query Parameters
Optional, defaults to false. If true, when address not found the system will use an address that may resemble the input address. In the absence of a suitable suggestion, the system will resort to geocoding based on the ZIP code. NOTE that if set to true, the accuracy of results are uncertain.
Response
200 - application/json
OK
Response object for the minimum wage rates with jurisdiction request.
Was this page helpful?

