API Description
https://panel.salestaxapi.org/index.php/api/index/getTaxPrice
API Endpoint
This API is used to get the sales tax amount corresponding to
the location parameter passed in.
the location parameter passed in.
Request Method
GET
Request Parameters
location (Required): Address, string type.
For example: location =311 RT 9W, Glenmont NY 12077
For example: location =311 RT 9W, Glenmont NY 12077
Example of Response Result
When the request is successful, the following response result
is returned
is returned
Error Status Codes
401: Missing parameter: location
402: Failed to get zip4 data
403: Failed to get sales tax record
404: Failed to get final sales tax information
402: Failed to get zip4 data
403: Failed to get sales tax record
404: Failed to get final sales tax information
{
"code":"200",
"msg":"success",
"time":"1691078240",
"data":{
"id":2863812,
"zipcode":"12077",
"plus_4_low":"0000",
"plus_4_high":"0000",
"state_abbrev":"NY",
"county_name":"ALBANY",
"city_name":"GLENMONT",
"state_sales_tax":4,
"county_sales_tax":4,
"city_sales_tax":0,
"total_sales_tax":8,
"state_effective_date":"6\/1\/2005",
"county_effective_date":"1\/1\/2000",
"city_effective_date":""
}
}