Financial Datasets
Back to News

AWS had the smallest costs of Amazon's three segments, and the largest depreciation

4 min read

Segment CostsAmazon: AWS had $21.5 billion of depreciation in 2025Operating expenses, USDDepreciation and amortization, USD$396.7B$15.5BNorth America$157.1B$4.9BInternational$83.1B$21.5BAWS

In 2025, Amazon's AWS segment had $83.119 billion of operating expenses, the smallest of its three segments. It also had $21.450 billion of depreciation and amortization, the largest of the three. North America spent $396.686 billion and had $15.503 billion of depreciation.

Those lines come from a new endpoint, /financials/segment-costs. It returns each cost line of each business segment, as the company reports it.

Which API is which?

Two endpoints cover segments, and they return different things:

  • /financials/segments returns revenue, operating income, and assets for each segment.
  • /financials/segment-costs returns each cost line for each segment: cost of sales, SG&A, depreciation and amortization, and whatever else the company lists.

Use the first to see how much each segment earns. Use the second to see what each segment spends, line by line.

Where does Amazon's depreciation sit?

More of it sits in AWS than in either other segment. These are the 2025 amounts Amazon's annual report states for each segment:

  • North America: operating expenses $396.686 billion, depreciation and amortization $15.503 billion
  • International: operating expenses $157.144 billion, depreciation and amortization $4.907 billion
  • AWS: operating expenses $83.119 billion, depreciation and amortization $21.450 billion

Divide each segment's depreciation by its operating expenses and AWS stands apart from the other two. That division is yours to do.

This call returns the three segments.

import requests

headers = {"X-API-KEY": "your_api_key_here"}

url = "https://api.financialdatasets.ai/financials/segment-costs?ticker=AMZN&period=annual&limit=1"

report = requests.get(url, headers=headers).json()["segment_costs"][0]
print(report["ticker"], report["report_period"])
for table in report["tables"]:
    for row in table["rows"]:
        if row["name"] in ("North America", "International", "AWS"):
            for line in row["line_items"]:
                print(row["name"], "|", line["label"], line["value"])
AMZN 2025-12-31
North America | Operating expenses 396686000000
International | Operating expenses 157144000000
AWS | Operating expenses 83119000000
North America | Depreciation and amortization expense 15503000000
International | Depreciation and amortization expense 4907000000
AWS | Depreciation and amortization expense 21450000000

What does each Caterpillar segment spend?

Caterpillar reports three cost lines for each segment. These are its 2025 amounts, in billions of dollars:

  • Construction Industries: cost of goods sold 18.393, SG&A and R&D 1.902, other segment items 0.090
  • Resource Industries: cost of goods sold 9.018, SG&A and R&D 1.513, other segment items -0.045
  • Power & Energy: cost of goods sold 22.474, SG&A and R&D 3.330, other segment items -0.021
  • Financial Products: cost of goods sold 0, SG&A and R&D 0.829, other segment items 2.425
  • Total from reportable segments: cost of goods sold 49.885, SG&A and R&D 7.574, other segment items 2.449

"SG&A/R&D" is a line Caterpillar defined itself, so its standard_label is null. Match it by label at Caterpillar, and expect each company to group its costs its own way. Two of the "other segment items" are negative, and they stay negative.

What does a McDonald's segment spend?

McDonald's splits its costs by how a restaurant is run. These are its 2025 amounts for two segments:

  • U.S.: company-operated restaurant expenses $2.755 billion, franchised restaurant occupancy expenses $1.293 billion, SG&A $0.653 billion, other segment items $0.316 billion, depreciation and amortization $0.995 billion
  • International Operated Markets: company-operated restaurant expenses $5.101 billion, franchised restaurant occupancy expenses $1.324 billion, SG&A $0.705 billion, other segment items $0.122 billion, depreciation and amortization $0.789 billion

What a report looks like

A report has three levels, with the same fields at every company. Deferred Revenue and Inventory use the same shape.

  1. A report has tables. Each table has a name, which is the company's own title.
  2. A table has line_items and rows. A row is one segment. Rows for "Corporate" and "Eliminations" appear when the company reports them.
  3. A line has label, standard_label, value, and unit. The label is the company's own wording. The standard_label is the standard accounting name, the same at every company, and null for a line the company defined itself.

Parameters

  • ticker=AMZN or cik=0001018724: one company. One of the two is required.
  • period=annual, quarterly, six_months_ytd, or nine_months_ytd: required. There is no ttm.
  • limit=20: up to 20 report periods in one request, newest first, 4 by default.
  • report_period_gte=2020-01-01: reports from a date onward. report_period also takes the _lte, _gt, and _lt forms.

The segment costs API docs describe every filter and field.

Before you build on it

  • Detail starts in 2024. A new accounting rule took effect in 2024 that requires significant expenses for each segment. Most companies began to report them then. Older reports often state depreciation per segment only.
  • There is no fourth quarter. A cost covers a span of time, and a company files no separate fourth-quarter report. With period=quarterly, nothing is calculated for it.
  • Corporate and Eliminations are rows too. Leave them out to see the segments alone.
  • Signs stay, and corrections replace. A value is the number the company filed, and a corrected report replaces the report it corrects.

Coverage

The data covers 5,100+ US companies and 85,000+ reports from 2016: 24,000+ annual reports and 61,000+ quarterly reports. That is 1.4 million+ reported lines, each with a value and a unit. Reports with segment cost lines went from 7,386 in 2024 to 11,497 in 2025, the first full year under the new rule. New reports arrive within minutes of each filing.

To check the data, we compared 507 lines from 110 reports of 2016 to 2026 against the filed reports. All of them matched.

AI agents reach the same data through the MCP server with the get_financials tool and dataset set to segment_costs. An agent with a wallet can also pay per request with x402 and no account.