The Property Tax API allows you to retrieve property tax rates for different locations in the United States by specifying parameters such as state, county, city, or zip. You can input location details and retrieve corresponding effective property tax rates.
https://api.api-ninjas.com/v1/zipcode
Returns a list of regions and corresponding 25th, 50th (median), and 75th percentile effective property tax rates. The region is mostly zipcode-based, but sometimes a single zipcode can contain multiple regions due to local tax laws.
The maximum number of results returned is 100.
At least one of the following parameters must be set: city
, county
, zip
.
state
optional2-letter abbreviation of the state (case-insensitive).
county
optionalThe name of the county for which property tax data is being requested.
city
optionalFull name of the city to search (case-sensitive).
zip
optionalThe ZIP Code to look up property tax rates.
X-Api-Key
requiredAPI Key associated with your account.
https://api.api-ninjas.com/v1/propertytax?city=Eugene&state=OR
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[
{
"state": "OR",
"county": "Lane",
"city": "Eugene",
"zip": "97401",
"property_tax_25th_percentile": 0.00942916,
"property_tax_50th_percentile": 0.0104363,
"property_tax_75th_percentile": 0.0114832
},
{
"state": "OR",
"county": "Lane",
"city": "Eugene",
"zip": "97402",
"property_tax_25th_percentile": 0.00782806,
"property_tax_50th_percentile": 0.00855799,
"property_tax_75th_percentile": 0.00956312
},
{
"state": "OR",
"county": "Lane",
"city": "Eugene",
"zip": "97403",
"property_tax_25th_percentile": 0.00942755,
"property_tax_50th_percentile": 0.0106412,
"property_tax_75th_percentile": 0.0118866
},
{
"state": "OR",
"county": "Lane",
"city": "Eugene",
"zip": "97404",
"property_tax_25th_percentile": 0.00717529,
"property_tax_50th_percentile": 0.00883678,
"property_tax_75th_percentile": 0.0102749
},
{
"state": "OR",
"county": "Lane",
"city": "Eugene",
"zip": "97405",
"property_tax_25th_percentile": 0.00900753,
"property_tax_50th_percentile": 0.010321,
"property_tax_75th_percentile": 0.0115112
},
{
"state": "OR",
"county": "Lane",
"city": "Eugene",
"zip": "97408",
"property_tax_25th_percentile": 0.00891131,
"property_tax_50th_percentile": 0.0104162,
"property_tax_75th_percentile": 0.0116135
}
]
1
2
3
4
5
6
7
8
9
10
11
import requests
city = 'Eugene'
state = 'OR'
api_url = 'https://api.api-ninjas.com/v1/propertytax?city={}&state={}'.format(city, state)
response = requests.get(api_url, headers={'X-Api-Key': 'YOUR_API_KEY'})
if response.status_code == requests.codes.ok:
print(response.text)
else:
print("Error:", response.status_code, response.text)
If your programming language is not listed in the Code Example above, you can still make API calls by using a HTTP request library written in your programming language and following the above documentation.