Global Tax Rate Lookup API

API ID 12968

Returns VAT and GST standard, reduced, zero, and exempt rates for 166 countries by country code, region, or side-by-side comparison. Reverse-search by rate value to find every country at a specific rate. Covers EU, Africa, APAC, and Americas.

API 文档

端点

请求
返回所有支持的166个国家的增值税和商品及服务税的标准、降低、零和豁免税率。每个国家包括国家代码、国家名称、货币、税名、标准税率、降低税率数组、零布尔值、豁免布尔值、数字商品税率和备注
Endpoint ID: 25921
GET https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25921/get+all+rates
输入参数

剩余免费测试请求:3 / 3。

此端点不需要任何输入参数。

API 示例响应
JSON
{"Example Response":"No response example available for now."}
获取所有费率 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25921/get+all+rates' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求

Returns VAT and GST rate data for a single country by ISO 3166-1 alpha-2 country code. Input is automatically uppercased. Returns 404 if the country code is not supported.

Endpoint ID: 25922
GET https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25922/get+rate+by+country
输入参数

剩余免费测试请求:3 / 3。

API 示例响应
JSON
{"success":true,"data":{"countryCode":"DE","countryName":"Germany","currency":"EUR","taxName":"MwSt","standard":0.19,"reduced":[0.07],"zero":true,"exempt":true,"digitalGoods":0.19,"notes":null},"meta":{"disclaimer":"Tax rates are indicative only and subject to change. Always verify current rates with official government sources before filing.","cached":false}}
Get Rate by Country — 代码片段

curl --location --request GET 'https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25922/get+rate+by+country&countryCode=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求

Returns VAT and GST rate data for all countries in a specified region. Valid region values are africa, eu, apac, and americas. Returns 404 if the region name is not recognised.

Endpoint ID: 25923
GET https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25923/get+rates+by+region
输入参数

剩余免费测试请求:3 / 3。

API 示例响应
JSON
{"success":true,"data":[{"countryCode":"AT","countryName":"Austria","currency":"EUR","taxName":"MwSt","standard":0.2,"reduced":[0.1,0.13],"zero":true,"exempt":true,"digitalGoods":0.2,"notes":null},{"countryCode":"BE","countryName":"Belgium","currency":"EUR","taxName":"TVA/BTW","standard":0.21,"reduced":[0.06,0.12],"zero":true,"exempt":true,"digitalGoods":0.21,"notes":null},{"countryCode":"BG","countryName":"Bulgaria","currency":"BGN","taxName":"ДДС","standard":0.2,"reduced":[0.09],"zero":true,"exempt":true,"digitalGoods":0.2,"notes":null},{"countryCode":"CY","countryName":"Cyprus","currency":"EUR","taxName":"ΦΠΑ","standard":0.19,"reduced":[0.05,0.09],"zero":true,"exempt":true,"digitalGoods":0.19,"notes":null},{"countryCode":"CZ","countryName":"Czech Republic","currency":"CZK","taxName":"DPH","standard":0.21,"reduced":[0.12],"zero":true,"exempt":true,"digitalGoods":0.21,"notes":null},{"countryCode":"DE","countryName":"Germany","currency":"EUR","taxName":"MwSt","standard":0.19,"reduced":[0.07],"zero":true,"exempt":true,"digitalGoods":0.19,"notes":null},{"countryCode":"DK","countryName":"Denmark","currency":"DKK","taxName":"Moms","standard":0.25,"reduced":[],"zero":true,"exempt":true,"digitalGoods":0.25,"notes":null},{"countryCode":"EE","countryName":"Estonia","currency":"EUR","taxName":"Käibemaks","standard":0.22,"reduced":[0.09],"zero":true,"exempt":true,"digitalGoods":0.22,"notes":"Rate increased from 20% to 22% on 1 January 2024"},{"countryCode":"ES","countryName":"Spain","currency":"EUR","taxName":"IVA","standard":0.21,"reduced":[0.1],"zero":true,"exempt":true,"digitalGoods":0.21,"notes":null},{"countryCode":"FI","countryName":"Finland","currency":"EUR","taxName":"ALV","standard":0.255,"reduced":[0.1,0.14],"zero":true,"exempt":true,"digitalGoods":0.255,"notes":"Standard rate increased from 24% to 25.5% on 1 September 2024"},{"countryCode":"FR","countryName":"France","currency":"EUR","taxName":"TVA","standard":0.2,"reduced":[0.055,0.1],"zero":true,"exempt":true,"digitalGoods":0.2,"notes":null},{"countryCode":"GR","countryName":"Greece","currency":"EUR","taxName":"ΦΠΑ","standard":0.24,"reduced":[0.06,0.13],"zero":true,"exempt":true,"digitalGoods":0.24,"notes":null},{"countryCode":"HR","countryName":"Croatia","currency":"EUR","taxName":"PDV","standard":0.25,"reduced":[0.05,0.13],"zero":true,"exempt":true,"digitalGoods":0.25,"notes":null},{"countryCode":"HU","countryName":"Hungary","currency":"HUF","taxName":"ÁFA","standard":0.27,"reduced":[0.05,0.18],"zero":true,"exempt":true,"digitalGoods":0.27,"notes":"Highest standard VAT rate in the EU"},{"countryCode":"IE","countryName":"Ireland","currency":"EUR","taxName":"VAT","standard":0.23,"reduced":[0.09,0.135],"zero":true,"exempt":true,"digitalGoods":0.23,"notes":null},{"countryCode":"IT","countryName":"Italy","currency":"EUR","taxName":"IVA","standard":0.22,"reduced":[0.05,0.1],"zero":true,"exempt":true,"digitalGoods":0.22,"notes":null},{"countryCode":"LT","countryName":"Lithuania","currency":"EUR","taxName":"PVM","standard":0.21,"reduced":[0.05,0.09],"zero":true,"exempt":true,"digitalGoods":0.21,"notes":null},{"countryCode":"LU","countryName":"Luxembourg","currency":"EUR","taxName":"TVA","standard":0.17,"reduced":[0.08],"zero":true,"exempt":true,"digitalGoods":0.17,"notes":"Lowest standard VAT rate in the EU"},{"countryCode":"LV","countryName":"Latvia","currency":"EUR","taxName":"PVN","standard":0.21,"reduced":[0.12],"zero":true,"exempt":true,"digitalGoods":0.21,"notes":null},{"countryCode":"MT","countryName":"Malta","currency":"EUR","taxName":"VAT","standard":0.18,"reduced":[0.05,0.07],"zero":true,"exempt":true,"digitalGoods":0.18,"notes":null},{"countryCode":"NL","countryName":"Netherlands","currency":"EUR","taxName":"BTW","standard":0.21,"reduced":[0.09],"zero":true,"exempt":true,"digitalGoods":0.21,"notes":null},{"countryCode":"PL","countryName":"Poland","currency":"PLN","taxName":"VAT","standard":0.23,"reduced":[0.05,0.08],"zero":true,"exempt":true,"digitalGoods":0.23,"notes":null},{"countryCode":"PT","countryName":"Portugal","currency":"EUR","taxName":"IVA","standard":0.23,"reduced":[0.06,0.13],"zero":true,"exempt":true,"digitalGoods":0.23,"notes":null},{"countryCode":"RO","countryName":"Romania","currency":"RON","taxName":"TVA","standard":0.19,"reduced":[0.05,0.09],"zero":true,"exempt":true,"digitalGoods":0.19,"notes":null},{"countryCode":"SE","countryName":"Sweden","currency":"SEK","taxName":"Moms","standard":0.25,"reduced":[0.06,0.12],"zero":true,"exempt":true,"digitalGoods":0.25,"notes":null},{"countryCode":"SI","countryName":"Slovenia","currency":"EUR","taxName":"DDV","standard":0.22,"reduced":[0.05,0.095],"zero":true,"exempt":true,"digitalGoods":0.22,"notes":null},{"countryCode":"SK","countryName":"Slovakia","currency":"EUR","taxName":"DPH","standard":0.23,"reduced":[0.1],"zero":true,"exempt":true,"digitalGoods":0.23,"notes":"Standard rate increased from 20% to 23% on 1 January 2025"}],"meta":{"disclaimer":"Tax rates are indicative only and subject to change. Always verify current rates with official government sources before filing.","cached":false,"count":27,"region":"eu"}}
Get Rates by Region — 代码片段

curl --location --request GET 'https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25923/get+rates+by+region®ion=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求

Returns side-by-side VAT and GST rate data for 2 to 10 countries in a single call. Pass a comma-separated list of ISO alpha-2 country codes. Returns 400 if fewer than 2 or more than 10 codes are provided.

Endpoint ID: 25924
GET https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25924/compare+rates
输入参数

Compare Rates — 端点功能

对象 描述
countries 必需 Comma-separated ISO alpha-2 country codes. Minimum 2, maximum 10

剩余免费测试请求:3 / 3。


输入参数

countries
API 示例响应
JSON
{"success":true,"data":[{"countryCode":"GB","countryName":"United Kingdom","currency":"GBP","taxName":"VAT","standard":0.2,"reduced":[0.05],"zero":true,"exempt":true,"digitalGoods":0.2,"notes":null},{"countryCode":"DE","countryName":"Germany","currency":"EUR","taxName":"MwSt","standard":0.19,"reduced":[0.07],"zero":true,"exempt":true,"digitalGoods":0.19,"notes":null},{"countryCode":"ZA","countryName":"South Africa","currency":"ZAR","taxName":"VAT","standard":0.15,"reduced":[],"zero":true,"exempt":true,"digitalGoods":0.15,"notes":null},{"countryCode":"AU","countryName":"Australia","currency":"AUD","taxName":"GST","standard":0.1,"reduced":[],"zero":true,"exempt":true,"digitalGoods":0.1,"notes":null}],"meta":{"disclaimer":"Tax rates are indicative only and subject to change. Always verify current rates with official government sources before filing.","cached":false,"count":4,"notFound":[]}}
Compare Rates — 代码片段

curl --location --request GET 'https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25924/compare+rates?countries=GB,DE,ZA,AU' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求

Reverse lookup that returns all countries matching a specific rate value. The rate parameter is required and must be a decimal such as 0.20 for 20 percent. The type parameter is optional and filters by standard, reduced, or digitalGoods rate. Defaults to standard if type is not provided.

Endpoint ID: 25925
GET https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25925/search+rates+by+value
输入参数

Search Rates by Value — 端点功能

对象 描述
rate 必需 Rate value as a decimal e.g. 0.20 for 20 percent
type 可选 Rate type to search. Valid values: standard, reduced, digitalGoods

剩余免费测试请求:3 / 3。


输入参数

rate
type
API 示例响应
JSON
{"success":true,"data":[{"countryCode":"AT","countryName":"Austria","currency":"EUR","taxName":"MwSt","standard":0.2,"reduced":[0.1,0.13],"zero":true,"exempt":true,"digitalGoods":0.2,"notes":null},{"countryCode":"BG","countryName":"Bulgaria","currency":"BGN","taxName":"ДДС","standard":0.2,"reduced":[0.09],"zero":true,"exempt":true,"digitalGoods":0.2,"notes":null},{"countryCode":"FR","countryName":"France","currency":"EUR","taxName":"TVA","standard":0.2,"reduced":[0.055,0.1],"zero":true,"exempt":true,"digitalGoods":0.2,"notes":null},{"countryCode":"GB","countryName":"United Kingdom","currency":"GBP","taxName":"VAT","standard":0.2,"reduced":[0.05],"zero":true,"exempt":true,"digitalGoods":0.2,"notes":null},{"countryCode":"AL","countryName":"Albania","currency":"ALL","taxName":"TVSH","standard":0.2,"reduced":[],"zero":false,"exempt":true,"digitalGoods":0.2,"notes":null},{"countryCode":"RS","countryName":"Serbia","currency":"RSD","taxName":"PDV","standard":0.2,"reduced":[0.1],"zero":true,"exempt":true,"digitalGoods":0.2,"notes":null},{"countryCode":"MD","countryName":"Moldova","currency":"MDL","taxName":"TVA","standard":0.2,"reduced":[0.08,0.12],"zero":true,"exempt":true,"digitalGoods":0.2,"notes":null},{"countryCode":"UA","countryName":"Ukraine","currency":"UAH","taxName":"ПДВ","standard":0.2,"reduced":[],"zero":true,"exempt":true,"digitalGoods":0.2,"notes":null},{"countryCode":"RU","countryName":"Russia","currency":"RUB","taxName":"НДС","standard":0.2,"reduced":[0.1],"zero":true,"exempt":true,"digitalGoods":0.2,"notes":null},{"countryCode":"BY","countryName":"Belarus","currency":"BYR","taxName":"НДС","standard":0.2,"reduced":[0.1],"zero":true,"exempt":true,"digitalGoods":0.2,"notes":null},{"countryCode":"TR","countryName":"Turkey","currency":"TRY","taxName":"KDV","standard":0.2,"reduced":[0.1],"zero":true,"exempt":true,"digitalGoods":0.2,"notes":"Standard rate increased from 18% to 20% in July 2023"},{"countryCode":"AM","countryName":"Armenia","currency":"AMD","taxName":"ԱԱՀ","standard":0.2,"reduced":[],"zero":true,"exempt":true,"digitalGoods":0.2,"notes":null},{"countryCode":"MA","countryName":"Morocco","currency":"MAD","taxName":"TVA","standard":0.2,"reduced":[0.07,0.1,0.14],"zero":true,"exempt":true,"digitalGoods":0.2,"notes":null},{"countryCode":"MG","countryName":"Madagascar","currency":"MGA","taxName":"TVA","standard":0.2,"reduced":[],"zero":true,"exempt":true,"digitalGoods":0.2,"notes":null}],"meta":{"disclaimer":"Tax rates are indicative only and subject to change. Always verify current rates with official government sources before filing.","cached":false,"count":14,"searchedRate":0.2,"rateType":"standard"}}
Search Rates by Value — 代码片段

curl --location --request GET 'https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25925/search+rates+by+value?rate=0.2&type=standard' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求

Returns a lightweight list of all 166 supported countries with countryCode, countryName, currency, and taxName fields only. No rate data is included in this response.

Endpoint ID: 25926
GET https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25926/list+countries
输入参数

剩余免费测试请求:3 / 3。

此端点不需要任何输入参数。

API 示例响应
JSON
{"Example Response":"No response example available for now."}
List Countries — 代码片段

curl --location --request GET 'https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25926/list+countries' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求

Calculates VAT or GST for a single item. Direction add takes a net exclusive price and returns the gross inclusive price and tax amount. Direction remove takes a gross inclusive price and returns the net exclusive price and tax amount. All monetary outputs are rounded to 2 decimal places.

Endpoint ID: 25927
POST https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25927/calculate+vat+gst+single+item
输入参数

Calculate VAT GST Single Item — 端点功能

对象 描述
请求体 必需 Json

剩余免费测试请求:3 / 3。


输入参数

API 示例响应
JSON
{"success":true,"data":{"countryCode":"GB","taxName":"VAT","rateType":"standard","rate":0.2,"direction":"add","inputAmount":100,"taxAmount":20,"outputAmount":120},"meta":{"disclaimer":"Tax rates are indicative only and subject to change. Always verify current rates with official government sources before filing.","cached":false}}
Calculate VAT GST Single Item — 代码片段

curl --location --request POST 'https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25927/calculate+vat+gst+single+item' --header 'Authorization: Bearer YOUR_API_KEY' 

--data-raw '{
  "countryCode": "GB",
  "amount": 100.00,
  "rateType": "standard",
  "direction": "add"
}'

    
请求

Calculates VAT or GST for up to 20 items in a single request. All items are validated before any are processed. If any item is invalid a 400 is returned with per-item errors covering all failures at once. Returns 400 if more than 20 items are submitted.

Endpoint ID: 25928
POST https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25928/calculate+vat+gst+batch
输入参数

Calculate VAT GST Batch — 端点功能

对象 描述
请求体 必需 Json

剩余免费测试请求:3 / 3。


输入参数

API 示例响应
JSON
{"success":true,"data":[{"countryCode":"GB","taxName":"VAT","rateType":"standard","rate":0.2,"direction":"add","inputAmount":100,"taxAmount":20,"outputAmount":120},{"countryCode":"DE","taxName":"MwSt","rateType":"reduced","rate":0.07,"direction":"add","inputAmount":50,"taxAmount":3.5,"outputAmount":53.5},{"countryCode":"AU","taxName":"GST","rateType":"standard","rate":0.1,"direction":"remove","inputAmount":200,"taxAmount":18.18,"outputAmount":181.82}],"meta":{"disclaimer":"Tax rates are indicative only and subject to change. Always verify current rates with official government sources before filing.","cached":false,"count":3}}
Calculate VAT GST Batch — 代码片段

curl --location --request POST 'https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25928/calculate+vat+gst+batch' --header 'Authorization: Bearer YOUR_API_KEY' 

--data-raw '{
  "items": [
    { "countryCode": "GB", "amount": 100.00, "rateType": "standard", "direction": "add" },
    { "countryCode": "DE", "amount": 50.00, "rateType": "reduced", "direction": "add" },
    { "countryCode": "AU", "amount": 200.00, "rateType": "standard", "direction": "remove" }
  ]
}'

    
请求

Calculates VAT or GST for a multi-line invoice with mixed rate types and quantities. Returns per-line tax breakdown including description, quantity, unitAmount, rate, lineTaxAmount, and lineTotal. Also returns invoiceSummary with subtotal, totalTax, and grandTotal. Grand total is guaranteed to equal the exact sum of all line totals.

Endpoint ID: 25929
POST https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25929/calculate+vat+gst+invoice
输入参数

Calculate VAT GST Invoice — 端点功能

对象 描述
请求体 必需 Json

剩余免费测试请求:3 / 3。


输入参数

API 示例响应
JSON
{"success":true,"data":{"countryCode":"DE","taxName":"MwSt","direction":"add","lineItems":[{"description":"SaaS subscription","quantity":1,"unitAmount":99,"rateType":"standard","rate":0.19,"lineTaxAmount":18.81,"lineTotal":117.81},{"description":"Setup fee","quantity":1,"unitAmount":150,"rateType":"standard","rate":0.19,"lineTaxAmount":28.5,"lineTotal":178.5},{"description":"Export service","quantity":2,"unitAmount":50,"rateType":"zero","rate":0,"lineTaxAmount":0,"lineTotal":100}],"invoiceSummary":{"subtotal":349,"totalTax":47.31,"grandTotal":396.31}},"meta":{"disclaimer":"Tax rates are indicative only and subject to change. Always verify current rates with official government sources before filing.","cached":false}}
Calculate VAT GST Invoice — 代码片段

curl --location --request POST 'https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25929/calculate+vat+gst+invoice' --header 'Authorization: Bearer YOUR_API_KEY' 

--data-raw '{
  "countryCode": "DE",
  "direction": "add",
  "items": [
    { "description": "SaaS subscription", "amount": 99.00, "rateType": "standard", "quantity": 1 },
    { "description": "Setup fee", "amount": 150.00, "rateType": "standard", "quantity": 1 },
    { "description": "Export service", "amount": 50.00, "rateType": "zero", "quantity": 2 }
  ]
}'

    
请求

Returns the VAT or GST rate applicable to digital services and SaaS products sold into a country under OSS, MOSS, or local digital services rules. Includes a differsFromStandard flag which is true when the digital goods rate differs from the standard rate. Returns 404 if no digital goods rate is defined.

Endpoint ID: 25930
GET https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25930/get+digital+goods+rate
输入参数

剩余免费测试请求:3 / 3。

API 示例响应
JSON
{"success":true,"data":{"countryCode":"GB","countryName":"United Kingdom","taxName":"VAT","digitalGoodsRate":0.2,"standardRate":0.2,"differsFromStandard":false,"notes":null},"meta":{"disclaimer":"Tax rates are indicative only and subject to change. Always verify current rates with official government sources before filing.","cached":false}}
Get Digital Goods Rate — 代码片段

curl --location --request GET 'https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25930/get+digital+goods+rate&countryCode=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求

Returns digital goods VAT rates for all 27 EU member states in a single call sorted by country code. Includes an ossNote in meta explaining the EU One Stop Shop scheme and the 10000 euro annual cross-border threshold for digital services.

Endpoint ID: 25931
GET https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25931/eu+oss+digital+goods+rates
输入参数

剩余免费测试请求:3 / 3。

此端点不需要任何输入参数。

API 示例响应
JSON
{"success":true,"data":[{"countryCode":"AT","countryName":"Austria","taxName":"MwSt","digitalGoodsRate":0.2,"standardRate":0.2},{"countryCode":"BE","countryName":"Belgium","taxName":"TVA/BTW","digitalGoodsRate":0.21,"standardRate":0.21},{"countryCode":"BG","countryName":"Bulgaria","taxName":"ДДС","digitalGoodsRate":0.2,"standardRate":0.2},{"countryCode":"CY","countryName":"Cyprus","taxName":"ΦΠΑ","digitalGoodsRate":0.19,"standardRate":0.19},{"countryCode":"CZ","countryName":"Czech Republic","taxName":"DPH","digitalGoodsRate":0.21,"standardRate":0.21},{"countryCode":"DE","countryName":"Germany","taxName":"MwSt","digitalGoodsRate":0.19,"standardRate":0.19},{"countryCode":"DK","countryName":"Denmark","taxName":"Moms","digitalGoodsRate":0.25,"standardRate":0.25},{"countryCode":"EE","countryName":"Estonia","taxName":"Käibemaks","digitalGoodsRate":0.22,"standardRate":0.22},{"countryCode":"ES","countryName":"Spain","taxName":"IVA","digitalGoodsRate":0.21,"standardRate":0.21},{"countryCode":"FI","countryName":"Finland","taxName":"ALV","digitalGoodsRate":0.255,"standardRate":0.255},{"countryCode":"FR","countryName":"France","taxName":"TVA","digitalGoodsRate":0.2,"standardRate":0.2},{"countryCode":"GR","countryName":"Greece","taxName":"ΦΠΑ","digitalGoodsRate":0.24,"standardRate":0.24},{"countryCode":"HR","countryName":"Croatia","taxName":"PDV","digitalGoodsRate":0.25,"standardRate":0.25},{"countryCode":"HU","countryName":"Hungary","taxName":"ÁFA","digitalGoodsRate":0.27,"standardRate":0.27},{"countryCode":"IE","countryName":"Ireland","taxName":"VAT","digitalGoodsRate":0.23,"standardRate":0.23},{"countryCode":"IT","countryName":"Italy","taxName":"IVA","digitalGoodsRate":0.22,"standardRate":0.22},{"countryCode":"LT","countryName":"Lithuania","taxName":"PVM","digitalGoodsRate":0.21,"standardRate":0.21},{"countryCode":"LU","countryName":"Luxembourg","taxName":"TVA","digitalGoodsRate":0.17,"standardRate":0.17},{"countryCode":"LV","countryName":"Latvia","taxName":"PVN","digitalGoodsRate":0.21,"standardRate":0.21},{"countryCode":"MT","countryName":"Malta","taxName":"VAT","digitalGoodsRate":0.18,"standardRate":0.18},{"countryCode":"NL","countryName":"Netherlands","taxName":"BTW","digitalGoodsRate":0.21,"standardRate":0.21},{"countryCode":"PL","countryName":"Poland","taxName":"VAT","digitalGoodsRate":0.23,"standardRate":0.23},{"countryCode":"PT","countryName":"Portugal","taxName":"IVA","digitalGoodsRate":0.23,"standardRate":0.23},{"countryCode":"RO","countryName":"Romania","taxName":"TVA","digitalGoodsRate":0.19,"standardRate":0.19},{"countryCode":"SE","countryName":"Sweden","taxName":"Moms","digitalGoodsRate":0.25,"standardRate":0.25},{"countryCode":"SI","countryName":"Slovenia","taxName":"DDV","digitalGoodsRate":0.22,"standardRate":0.22},{"countryCode":"SK","countryName":"Slovakia","taxName":"DPH","digitalGoodsRate":0.23,"standardRate":0.23}],"meta":{"disclaimer":"Tax rates are indicative only and subject to change. Always verify current rates with official government sources before filing.","cached":false,"count":27,"ossNote":"EU One Stop Shop (OSS): when annual cross-border B2C digital sales to EU consumers exceed €10,000 combined across all EU member states, non-EU sellers must collect VAT at the rate of each consumer's country, or register for the OSS scheme to file a single quarterly return covering all EU sales. The €10,000 threshold is calculated on total EU-wide cross-border sales, not per country. Below this threshold, sellers may apply their home-country VAT rate. Register via the European Commission Taxation and Customs Union portal."}}
EU OSS Digital Goods Rates — 代码片段

curl --location --request GET 'https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25931/eu+oss+digital+goods+rates' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求

Returns the VAT or GST registration threshold for domestic and foreign sellers in a country. Includes domesticThreshold, foreignThreshold, currency, thresholdNote, simplifiedScheme boolean, and simplifiedSchemeNote. Returns 404 if no threshold data is available for the country.

Endpoint ID: 25932
GET https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25932/get+registration+threshold
输入参数

剩余免费测试请求:3 / 3。

API 示例响应
JSON
{"success":true,"data":{"countryCode":"DE","countryName":"Germany","currency":"EUR","domesticThreshold":25000,"foreignThreshold":10000,"thresholdNote":"Kleinunternehmerregelung (small business scheme): threshold raised from €22,000 to €25,000 on 1 January 2025 per EU SME Directive. Foreign EU sellers: €10,000 EU OSS threshold.","simplifiedScheme":true,"simplifiedSchemeNote":"EU One Stop Shop (OSS) available for cross-border EU B2C sales."},"meta":{"disclaimer":"Tax rates are indicative only and subject to change. Always verify current rates with official government sources before filing.","thresholdNote":"Registration thresholds are subject to change. Always verify the current threshold with the relevant national tax authority before advising clients or making registration decisions.","cached":false}}
Get Registration Threshold — 代码片段

curl --location --request GET 'https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25932/get+registration+threshold&countryCode=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求

Returns VAT registration thresholds for all 27 EU member states in a single call sorted by country code. Each entry includes domesticThreshold, foreignThreshold, currency, simplifiedScheme boolean, and simplifiedSchemeNote.

Endpoint ID: 25933
GET https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25933/get+eu+registration+thresholds
输入参数

剩余免费测试请求:3 / 3。

此端点不需要任何输入参数。

API 示例响应
JSON
{"Example Response":"No response example available for now."}
Get EU Registration Thresholds — 代码片段

curl --location --request GET 'https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25933/get+eu+registration+thresholds' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求

Returns the VAT or GST rate that was in effect on January 1st of the specified year. Resolves to the most recent history entry on or before that date. Returns 400 if the year is not a valid 4-digit number between 1950 and the current year. Returns 404 if no data exists for that country before the requested year.

Endpoint ID: 25934
GET https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25934/get+rate+for+specific+year
输入参数

剩余免费测试请求:3 / 3。

API 示例响应
JSON
{"success":true,"data":{"countryCode":"DE","countryName":"Germany","year":2020,"effectiveDate":"2007-01-01","standard":0.19,"standardPct":19,"reduced":[0.07],"reducedPct":[7],"notes":"Standard rate increased from 16% to 19% to consolidate the federal budget, partially funding labour market reforms."},"meta":{"disclaimer":"Tax rates are indicative only and subject to change. Always verify current rates with official government sources before filing.","cached":false}}
Get Rate for Specific Year — 代码片段

curl --location --request GET 'https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25934/get+rate+for+specific+year&countryCode=Required&/=Required&year=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求

Returns locale formatting rules for a country including currencySymbol, currencyCode, decimalSeparator, thousandsSeparator, vatNumberLabel, vatNumberFormat as a regex string, vatNumberExample, and a formattedExample string showing how 1234.56 displays in that locale such as 1.234,56 for Germany or R1 234.56 for South Africa.

Endpoint ID: 25935
GET https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25935/get+locale+formatting
输入参数

剩余免费测试请求:3 / 3。

API 示例响应
JSON
{"success":true,"data":{"countryCode":"DE","countryName":"Germany","currencySymbol":"€","currencyCode":"EUR","decimalSeparator":",","thousandsSeparator":".","formattedExample":"€1.234,56","vatNumberLabel":"USt-IdNr.","vatNumberFormat":"DE[0-9]{9}","vatNumberExample":"DE123456789"},"meta":{"disclaimer":"Tax rates are indicative only and subject to change. Always verify current rates with official government sources before filing.","cached":false}}
Get Locale Formatting — 代码片段

curl --location --request GET 'https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25935/get+locale+formatting&countryCode=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求

Returns API status, uptime in seconds, version, countryCount loaded from config, endpointCount, and configLastUpdated date. Use this endpoint to verify the API is running and to confirm the current country count and config version.

Endpoint ID: 25936
GET https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25936/health+check
输入参数

剩余免费测试请求:3 / 3。

此端点不需要任何输入参数。

API 示例响应
JSON
{"status":"ok","uptime":321629.443241553,"version":"1.0.0","countryCount":166,"endpointCount":18,"configLastUpdated":"2026-06-16"}
Health Check — 代码片段

curl --location --request GET 'https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25936/health+check' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求

Returns the full VAT or GST rate change history for a country sorted newest first. Each entry includes effectiveDate, standard rate, reduced rates array, and notes explaining the reason for the change. Returns 404 if no history is available for the country.

Endpoint ID: 25937
GET https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25937/get+rate+history
输入参数

剩余免费测试请求:3 / 3。

API 示例响应
JSON
{"success":true,"data":{"countryCode":"GB","countryName":"United Kingdom","count":5,"entries":[{"effectiveDate":"2011-01-04","standard":0.2,"standardPct":20,"reduced":[0.05],"reducedPct":[5],"notes":"Standard rate increased from 17.5% to 20% following the 2010 emergency budget to reduce the UK fiscal deficit."},{"effectiveDate":"2010-01-01","standard":0.175,"standardPct":17.5,"reduced":[0.05],"reducedPct":[5],"notes":"Rate restored to 17.5% after the temporary reduction to 15% that was applied as economic stimulus during the 2008 global financial crisis."},{"effectiveDate":"2008-12-01","standard":0.15,"standardPct":15,"reduced":[0.05],"reducedPct":[5],"notes":"Temporary reduction from 17.5% to 15% implemented as a fiscal stimulus measure during the global financial crisis. Applied for 13 months."},{"effectiveDate":"1991-04-01","standard":0.175,"standardPct":17.5,"reduced":[],"reducedPct":[],"notes":"Standard rate increased from 15% to 17.5%. The distinct reduced rate structure used today was not yet in place in its current form."},{"effectiveDate":"1979-06-18","standard":0.15,"standardPct":15,"reduced":[],"reducedPct":[],"notes":"Rate increased from 8% (plus a higher rate of 12.5%) to a unified 15% following the Conservative government budget."}]},"meta":{"disclaimer":"Tax rates are indicative only and subject to change. Always verify current rates with official government sources before filing.","cached":false}}
Get Rate History — 代码片段

curl --location --request GET 'https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25937/get+rate+history&countryCode=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API 访问密钥和身份验证

注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 Global Tax Rate Lookup API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。

标头
标头 描述
授权 必需 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。

无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。

(年度计费可节省 2 个月 🎉)

🚀 企业版套餐

起价
$ 10,000/年


  • 自定义数量
  • 自定义速率限制
  • 专业客户支持
  • 实时 API 监控

概览

Returns VAT and GST rates for 166 countries with three calculator modes, EU OSS digital goods rules, registration thresholds, historical rate data, and locale-aware formatting.

Six modules, 18 endpoints. Rates covers full country lookup, region filtering for EU, Africa, APAC, and Americas, side-by-side country comparison, and reverse rate search. Calculator supports single item, batch up to 20 items, and multi-line invoice with mixed rate types returning per-line breakdown, subtotal, total tax, and grand total. Digital Goods returns the SaaS and digital services rate per country plus a single-call EU OSS summary for all 27 member states. Thresholds covers registration thresholds for domestic and foreign sellers across 38 countries including all EU member states. History resolves the rate in effect for any specific past year, useful for backdated invoices and audits. Formats returns currency symbol, decimal separator, thousands separator, VAT number format, and a pre-formatted display string for all 166 countries.

Africa region coverage includes 46 countries: ZA, NG, KE, EG, GH, ET, TZ, UG, RW, MU, ZM, ZW, CI, SN, CM, and more.

All rates are stored as decimals — 0.20 for 20%. Supported regions are africa, eu, apac, and americas. Rate types are standard, reduced, and zero. Calculator direction add takes a net price and applies VAT, direction remove strips VAT from a gross price.

Rates are maintained in static config with no external calls at runtime. A GitHub Action runs annually, fetches current rates from authoritative sources, and opens a pull request for review before any change is deployed. Every response includes a disclaimer advising subscribers to verify rates with official government sources before filing.

Global Tax Rate Lookup API FAQs

Rates are updated annually. A scheduled process runs each year, fetches current rates from authoritative sources including the OECD and national revenue services, and applies verified changes to the dataset. The disclaimer included in every response advises subscribers to verify rates with official government sources before filing, as rates can change between update cycles.

Direction controls which way the calculation runs. Add takes a net price that does not include tax and returns the gross price with tax applied — for example, a net price of 100 at 20 percent VAT returns an output of 120 with a tax amount of 20. Remove takes a gross price that already includes tax and strips it out — for example, a gross price of 120 at 20 percent VAT returns a net output of 100 with a tax amount of 20.

The US has no federal VAT or GST system. The entry exists with a standard rate of 0 and a notes field explaining that state-level sales tax applies, which varies by state and product category. This prevents a 404 error on US lookups while accurately representing the US tax system.

The digitalGoods rate is the VAT or GST rate applicable to SaaS products and digital services sold into a country. For most countries it matches the standard rate. Notable exceptions include China, which applies 6 percent VAT to digital services versus 13 percent standard. The GET /digital-goods/:countryCode endpoint includes a differsFromStandard boolean flag to make this easy to detect programmatically.

The GET /digital-goods/eu/oss endpoint returns digital goods VAT rates for all 27 EU member states in a single call. It is designed for SaaS founders and digital product businesses selling into the EU who need to build a VAT rate matrix for EU customers. Under EU One Stop Shop rules, businesses exceeding 10,000 euros in annual cross-border digital sales must charge VAT at the rate of the customer's country. The endpoint includes an ossNote in meta explaining the threshold and linking to the official EU OSS information page.

The batch endpoint accepts up to 20 items per request. All items are validated before any are processed. If one or more items are invalid the API returns a 400 with a per-item errors array listing the itemIndex, error code, and message for every failed item at once. No calculations are returned for any item until all items pass validation.

Yes. Each threshold object includes a currency field indicating which currency the threshold amounts are denominated in. EU thresholds are in EUR, UK thresholds are in GBP, and each country uses its own local currency. Threshold amounts should not be compared directly across countries without currency conversion.

FormattedExample is a pre-formatted string showing how the value 1234.56 would display in that country's locale using the country's own currency symbol, decimal separator, and thousands separator. For example Germany returns 1.234,56 with the euro symbol, South Africa returns R1 234.56, and Switzerland returns CHF1'234.56 using an apostrophe as the thousands separator. This field is designed to be used directly in invoice generators and checkout UIs without requiring any additional locale logic.

Each endpoint returns specific VAT and GST rate data, including standard, reduced, zero, and exempt rates for various countries. For example, the GET Get Rate by Country endpoint returns detailed information such as country code, name, currency, tax name, and applicable rates.

Key fields in the response data include countryCode, countryName, currency, taxName, standard rate, reduced rates array, zero boolean, exempt boolean, and digitalGoods rate. These fields provide comprehensive tax information for each country.

Parameters vary by endpoint. For instance, the GET Rates by Region endpoint accepts a region parameter (africa, eu, apac, americas), while the Search Rates by Value endpoint requires a rate value and optionally accepts a type parameter to filter results.

The response data is structured in JSON format, with a success boolean indicating the request status, followed by a data object containing the relevant tax information. Each entry includes detailed fields like rates and notes, making it easy to parse.

Each endpoint provides various information types, such as VAT/GST rates, registration thresholds, historical rate data, and locale formatting. For example, the GET Get Registration Threshold endpoint returns domestic and foreign seller thresholds for VAT registration.

Data accuracy is maintained through an annual update process that fetches rates from authoritative sources like the OECD and national revenue services. Each update undergoes a review process before deployment, ensuring reliable information.

典型用例包括计算发票的增值税/商品服务税 确定电子商务交易的适用税率 确保遵守国际税收法规 企业可以使用该API根据地点和产品类型自动进行税务计算

用户可以通过将返回的数据集成到他们的发票系统或电子商务平台中来利用这些数据。例如 formattedExample 字段可以直接用于结账用户界面以根据当地货币格式规则显示价格

一般常见问题

Zyla API Hub 就像一个大型 API 商店,您可以在一个地方找到数千个 API。我们还为所有 API 提供专门支持和实时监控。注册后,您可以选择要使用的 API。请记住,每个 API 都需要自己的订阅。但如果您订阅多个 API,您将为所有这些 API 使用相同的密钥,使事情变得更简单。
价格以 USD(美元)、EUR(欧元)、CAD(加元)、AUD(澳元)和 GBP(英镑)列出。我们接受所有主要的借记卡和信用卡。我们的支付系统使用最新的安全技术,由 Stripe 提供支持,Stripe 是世界上最可靠的支付公司之一。如果您在使用卡片付款时遇到任何问题,请通过 [email protected]

此外,如果您已经以这些货币中的任何一种(USD、EUR、CAD、AUD、GBP)拥有有效订阅,该货币将保留用于后续订阅。只要您没有任何有效订阅,您可以随时更改货币。
定价页面上显示的本地货币基于您 IP 地址的国家/地区,仅供参考。实际价格以 USD(美元)为单位。当您付款时,即使您在我们的网站上看到以本地货币显示的等值金额,您的卡片对账单上也会以美元显示费用。这意味着您不能直接使用本地货币付款。
有时,银行可能会因其欺诈保护设置而拒绝收费。我们建议您首先联系您的银行,检查他们是否阻止了我们的收费。此外,您可以访问账单门户并更改关联的卡片以进行付款。如果这些方法不起作用并且您需要进一步帮助,请通过 [email protected]
价格由月度或年度订阅决定,具体取决于所选计划。
API 调用根据成功请求从您的计划中扣除。每个计划都包含您每月可以进行的特定数量的调用。只有成功的调用(由状态 200 响应指示)才会计入您的总数。这确保失败或不完整的请求不会影响您的月度配额。
Zyla API Hub 采用月度订阅系统。您的计费周期将从您购买付费计划的那一天开始,并在下个月的同一日期续订。因此,如果您想避免未来的费用,请提前取消订阅。
要升级您当前的订阅计划,只需转到 API 的定价页面并选择您要升级到的计划。升级将立即生效,让您立即享受新计划的功能。请注意,您之前计划中的任何剩余调用都不会转移到新计划,因此在升级时请注意这一点。您将被收取新计划的全部金额。
要检查您本月剩余多少 API 调用,请参考响应标头中的 "X-Zyla-API-Calls-Monthly-Remaining" 字段。例如,如果您的计划允许每月 1,000 个请求,而您已使用 100 个,则响应标头中的此字段将显示 900 个剩余调用。
要查看您的计划允许的最大 API 请求数,请检查 "X-Zyla-RateLimit-Limit" 响应标头。例如,如果您的计划包括每月 1,000 个请求,此标头将显示 1,000。
"X-Zyla-RateLimit-Reset" 标头显示您的速率限制重置之前的秒数。这告诉您何时您的请求计数将重新开始。例如,如果它显示 3,600,则意味着还有 3,600 秒直到限制重置。
是的,您可以随时通过访问您的账户并在账单页面上选择取消选项来取消您的计划。请注意,升级、降级和取消会立即生效。此外,取消后,您将不再有权访问该服务,即使您的配额中还有剩余调用。
为了让您有机会在没有任何承诺的情况下体验我们的 API,我们提供 7 天免费试用,允许您免费进行最多 50 次 API 调用。此试用只能使用一次,因此我们建议将其应用于您最感兴趣的 API。虽然我们的大多数 API 都提供免费试用,但有些可能不提供。试用在 7 天后或您进行了 50 次请求后结束,以先发生者为准。如果您在试用期间达到 50 次请求限制,您需要"开始您的付费计划"以继续发出请求。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。或者,如果您在第 7 天之前不取消订阅,您的免费试用将结束,您的计划将自动计费,授予您访问计划中指定的所有 API 调用的权限。请记住这一点以避免不必要的费用。
7 天后,您将被收取试用期间订阅的计划的全额费用。因此,在试用期结束前取消很重要。因忘记及时取消而提出的退款请求不被接受。
当您订阅 API 免费试用时,您可以进行最多 50 次 API 调用。如果您希望超出此限制进行额外的 API 调用,API 将提示您执行"开始您的付费计划"。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。
付款订单在每月 20 日至 30 日之间处理。如果您在 20 日之前提交请求,您的付款将在此时间范围内处理。
您可以通过我们的聊天渠道联系我们以获得即时帮助。我们始终在线,时间为上午 8 点至下午 5 点(EST)。如果您在该时间之后联系我们,我们将尽快回复您。此外,您可以通过 [email protected]

相关 API