Dashboard

Revenue & profitability chart

GET/api/financials/chart/revenue-profitability

Free Starter Stock ETF Pro

Returns chart-ready data for revenue, net income, and profitability margins over time. Periods are sorted ascending. Use series for absolute values and rates for margin ratios.

Get API key Try it live in the API explorer

Query parameters

Example request

curl 'https://api.stockfit.io/v1/api/financials/chart/revenue-profitability?symbol=AAPL&cik=320193&cusip=037833100&composite_figi=BBG000B9XRY4&share_class_figi=BBG001S5N8V8&currency=USD' \
  -H 'Authorization: Bearer YOUR_API_TOKEN'

Responses

200 OK

Series-oriented chart data with periods sorted ascending

Response schema

  • periods array of string (date)

    Reporting period end dates (YYYY-MM-DD), sorted ascending. Each entry corresponds index-wise to the values in every `series.data` and `rates.data` array.

  • series array of object

    Absolute value series in the requested `currency` (default USD). Always returns two entries — `Revenue`, `Net Income` — in that order. Individual data points may be `null` for periods where the underlying fact wasn't tagged.

    array of:
    • name string (enum)
      Allowed values: Revenue, Net Income
    • data array of number | null
  • rates array of object

    Margin ratio series, expressed as decimals (e.g. 0.469 = 46.9%). Always returns three entries — `Gross Margin`, `Operating Margin`, `Net Margin` — in that order.

    array of:
    • name string (enum)
      Allowed values: Gross Margin, Operating Margin, Net Margin
    • data array of number | null

Example response

{
  "periods": [
    "2016-09-26",
    "2017-09-26",
    "2018-09-26",
    "2019-09-26",
    "2020-09-26",
    "2021-09-26",
    "2022-09-26",
    "2023-09-26",
    "2024-09-26",
    "2025-09-26"
  ],
  "series": [
    {
      "name": "Revenue",
      "data": [
        215639000000,
        229234000000,
        265595000000,
        260174000000,
        274515000000,
        365817000000,
        394328000000,
        383285000000,
        391035000000,
        416161000000
      ]
    },
    {
      "name": "Net Income",
      "data": [
        45687000000,
        48351000000,
        59531000000,
        55256000000,
        57411000000,
        94680000000,
        99803000000,
        96995000000,
        93736000000,
        112010000000
      ]
    }
  ],
  "rates": [
    {
      "name": "Gross Margin",
      "data": [
        0.3908,
        0.3847,
        0.3834,
        0.3782,
        0.3823,
        0.4178,
        0.4331,
        0.4413,
        0.4621,
        0.4691
      ]
    },
    {
      "name": "Operating Margin",
      "data": [
        0.2784,
        0.2676,
        0.2669,
        0.2457,
        0.2415,
        0.2978,
        0.3029,
        0.2982,
        0.3151,
        0.3197
      ]
    },
    {
      "name": "Net Margin",
      "data": [
        0.2119,
        0.2109,
        0.2241,
        0.2124,
        0.2091,
        0.2588,
        0.2531,
        0.2531,
        0.2397,
        0.2692
      ]
    }
  ]
}

400 Bad Request

Invalid parameters or symbol not found

Response schema

  • error string

    Human-readable error message

Example response

{}

403 Forbidden

Feature not available on current plan

Response schema

  • error string

    Human-readable error message

Example response

{}