Loading
Loading
https://api.apifreaks.com/v1.0/vat/rates/country
1. Open the Authorizations dropdown and Verify your API key.
2. Click Run to see the live response here.
$ pip install requestsimport requests
url = "https://api.apifreaks.com/v1.0/vat/rates/country"
payload = {}
headers = {
'X-apiKey': ''
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
Successful responses return an array of VAT objects. Each item in the array contains the following fields for all supported countries.
| Field | Type | Requirement | Description |
|---|---|---|---|
| country | string | Mandatory | Country identifier returned by the API. |
| state | string | Optional | Returned state or region identifier when the lookup targets sub-national tax data. |
| type | string | Mandatory | Tax type for the requested location, such as vat or none. |
| currency | string | Mandatory | ISO 4217 currency code for the country or state. |
| standard_rate | number | Mandatory | Standard VAT or sales tax rate for the requested location. |
For EU countries and the UK, the response may also include these additional VAT-specific fields.
| Field | Type | Requirement | Description |
|---|---|---|---|
| reduced_rate | Array<number> | Mandatory | Reduced VAT rates when the country defines them. |
| super_reduced_rate | Array<number> | Optional | Optional super-reduced VAT rates for eligible categories. |
| parking_rate | number | Optional | Optional parking rate where the country defines one. |
| categories | Record<string, number> | Mandatory | Category-wise VAT rates such as books, newspapers, and broadcasting. |