Bosco Labs

Tools › Questions › SEC Company Financials API

How much cash and long-term debt did Tesla have over the last 4 quarters?

Price$0.005 per company-period row
StatusOn Apify Store

From Tesla's 10-Q and 10-K XBRL data at the SEC: one row per fiscal quarter with cash_and_equivalents, long_term_debt and total_equity, the filing it came from and the XBRL tag per value. Balance-sheet values are as of the quarter end; flows not reported for a single quarter are flagged in warnings.

Tool input

{
  "tickers": [
    "TSLA"
  ],
  "period": "quarterly",
  "years": 1,
  "metrics": [
    "cash_and_equivalents",
    "long_term_debt",
    "total_equity"
  ]
}

Ask it from an AI agent (MCP)

Add the Apify MCP server with this tool to your MCP client (Claude, Cursor, VS Code, ...); it signs you in with OAuth or Authorization: Bearer <APIFY_TOKEN>.

https://mcp.apify.com?tools=bosco_labs/sec-company-financials

Then ask:

Use the bosco_labs/sec-company-financials tool to answer: How much cash and long-term debt did Tesla have over the last 4 quarters?

Call the Apify API

Runs the Actor and returns the rows in one request, billed to your Apify account ($0.005 per company-period row).

curl https://api.apify.com/v2/acts/bosco_labs~sec-company-financials/run-sync-get-dataset-items \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"tickers": ["TSLA"], "period": "quarterly", "years": 1, "metrics": ["cash_and_equivalents", "long_term_debt", "total_equity"]}'

Call the Bosco Labs HTTP API

Bosco Labs HTTP API (beta): same input and rows, $0.005 per company-period row from prepaid credits. Get a key with a $0.50 free trial, or send the same call without a key and pay per call in USDC via x402 (no account).

curl https://api.boscolabs.dev/v1/sec-company-financials \
  -H "Authorization: Bearer $BOSCO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"tickers": ["TSLA"], "period": "quarterly", "years": 1, "metrics": ["cash_and_equivalents", "long_term_debt", "total_equity"]}'

Example output

Snapshot taken 2026-11-06, source links in each row. First 1 of 4 rows (snapshot runs stop at 5 rows); long values shortened.

[
  {
    "schema_version": "1",
    "ticker": "TSLA",
    "cik": "0001318605",
    "company_name": "Tesla, Inc.",
    "fiscal_year": 2026,
    "fiscal_period": "Q3",
    "period_start": "2026-07-01",
    "period_end": "2026-09-30",
    "form": "10-Q",
    "filed": "2026-10-22",
    "accession_number": "0001628280-26-066775",
    "source_url": "https://www.sec.gov/Archives/edgar/data/1318605/000162828026066775/0001628280-26-066775-index.htm",
    "currency": "USD",
    "cash_and_equivalents": 17853000000,
    "long_term_debt": 7956000000,
    "total_equity": 89835000000,
    "metrics_found": 3,
    "sources": {
      "cash_and_equivalents": {
        "tag": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
        "accession": "0001628280-26-066775"
      },
      "long_term_debt": {
        "tag": "us-gaap:LongTermDebt",
        "accession": "0001628280-26-066775"
      },
      "total_equity": {
        "tag": "us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
        "accession": "0001628280-26-066775"
      }
    },
    "filings": {
      "0001628280-26-066775": {
        "form": "10-Q",
        "filed": "2026-10-22",
        "url": "https://www.sec.gov/Archives/edgar/data/1318605/000162828026066775/0001628280-26-066775-index.htm"
      }
    },
    "warnings": [
      "Q3 not reported separately: operating_cash_flow, investing_cash_flow, financing_cash_flow, capex derived as 9-month YTD - 6-month YTD (EPS, share counts and ..."
    ],
    "retrieved_at": "2026-11-06T22:51:11+00:00"
  }
]

More questions for this tool

All questions