{
"country": "CA",
"province": "QC",
"province_name": "Quebec",
"province_name_fr": "Québec",
"date": "2026-11-10",
"net": "100.00",
"total_tax": "14.98",
"gross": "114.98",
"total_rate_pct": "14.975",
"components": [
{
"tax": "GST",
"name_fr": "TPS",
"rate_pct": "5",
"amount": "5.00",
"effective_from": "2013-04-01",
"effective_to": null,
"source_url": "https://www.canada.ca/en/revenue-agency/services/tax/businesses/topics/gst-hst-businesses/charge-collect-which-rate/calculator.html",
"source_urls": [
"https://www.canada.ca/en/revenue-agency/services/tax/businesses/topics/gst-hst-businesses/charge-collect-which-rate/calculator.html"
]
},
{
"tax": "QST",
"name_fr": "TVQ",
"rate_pct": "9.975",
"amount": "9.98",
"effective_from": "2013-04-01",
"effective_to": null,
"source_url": "https://www.revenuquebec.ca/fr/entreprises/taxes/tpstvh-et-tvq/perception-de-la-tps-et-de-la-tvq/calcul-des-taxes/",
"source_urls": [
"https://www.revenuquebec.ca/fr/entreprises/taxes/tpstvh-et-tvq/perception-de-la-tps-et-de-la-tvq/calcul-des-taxes/",
"https://www.finances.gouv.qc.ca/documents/Communiques/en/COMEN_20110930-sheets.pdf"
]
}
],
"warnings": [],
"table_version": "2026-11-02",
"disclaimer": "Rate lookup and arithmetic only, not tax advice. You choose the province or IVA code; verify with the CRA, Revenu Québec, your province or Hacienda.",
"docs": "https://steadyscrape.dev/tax-api"
}
curl --location --request GET 'https://zylalabs.com/api/14817/canada+sales+tax+qst+calculator+api/38406/tax+from+a+net+amount?country=CA&province=QC&amount=100.00' --header 'Authorization: Bearer YOUR_API_KEY'
{
"country": "CA",
"province": "QC",
"province_name": "Quebec",
"province_name_fr": "Québec",
"date": "2026-11-10",
"net": "62.49",
"total_tax": "9.37",
"gross": "71.86",
"total_rate_pct": "14.975",
"components": [
{
"tax": "GST",
"name_fr": "TPS",
"rate_pct": "5",
"amount": "3.13",
"effective_from": "2013-04-01",
"effective_to": null,
"source_url": "https://www.canada.ca/en/revenue-agency/services/tax/businesses/topics/gst-hst-businesses/charge-collect-which-rate/calculator.html",
"source_urls": [
"https://www.canada.ca/en/revenue-agency/services/tax/businesses/topics/gst-hst-businesses/charge-collect-which-rate/calculator.html"
]
},
{
"tax": "QST",
"name_fr": "TVQ",
"rate_pct": "9.975",
"amount": "6.24",
"effective_from": "2013-04-01",
"effective_to": null,
"source_url": "https://www.revenuquebec.ca/fr/entreprises/taxes/tpstvh-et-tvq/perception-de-la-tps-et-de-la-tvq/calcul-des-taxes/",
"source_urls": [
"https://www.revenuquebec.ca/fr/entreprises/taxes/tpstvh-et-tvq/perception-de-la-tps-et-de-la-tvq/calcul-des-taxes/",
"https://www.finances.gouv.qc.ca/documents/Communiques/en/COMEN_20110930-sheets.pdf"
]
}
],
"warnings": [],
"rounding": "per_line",
"lines": [
{
"line": 1,
"description": "Plan",
"net": "49.99",
"total_tax": "7.49",
"gross": "57.48",
"components": [
{
"tax": "GST",
"amount": "2.50"
},
{
"tax": "QST",
"amount": "4.99"
}
]
},
{
"line": 2,
"net": "12.50",
"total_tax": "1.88",
"gross": "14.38",
"components": [
{
"tax": "GST",
"amount": "0.63"
},
{
"tax": "QST",
"amount": "1.25"
}
]
}
],
"table_version": "2026-11-02",
"disclaimer": "Rate lookup and arithmetic only, not tax advice. You choose the province or IVA code; verify with the CRA, Revenu Québec, your province or Hacienda.",
"docs": "https://steadyscrape.dev/tax-api"
}
curl --location --request POST 'https://zylalabs.com/api/14817/canada+sales+tax+qst+calculator+api/38407/tax+from+a+net+amount+or+invoice+lines' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"province":"QC","lines":[{"amount":49.99,"description":"Plan"},{"amount":12.5}]}'
{
"country": "CA",
"province": "QC",
"province_name": "Quebec",
"province_name_fr": "Québec",
"date": "2026-11-10",
"net": "86.97",
"total_tax": "13.03",
"gross": "100.00",
"total_rate_pct": "14.975",
"rounding_difference": "0.00",
"components": [
{
"tax": "GST",
"name_fr": "TPS",
"rate_pct": "5",
"amount": "4.35",
"effective_from": "2013-04-01",
"effective_to": null,
"source_url": "https://www.canada.ca/en/revenue-agency/services/tax/businesses/topics/gst-hst-businesses/charge-collect-which-rate/calculator.html",
"source_urls": [
"https://www.canada.ca/en/revenue-agency/services/tax/businesses/topics/gst-hst-businesses/charge-collect-which-rate/calculator.html"
]
},
{
"tax": "QST",
"name_fr": "TVQ",
"rate_pct": "9.975",
"amount": "8.68",
"effective_from": "2013-04-01",
"effective_to": null,
"source_url": "https://www.revenuquebec.ca/fr/entreprises/taxes/tpstvh-et-tvq/perception-de-la-tps-et-de-la-tvq/calcul-des-taxes/",
"source_urls": [
"https://www.revenuquebec.ca/fr/entreprises/taxes/tpstvh-et-tvq/perception-de-la-tps-et-de-la-tvq/calcul-des-taxes/",
"https://www.finances.gouv.qc.ca/documents/Communiques/en/COMEN_20110930-sheets.pdf"
]
}
],
"warnings": [],
"table_version": "2026-11-02",
"disclaimer": "Rate lookup and arithmetic only, not tax advice. You choose the province or IVA code; verify with the CRA, Revenu Québec, your province or Hacienda.",
"docs": "https://steadyscrape.dev/tax-api"
}
curl --location --request GET 'https://zylalabs.com/api/14817/canada+sales+tax+qst+calculator+api/38408/net+and+tax+from+a+tax-included+total?country=CA&province=QC&gross=100.00' --header 'Authorization: Bearer YOUR_API_KEY'
{
"country": "CA",
"province": "QC",
"province_name": "Quebec",
"province_name_fr": "Québec",
"date": "2026-11-10",
"net": "100.00",
"total_tax": "14.98",
"gross": "114.98",
"total_rate_pct": "14.975",
"rounding_difference": "0.00",
"components": [
{
"tax": "GST",
"name_fr": "TPS",
"rate_pct": "5",
"amount": "5.00",
"effective_from": "2013-04-01",
"effective_to": null,
"source_url": "https://www.canada.ca/en/revenue-agency/services/tax/businesses/topics/gst-hst-businesses/charge-collect-which-rate/calculator.html",
"source_urls": [
"https://www.canada.ca/en/revenue-agency/services/tax/businesses/topics/gst-hst-businesses/charge-collect-which-rate/calculator.html"
]
},
{
"tax": "QST",
"name_fr": "TVQ",
"rate_pct": "9.975",
"amount": "9.98",
"effective_from": "2013-04-01",
"effective_to": null,
"source_url": "https://www.revenuquebec.ca/fr/entreprises/taxes/tpstvh-et-tvq/perception-de-la-tps-et-de-la-tvq/calcul-des-taxes/",
"source_urls": [
"https://www.revenuquebec.ca/fr/entreprises/taxes/tpstvh-et-tvq/perception-de-la-tps-et-de-la-tvq/calcul-des-taxes/",
"https://www.finances.gouv.qc.ca/documents/Communiques/en/COMEN_20110930-sheets.pdf"
]
}
],
"warnings": [],
"table_version": "2026-11-02",
"disclaimer": "Rate lookup and arithmetic only, not tax advice. You choose the province or IVA code; verify with the CRA, Revenu Québec, your province or Hacienda.",
"docs": "https://steadyscrape.dev/tax-api"
}
curl --location --request POST 'https://zylalabs.com/api/14817/canada+sales+tax+qst+calculator+api/38409/net+and+tax+from+a+tax-included+total' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"province":"QC","gross":114.98}'
{
"country": "CA",
"province": "QC",
"province_name": "Quebec",
"province_name_fr": "Québec",
"date": "2026-11-10",
"total_rate_pct": "14.975",
"components": [
{
"tax": "GST",
"name_fr": "TPS",
"rate_pct": "5",
"effective_from": "2013-04-01",
"effective_to": null,
"source_url": "https://www.canada.ca/en/revenue-agency/services/tax/businesses/topics/gst-hst-businesses/charge-collect-which-rate/calculator.html",
"source_urls": [
"https://www.canada.ca/en/revenue-agency/services/tax/businesses/topics/gst-hst-businesses/charge-collect-which-rate/calculator.html"
]
},
{
"tax": "QST",
"name_fr": "TVQ",
"rate_pct": "9.975",
"effective_from": "2013-04-01",
"effective_to": null,
"source_url": "https://www.revenuquebec.ca/fr/entreprises/taxes/tpstvh-et-tvq/perception-de-la-tps-et-de-la-tvq/calcul-des-taxes/",
"source_urls": [
"https://www.revenuquebec.ca/fr/entreprises/taxes/tpstvh-et-tvq/perception-de-la-tps-et-de-la-tvq/calcul-des-taxes/",
"https://www.finances.gouv.qc.ca/documents/Communiques/en/COMEN_20110930-sheets.pdf"
]
}
],
"warnings": [],
"table_version": "2026-11-02",
"disclaimer": "Rate lookup and arithmetic only, not tax advice. You choose the province or IVA code; verify with the CRA, Revenu Québec, your province or Hacienda.",
"docs": "https://steadyscrape.dev/tax-api"
}
curl --location --request GET 'https://zylalabs.com/api/14817/canada+sales+tax+qst+calculator+api/38410/rates+in+force+on+a+date+with+sources?country=CA&province=QC' --header 'Authorization: Bearer YOUR_API_KEY'
{
"ok": true,
"table_version": "2026-11-02",
"disclaimer": "Rate lookup and arithmetic only, not tax advice. You choose the province or IVA code; verify with the CRA, Revenu Québec, your province or Hacienda.",
"docs": "https://steadyscrape.dev/tax-api"
}
curl --location --request GET 'https://zylalabs.com/api/14817/canada+sales+tax+qst+calculator+api/38411/health+and+rate-table+version' --header 'Authorization: Bearer YOUR_API_KEY'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Canada Sales Tax QST Calculator API simply include your bearer token in the Authorization header.
| Header | Description |
|---|---|
Authorization
|
Required
Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.
|
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
GST/HST/PST/QST for all 13 Canadian provinces and territories with dated rates since 2013, reverse (net-from-gross) calculation, invoice lines, and Costa Rica IVA codes.
Each endpoint returns detailed tax calculations, including net amounts, total tax, gross amounts, and tax component breakdowns for GST/HST/PST/QST or Costa Rica IVA. The data includes province-specific rates and effective dates.
Key fields include "country," "province," "net," "total_tax," "gross," "total_rate_pct," and "components," which detail individual tax types, rates, and amounts. Each component also includes effective dates and source URLs.
Parameters include the province (or IVA code) and the net amount or gross total. For invoice lines, users can submit up to 100 lines in a JSON format. Each endpoint requires specific parameters to return accurate tax calculations.
The response data is structured in JSON format, with a main object containing overall tax information and an array of "components" detailing each tax type. This organization allows for easy parsing and understanding of tax breakdowns.
The data is sourced from official Canadian government websites, ensuring accuracy and reliability. Each tax component includes a "source_url" linking to the relevant official documentation for verification.
Typical use cases include calculating sales tax for invoices, determining tax liabilities for businesses, and verifying tax rates for compliance. Users can also utilize the API for historical tax rate analysis based on effective dates.
Users can utilize the returned data by extracting the "total_tax" for financial reporting, using "components" for detailed tax breakdowns, and referencing "source_urls" for compliance checks. This structured data aids in accurate tax calculations.
Data accuracy is maintained by regularly updating tax rates based on official government sources. The API provides effective dates for each rate, allowing users to verify the applicability of rates for specific transactions.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund