State Tax API

API is supplied for educational purposes only.
It isn't intended for general public use and may change or be removed without notice.

Information

This API supports a single endpoint to access data on the sales tax rates for various states. While some effort has been made to ensure the data's accuracy, it is not guaranteed to be accurate or current.

This is a consumption-only API—only the HTTP GET method is available for these resources. Throughout the documentation curly braces are used to indicate values that must be substituted.

State Sales Tax

This returns information on the state tax rate for a given state.

Endpoint

GET /api/statetax?state={state-code}

Example

GET https://teapi.netlify.app/api/statetax?state=OH

{
    "state": "OH",
    "salesTax": 5.75,
    "lastUpdated": "Fri Jan 01 2021"
  }

Response

NameDescriptionType
state The state where this tax rate is applied. string
salesTax The amount of sales tax as a percent. number
lastUpdated The date when the tax information was last updated. string