Get income taxes
curl --request GET \
--url https://api.financialdatasets.ai/financials/income-taxes \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.financialdatasets.ai/financials/income-taxes"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.financialdatasets.ai/financials/income-taxes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.financialdatasets.ai/financials/income-taxes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.financialdatasets.ai/financials/income-taxes"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.financialdatasets.ai/financials/income-taxes")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.financialdatasets.ai/financials/income-taxes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"income_taxes": [
{
"ticker": "<string>",
"report_period": "2023-12-25",
"fiscal_period": "<string>",
"period": "annual",
"currency": "<string>",
"accession_number": "<string>",
"filing_url": "<string>",
"tables": [
{
"name": "<string>",
"line_items": [
{
"label": "<string>",
"standard_label": "<string>",
"value": 123,
"unit": "<string>"
}
],
"rows": [
{
"name": "<string>",
"line_items": [
{
"label": "<string>",
"standard_label": "<string>",
"value": 123,
"unit": "<string>"
}
]
}
]
}
]
}
],
"next_page_url": "<string>"
}{
"error": "Bad Request",
"message": "Invalid request parameters"
}{
"error": "Unauthorized",
"message": "Invalid API key provided"
}{
"error": "Payment Required",
"message": "This endpoint requires a paid subscription. Please upgrade your plan."
}Datasets
Income Taxes API
Income taxes as reported: the tax expense, current and deferred, the steps from the statutory tax rate to the effective tax rate, deferred tax assets and liabilities, income taxes paid, and unrecognized tax benefits, from 2016 onward.
GET
/
financials
/
income-taxes
Get income taxes
curl --request GET \
--url https://api.financialdatasets.ai/financials/income-taxes \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.financialdatasets.ai/financials/income-taxes"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.financialdatasets.ai/financials/income-taxes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.financialdatasets.ai/financials/income-taxes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.financialdatasets.ai/financials/income-taxes"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.financialdatasets.ai/financials/income-taxes")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.financialdatasets.ai/financials/income-taxes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"income_taxes": [
{
"ticker": "<string>",
"report_period": "2023-12-25",
"fiscal_period": "<string>",
"period": "annual",
"currency": "<string>",
"accession_number": "<string>",
"filing_url": "<string>",
"tables": [
{
"name": "<string>",
"line_items": [
{
"label": "<string>",
"standard_label": "<string>",
"value": 123,
"unit": "<string>"
}
],
"rows": [
{
"name": "<string>",
"line_items": [
{
"label": "<string>",
"standard_label": "<string>",
"value": 123,
"unit": "<string>"
}
]
}
]
}
]
}
],
"next_page_url": "<string>"
}{
"error": "Bad Request",
"message": "Invalid request parameters"
}{
"error": "Unauthorized",
"message": "Invalid API key provided"
}{
"error": "Payment Required",
"message": "This endpoint requires a paid subscription. Please upgrade your plan."
}Overview
The Financial Datasets income taxes API returns a company’s income taxes as the company reported them in its annual and quarterly reports: the tax expense with its current and deferred parts (federal, state, and foreign), each step from the statutory tax rate to the effective tax rate, each deferred tax asset and liability with the valuation allowance, the income taxes paid, the operating loss carryforwards, and the unrecognized tax benefits. You can call it as a REST endpoint with an API key, or from Claude, ChatGPT, Cursor, and other AI apps through the MCP server, or pay per request with x402. Pricing starts at $20. Use it to answer questions like:- What is Home Depot’s effective tax rate, and what moves it away from 21%?
- How much income tax did Nvidia pay, in the US and in each other country?
- How large is Apple’s valuation allowance on its deferred tax assets?
Coverage
| Companies | History | Updated |
|---|---|---|
| US companies | From 2016 | Within minutes of each new report |
Filtering the Data
tickerorcik: one is required.period(required):annual,quarterly,six_months_ytd, ornine_months_ytd. There is nottm.limit: the maximum number of report periods to return, newest first (default 4, maximum 20). Each page holds up to 10 periods, linked bynext_page_url.report_period,report_period_gte,report_period_lte,report_period_gt,report_period_lt: filter by report period date (YYYY-MM-DD).
Periods
period | Reports | Lines of each item | fiscal_period |
|---|---|---|---|
annual | Each annual report | All lines | FY2025 |
quarterly | Each quarterly report, and the annual report as the fourth quarter | The balances, and the numbers of the three months | 2025-Q3 |
six_months_ytd | Each second-quarter report | The balances, and the numbers of the first six months of the fiscal year | 2025-6M |
nine_months_ytd | Each third-quarter report | The balances, and the numbers of the first nine months of the fiscal year | 2025-9M |
quarterly to read the three months, and six_months_ytd or nine_months_ytd to read the fiscal year so far.
Most of the detail is in the annual report. A quarterly report usually has far fewer lines.
A company files no separate report for its fourth quarter, so the annual report stands in for it under quarterly, with its balances only. Nothing is calculated for the fourth quarter.
The Tax Rate
A company explains its effective tax rate in steps: it starts at the statutory rate, and each step adds or takes away a part, such as state taxes or tax credits. A company can state each step in dollars, as a rate, or both, and each is its own line:Effective Income Tax Rate Reconciliation, State and Local Income Taxes, Amount and Effective Income Tax Rate Reconciliation, State and Local Income Taxes, Percent.
A rate is a fraction with the unit percent: 0.239 is 23.9%.
Rows
Most lines are for the company as a whole. A row can be a country or a state (Ireland, California) when the company states its taxes by place, or the balance sheet line that holds a deferred tax balance (Other assets). Nvidia’s report at January 25, 2026 has the row Israel in its table of income taxes paid, with $1,287 million.
Response
Each item underincome_taxes is one report. It carries ticker, report_period, fiscal_period, period, currency, accession_number, and filing_url (a link to the report), and tables, in the company’s own order.
A table:
| Field | Meaning |
|---|---|
name | The company’s own title of the table. |
line_items | The lines for the company as a whole. Most income tax lines are here. |
rows | The rows of the table. A row can be a country, a state, a balance sheet line, or another split the company reports. |
| Field | Meaning |
|---|---|
name | The company’s own words for the row. When the company names a row in two or more parts, the parts are joined with |. |
line_items | The lines of that row. |
| Field | Meaning |
|---|---|
label | The company’s own words for the line. |
standard_label | The standard accounting name of the line, the same at every company. null for a line the company defined itself. |
value | The value as the company filed it. |
unit | The unit of the value: a currency code such as USD, percent, duration, date, pure for a plain number such as a ratio, or a unit the company defined itself. |
"rows": [], and a table with rows only has "line_items": [].
Every value is the number the company filed:
- Nothing is calculated. A total appears only when the company reported one.
- A sign is never changed. See the question on signs below.
- A rate is a fraction with the unit
percent:0.21is 21%.
Standard Names
Usestandard_label to find the same line at every company. The most common names:
standard_label | What it is |
|---|---|
Income Tax Expense (Benefit) | The total income tax expense |
Current Income Tax Expense (Benefit) | The part of the expense owed for the period |
Deferred Income Tax Expense (Benefit) | The part of the expense moved to later periods |
Effective Income Tax Rate Reconciliation, at Federal Statutory Income Tax Rate, Percent | The statutory federal rate, the first step |
Effective Income Tax Rate Reconciliation, Percent | The effective tax rate, the last step |
Deferred Tax Assets, Gross | Deferred tax assets before the valuation allowance |
Deferred Tax Assets, Valuation Allowance | The part of the deferred tax assets the company does not expect to use |
Deferred Tax Assets, Operating Loss Carryforwards | The tax value of past losses the company can still use |
Deferred Tax Liabilities, Gross | Deferred tax liabilities |
Unrecognized Tax Benefits | Tax positions the tax authorities may not accept |
Income Taxes Paid, Net | The income taxes paid in cash, after refunds |
Income Tax Paid, Federal, after Refund Received | The federal part of the taxes paid |
Example
Income Taxes
import requests
# add your API key to the headers
headers = {
"X-API-KEY": "your_api_key_here"
}
# set your query params
params = {
"ticker": "HD", # stock ticker
"period": "annual", # annual, quarterly, six_months_ytd, or nine_months_ytd
"limit": 1, # number of report periods to return
}
# make API request
url = "https://api.financialdatasets.ai/financials/income-taxes"
response = requests.get(url, headers=headers, params=params)
# parse the income taxes from the response
income_taxes = response.json().get("income_taxes")
# print the latest report: each table, its lines, and its rows
def print_lines(line_items, indent):
for line in line_items:
print(f"{indent}{line['label']}: {line['value']} {line['unit']}")
for table in income_taxes[0]["tables"]:
print(table["name"])
print_lines(table["line_items"], " ")
for row in table["rows"]:
print(" " + row["name"])
print_lines(row["line_items"], " ")
Response
{
"income_taxes": [
{
"ticker": "HD",
"report_period": "2026-02-01",
"fiscal_period": "FY2025",
"period": "annual",
"currency": "USD",
"accession_number": "0001628280-26-019436",
"filing_url": "https://www.sec.gov/Archives/edgar/data/354950/000162828026019436/hd-20260201.htm",
"tables": [
{
"name": "INCOME TAXES - Provision for Income Taxes (Details)",
"line_items": [
{
"label": "Federal",
"standard_label": "Current Federal Tax Expense (Benefit)",
"value": 2812000000,
"unit": "USD"
},
{
"label": "State",
"standard_label": "Current State and Local Tax Expense (Benefit)",
"value": 725000000,
"unit": "USD"
},
{
"label": "Foreign",
"standard_label": "Current Foreign Tax Expense (Benefit)",
"value": 414000000,
"unit": "USD"
},
{
"label": "Total current",
"standard_label": "Current Income Tax Expense (Benefit)",
"value": 3951000000,
"unit": "USD"
},
{
"label": "Federal",
"standard_label": "Deferred Federal Income Tax Expense (Benefit)",
"value": 503000000,
"unit": "USD"
},
{
"label": "State",
"standard_label": "Deferred State and Local Income Tax Expense (Benefit)",
"value": 46000000,
"unit": "USD"
},
{
"label": "Foreign",
"standard_label": "Deferred Foreign Income Tax Expense (Benefit)",
"value": -54000000,
"unit": "USD"
},
{
"label": "Total deferred",
"standard_label": "Deferred Income Tax Expense (Benefit)",
"value": 495000000,
"unit": "USD"
},
{
"label": "Federal",
"standard_label": "Federal Income Tax Expense (Benefit), Continuing Operations",
"value": 3315000000,
"unit": "USD"
},
{
"label": "State",
"standard_label": "State and Local Income Tax Expense (Benefit), Continuing Operations",
"value": 771000000,
"unit": "USD"
},
{
"label": "Foreign",
"standard_label": "Foreign Income Tax Expense (Benefit), Continuing Operations",
"value": 360000000,
"unit": "USD"
},
{
"label": "Total",
"standard_label": "Income Tax Expense (Benefit)",
"value": 4446000000,
"unit": "USD"
}
],
"rows": []
},
{
"name": "INCOME TAXES - Effective Income Tax Rate Reconciliation (Details)",
"line_items": [
{
"label": "U.S. federal statutory income tax rate",
"standard_label": "Effective Income Tax Rate Reconciliation at Federal Statutory Income Tax Rate, Amount",
"value": 3906000000,
"unit": "USD"
},
{
"label": "State and local income taxes, net of federal income tax effect",
"standard_label": "Effective Income Tax Rate Reconciliation, State and Local Income Taxes, Amount",
"value": 663000000,
"unit": "USD"
},
{
"label": "Foreign tax effects",
"standard_label": "Effective Income Tax Rate Reconciliation, Foreign Income Tax Rate Differential, Amount",
"value": 190000000,
"unit": "USD"
},
{
"label": "Tax credits",
"standard_label": "Effective Income Tax Rate Reconciliation, Tax Credit, Amount",
"value": 142000000,
"unit": "USD"
},
{
"label": "Other adjustments",
"standard_label": "Effective Income Tax Rate Reconciliation, Other Reconciling Items, Amount",
"value": -171000000,
"unit": "USD"
},
{
"label": "U.S. federal statutory income tax rate",
"standard_label": "Effective Income Tax Rate Reconciliation, at Federal Statutory Income Tax Rate, Percent",
"value": 0.21,
"unit": "percent"
},
{
"label": "State and local income taxes, net of federal income tax effect",
"standard_label": "Effective Income Tax Rate Reconciliation, State and Local Income Taxes, Percent",
"value": 0.036,
"unit": "percent"
},
{
"label": "Foreign tax effects",
"standard_label": "Effective Income Tax Rate Reconciliation, Foreign Income Tax Rate Differential, Percent",
"value": 0.01,
"unit": "percent"
},
{
"label": "Tax credits",
"standard_label": "Effective Income Tax Rate Reconciliation, Tax Credit, Percent",
"value": 0.008,
"unit": "percent"
},
{
"label": "Other adjustments",
"standard_label": "Effective Income Tax Rate Reconciliation, Other Reconciling Items, Percent",
"value": -0.009,
"unit": "percent"
},
{
"label": "Total",
"standard_label": "Effective Income Tax Rate Reconciliation, Percent",
"value": 0.239,
"unit": "percent"
}
],
"rows": []
}
]
}
]
}
FAQ
What is the difference between this dataset and the income statement?
The income statement shows income tax as one number. This dataset gives the detail behind it: the current and the deferred part, the steps to the effective tax rate, the deferred tax assets and liabilities, the taxes paid, and the unrecognized tax benefits.Is the data standardized?
No. The lines are the company’s own, in the company’s own order. Each standard line also carriesstandard_label, a name that is the same at every company, so you can find the same line across companies.
Where is the effective tax rate?
UnderEffective Income Tax Rate Reconciliation, Percent, when the company states it as a rate. Home Depot’s report at February 1, 2026 states 0.239: 23.9%.
Why do the steps of the tax rate not add up to the total?
Each value keeps the sign the company filed. A step that lowers the tax by its meaning, such as tax credits, can be filed as a positive number. Home Depot’s steps are0.21, 0.036, 0.01, 0.008 (tax credits), and -0.009: 21.0% + 3.6% + 1.0% - 0.8% - 0.9% = 23.9%. The label and the standard_label say what a step is.
Why is a number from the report not in the response?
The dataset includes a line only when it is certain that the line is about income taxes: a standard income tax line, or a line the company defined itself in a table of income tax lines. A line the company defined itself in a table of several subjects is left out. The dataset includes only the amounts of the report’s own period, so an amount of an earlier year is in that year’s report.What does a company with no income tax detail return?
An emptyincome_taxes list. An empty response is not charged.
How far back does the data go?
To 2016.Which periods are available?
Annual, quarterly, the first six months, and the first nine months of the fiscal year. There is no TTM.Can an AI agent use this data?
Yes. Claude, ChatGPT, Cursor, and other MCP clients reach it through the Financial Datasets MCP server, with theget_financials tool and the dataset income_taxes.
Related
Announcement
Introducing the Income Taxes API, on the Financial Datasets news page.
MCP server
Use Income Taxes from Claude, ChatGPT, Cursor, and other AI apps.
Query Parameters
The kind of report. annual returns each annual report. quarterly returns each quarterly report, and the annual report as the fourth quarter with its balances only. six_months_ytd and nine_months_ytd return the second-quarter and third-quarter reports with the numbers of the fiscal year so far.
Available options:
annual, quarterly, six_months_ytd, nine_months_ytd