GnistAI GnistAI
Log in

Income Tax Rates

Income tax rates and calculator — progressive brackets for 15 countries, with tax computation.

Overview   |   MCP   |   REST API   |   OpenAPI   |   CLI   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 4 tools tools 4 4 type: calculator type type calculator calculator lifecycle: maintained lifecycle lifecycle maintained maintained Finance

Data source: Curated dataset (government tax authorities, 2024 rates)

REST Bridge Endpoint https://context.gnist.ai/rest/income-tax/
Authentication

All requests require a Gnist-API-Key header (or api_key query parameter).

Free tier: 100 calls/day. Get your API key.

Tools (4)

get_tax_info

Get income tax brackets and rates for a country.

Returns tax brackets, standard deduction, currency, tax year, and notes about the tax system.

ParameterTypeRequiredDescription
country_codestringrequiredISO 3166-1 alpha-2 country code (e.g. US, GB, DE, NO).
Request Body
{
  "country_code": "NO"
}
calculate_income_tax

Calculate progressive income tax for a given country and annual income.

Returns total tax, effective rate, marginal rate, and a per-bracket breakdown showing
how much income falls in each bracket and how much tax is owed per bracket.

ParameterTypeRequiredDescription
country_codestringrequiredISO 3166-1 alpha-2 country code (e.g. US, GB, DE, NO).
incomenumberrequiredGross annual income in the country's local currency.
Request Body
{
  "country_code": "NO",
  "income": 1.0
}
list_tax_countries

List all countries with available income tax bracket data.

Returns country codes, names, and currencies for all supported countries.

Request Body
{
  "query": "example"
}
report_feedback

Report a bug, feature request, or general feedback for this data source.

Use this when something doesn't work as expected, when you'd like
a new feature, or when you have suggestions for improvement.

Args:
feedback: Describe the issue or suggestion.
feedback_type: One of 'bug', 'feature_request', or 'general'.

ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")
Request Body
{
  "feedback": "example"
}

Quick Start

Shell
curl -X POST "https://context.gnist.ai/rest/income-tax/get_tax_info" \
  -H "Content-Type: application/json" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"country_code": "example"}'
Python
import httpx

resp = httpx.post(
    "https://context.gnist.ai/rest/income-tax/get_tax_info",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    json={
  "country_code": "example"
},
)
print(resp.json())

Related Toolkits (Finance)

Resources