List Tax Countries
const url = 'https://indepai.app/api/v1/tax/countries';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://indepai.app/api/v1/tax/countriesGet tax information for all supported countries
Responses
Section titled “Responses”List of countries with tax info
object
object
ISO 3166-1 alpha-2 country code
Country name
Currency code (ISO 4217)
object
object
Minimum income for this bracket
Maximum income for this bracket (null = unlimited)
Tax rate for this bracket (%)
Top marginal tax rate (%)
Tax-free basic allowance
object
Short-term capital gains rate (%)
Long-term capital gains rate (%)
Months to qualify for long-term rate
Available exemptions
object
Tax rate on domestic dividends (%)
Tax rate on foreign dividends (%)
Withholding tax rate (%)
object
Whether wealth tax applies
Wealth tax rate (%) if applicable
Wealth threshold for tax to apply
object
Whether crypto gains are taxed
Crypto tax rate (%) if applicable
Additional notes on crypto taxation
Available special tax programs
object
Program identifier
Program name
Country offering the program
Program description
Key benefits
Eligibility requirements
Program duration in years
Flat tax rate if applicable (%)
Application deadline if applicable
Whether program is still accepting new applicants
Countries with tax treaties
Whether territorial taxation applies
Whether citizenship-based taxation applies (like US)
Last data update timestamp
object
Example
{ "success": true, "data": [ { "countryCode": "PT", "countryName": "Portugal", "currency": "EUR", "incomeTax": { "brackets": [ { "min": 0, "max": 50000, "rate": 20 } ], "topMarginalRate": 48, "basicAllowance": 4104 }, "capitalGainsTax": { "shortTermRate": 28, "longTermRate": 28, "holdingPeriod": 12 }, "dividendTax": { "domesticRate": 28, "foreignRate": 28, "withholdingRate": 28 }, "specialPrograms": [ { "id": "nhr-portugal", "name": "Non-Habitual Resident (NHR)", "country": "Portugal", "benefits": [ "20% flat income tax", "0% foreign dividends", "0% foreign pensions" ], "duration": 10, "flatTaxRate": 20 } ] } ]}