Earnings Revenues Sector

List of stock sectors

Using Requests:

import requests
api_key = 'YOUR_API_KEY'
url = f'https://api.tradingeconomics.com/sectors?c={api_key}'
data = requests.get(url).json()
print(data)

Or using our package:

import tradingeconomics as te
te.login('your_api_key')
te.getSectors()

Using Requests:

const axios = require('axios');
(async () => {
    const api_key = 'YOUR_API_KEY'
    const response = await axios.get(`https://api.tradingeconomics.com/sectors?c=${api_key}`)
    console.log(response.data)
})()

Or using our package:

const te = require('tradingeconomics');
te.login('your_api_key');
data = te.getSectors().then(function(data){
  console.log(data)     
});

Using Requests:

using (var httpClient = new HttpClient())
{
    using (var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.tradingeconomics.com/sectors?c=your_api_key"))
    {
        request.Headers.TryAddWithoutValidation("Upgrade-Insecure-Requests", "1");
        var response = await httpClient.SendAsync(request);
        if (response.IsSuccessStatusCode)
        {
            var content = await response.Content.ReadAsStringAsync(); 
            Console.WriteLine(content);
        }
    }
}

The response data format can be configured by appending the &f= parameter to the URL request.

/sectors

Sector
Communication Services
Communications
Consumer Discretionary

/sectors?f=json

[{"Sector":"Communication Services"},{"Sector":"Communications"},{"Sector":"Consumer Discretionary"},{"Sector":"Consumer Staples"},{"Sector":"Energy"},{"Sector":"Financials"},{"Sector":"Health Care"},{"Sector":"Industrials"},{"Sector":"Information Technology"},{"Sector":"Materials"},{"Sector":"Period End Date"},{"Sector":"Real Estate"},{"Sector":"Technology"},{"Sector":"Utilities"}]

/sectors?f=csv

Sector
Communication Services
Communications
Consumer Discretionary

/sectors?f=xml

<ArrayOfSectorsItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
<SectorsItem>
<Sector>Communication Services</Sector>
</SectorsItem>
<SectorsItem>
<Sector>Communications</Sector>
</SectorsItem>
<SectorsItem>
<Sector>Consumer Discretionary</Sector>
</SectorsItem>
<SectorsItem>
<Sector>Consumer Staples</Sector>
</SectorsItem>
<SectorsItem>
<Sector>Energy</Sector>
</SectorsItem>
<SectorsItem>
<Sector>Financials</Sector>
</SectorsItem>
<SectorsItem>
<Sector>Health Care</Sector>
</SectorsItem>
<SectorsItem>
<Sector>Industrials</Sector>
</SectorsItem>
<SectorsItem>
<Sector>Information Technology</Sector>
</SectorsItem>
<SectorsItem>
<Sector>Materials</Sector>
</SectorsItem>
<SectorsItem>
<Sector>Period End Date</Sector>
</SectorsItem>
<SectorsItem>
<Sector>Real Estate</Sector>
</SectorsItem>
<SectorsItem>
<Sector>Technology</Sector>
</SectorsItem>
<SectorsItem>
<Sector>Utilities</Sector>
</SectorsItem>
</ArrayOfSectorsItem>

By sector

Using Requests:

import requests
api_key = 'YOUR_API_KEY'
url = f'https://api.tradingeconomics.com/earnings-revenues/sector/materials?c={api_key}'
data = requests.get(url).json()
print(data)

Or using our package:

te.getEarnings(sector = 'materials')

Using Requests:

const axios = require('axios');
(async () => {
    const api_key = 'YOUR_API_KEY'
    const response = await axios.get(`https://api.tradingeconomics.com/earnings-revenues/sector/materials?c=${api_key}`)
    console.log(response.data)
})()

Or using our package:

data = te.getEarnings(sector = 'materials').then(function(data){
  console.log(data)     
});

Using Requests:

new HttpRequestMessage(new HttpMethod("GET"), "https://api.tradingeconomics.com/earnings-revenues/sector/materials?c=your_api_key");

/earnings-revenues/sector/{sector}

DateSymbolNameActualActualValueForecastForecastValuePreviousPreviousValueRevenueRevenueValueRevenueForecastRevenueForecastValueRevenuePreviousRevenuePreviousValueMarketCapUSDFiscalTagFiscalReferenceCalendarReferenceCountryCurrencyImportanceSessionMarketReleaseLastUpdate
2023-06-13MDI:CNMajor Drilling0.250.250.260.260.270.27184.97M184970000192.04M192040000189.98M189980000586712712FY2023Q4Q42023-03-31CanadaCAD121after_close6/17/2023 8:10:00 AM
2023-06-22CMC:USCommercial Metals2.022.021.831.832.612.612.34B23400000002.33B23300000002.52B25200000006623500000FY2023Q3Q32023-03-31United StatesUSD113before_open6/22/2023 9:01:00 PM
2023-06-225714:JPDowa219.54219.54209.93B2099300000001978619640FY2024Q1Q12023-06-30JapanJPY14after_close4/21/2023 6:58:00 PM

/earnings-revenues/sector/{sector}?f=json

[{"Date":"2023-09-04","Symbol":"ARI:SJ","Name":"African Rainbow Minerals","Actual":"19.37","ActualValue":19.37,"Forecast":"0.00","ForecastValue":0.0,"Previous":"39.15","PreviousValue":39.15,"Revenue":"6.72B","RevenueValue":6720000000.0,"RevenueForecast":"","RevenueForecastValue":null,"RevenuePrevious":"9.85B","RevenuePreviousValue":9850000000.0,"MarketCapUSD":1726756424,"FiscalTag":"FY2023H2","FiscalReference":"H2","CalendarReference":"2023-06-30","Country":"South Africa","Currency":"ZAR","Importance":1,"Session":24,"MarketRelease":"by_day_end","LastUpdate":"2023-09-22T12:51:00"},{"Date":"2023-09-05","Symbol":"MDI:CN","Name":"Major Drilling","Actual":"0.26","ActualValue":0.26,"Forecast":"0.26","ForecastValue":0.26,"Previous":"0.29","PreviousValue":0.29,"Revenue":"198.88M","RevenueValue":198880000.0,"RevenueForecast":"203.35M","RevenueForecastValue":203350000.0,"RevenuePrevious":"199.84M","RevenuePreviousValue":199840000.0,"MarketCapUSD":492164453,"FiscalTag":"FY2024Q1","FiscalReference":"Q1","CalendarReference":"2023-07-31","Country":"Canada","Currency":"CAD","Importance":1,"Session":21,"MarketRelease":"after_close","LastUpdate":"2023-09-27T13:36:00"},{"Date":"2023-09-27","Symbol":"WOR:US","Name":"Worthington Industries","Actual":"2.06","ActualValue":2.06,"Forecast":"2.04","ForecastValue":2.04,"Previous":"1.61","PreviousValue":1.61,"Revenue":"1.2B","RevenueValue":1200000000.0,"RevenueForecast":"1.23B","RevenueForecastValue":1230000000.0,"RevenuePrevious":"1.41B","RevenuePreviousValue":1410000000.0,"MarketCapUSD":3053300000,"FiscalTag":"FY2024Q1","FiscalReference":"Q1","CalendarReference":"2023-08-31","Country":"United States","Currency":"USD","Importance":1,"Session":13,"MarketRelease":"before_open","LastUpdate":"2023-09-30T04:35:00"}]

/earnings-revenues/sector/{sector}?f=csv

Date,Symbol,Name,Actual,ActualValue,Forecast,ForecastValue,Previous,PreviousValue,Revenue,RevenueValue,RevenueForecast,RevenueForecastValue,RevenuePrevious,RevenuePreviousValue,MarketCapUSD,FiscalTag,FiscalReference,CalendarReference,Country,Currency,Importance,Session,MarketRelease,LastUpdate
2023-09-04,ARI:SJ,African Rainbow Minerals,19.37,19.37,0.00,0,39.15,39.15,6.72B,6720000000,,,9.85B,9850000000,1726756424,FY2023H2,H2,2023-06-30,South Africa,ZAR,1,24,by_day_end,9/22/2023 12:51:00 PM
2023-09-05,MDI:CN,Major Drilling,0.26,0.26,0.26,0.26,0.29,0.29,198.88M,198880000,203.35M,203350000,199.84M,199840000,492164453,FY2024Q1,Q1,2023-07-31,Canada,CAD,1,21,after_close,9/27/2023 1:36:00 PM
2023-09-27,WOR:US,Worthington Industries,2.06,2.06,2.04,2.04,1.61,1.61,1.2B,1200000000,1.23B,1230000000,1.41B,1410000000,3053300000,FY2024Q1,Q1,2023-08-31,United States,USD,1,13,before_open,9/30/2023 4:35:00 AM

/earnings-revenues/sector/{sector}?f=xml

<ArrayOfMarkets.EarningsRevenuesItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APILib.DB">
<Markets.EarningsRevenuesItem>
<Actual>19.37</Actual>
<ActualValue>19.37</ActualValue>
<CalendarReference>2023-06-30</CalendarReference>
<Country>South Africa</Country>
<Currency>ZAR</Currency>
<Date>2023-09-04</Date>
<FiscalReference>H2</FiscalReference>
<FiscalTag>FY2023H2</FiscalTag>
<Forecast>0.00</Forecast>
<ForecastValue>0</ForecastValue>
<Importance>1</Importance>
<LastUpdate>2023-09-22T12:51:00</LastUpdate>
<MarketCapUSD>1726756424</MarketCapUSD>
<MarketRelease>by_day_end</MarketRelease>
<Name>African Rainbow Minerals</Name>
<Previous>39.15</Previous>
<PreviousValue>39.15</PreviousValue>
<Revenue>6.72B</Revenue>
<RevenueForecast/>
<RevenueForecastValue i:nil="true"/>
<RevenuePrevious>9.85B</RevenuePrevious>
<RevenuePreviousValue>9850000000</RevenuePreviousValue>
<RevenueValue>6720000000</RevenueValue>
<Session>24</Session>
<Symbol>ARI:SJ</Symbol>
</Markets.EarningsRevenuesItem>
<Markets.EarningsRevenuesItem>
<Actual>0.26</Actual>
<ActualValue>0.26</ActualValue>
<CalendarReference>2023-07-31</CalendarReference>
<Country>Canada</Country>
<Currency>CAD</Currency>
<Date>2023-09-05</Date>
<FiscalReference>Q1</FiscalReference>
<FiscalTag>FY2024Q1</FiscalTag>
<Forecast>0.26</Forecast>
<ForecastValue>0.26</ForecastValue>
<Importance>1</Importance>
<LastUpdate>2023-09-27T13:36:00</LastUpdate>
<MarketCapUSD>492164453</MarketCapUSD>
<MarketRelease>after_close</MarketRelease>
<Name>Major Drilling</Name>
<Previous>0.29</Previous>
<PreviousValue>0.29</PreviousValue>
<Revenue>198.88M</Revenue>
<RevenueForecast>203.35M</RevenueForecast>
<RevenueForecastValue>203350000</RevenueForecastValue>
<RevenuePrevious>199.84M</RevenuePrevious>
<RevenuePreviousValue>199840000</RevenuePreviousValue>
<RevenueValue>198880000</RevenueValue>
<Session>21</Session>
<Symbol>MDI:CN</Symbol>
</Markets.EarningsRevenuesItem>
<Markets.EarningsRevenuesItem>
<Actual>2.06</Actual>
<ActualValue>2.06</ActualValue>
<CalendarReference>2023-08-31</CalendarReference>
<Country>United States</Country>
<Currency>USD</Currency>
<Date>2023-09-27</Date>
<FiscalReference>Q1</FiscalReference>
<FiscalTag>FY2024Q1</FiscalTag>
<Forecast>2.04</Forecast>
<ForecastValue>2.04</ForecastValue>
<Importance>1</Importance>
<LastUpdate>2023-09-30T04:35:00</LastUpdate>
<MarketCapUSD>3053300000</MarketCapUSD>
<MarketRelease>before_open</MarketRelease>
<Name>Worthington Industries</Name>
<Previous>1.61</Previous>
<PreviousValue>1.61</PreviousValue>
<Revenue>1.2B</Revenue>
<RevenueForecast>1.23B</RevenueForecast>
<RevenueForecastValue>1230000000</RevenueForecastValue>
<RevenuePrevious>1.41B</RevenuePrevious>
<RevenuePreviousValue>1410000000</RevenuePreviousValue>
<RevenueValue>1200000000</RevenueValue>
<Session>13</Session>
<Symbol>WOR:US</Symbol>
</Markets.EarningsRevenuesItem>
</ArrayOfMarkets.EarningsRevenuesItem>

By sector and date

Using Requests:

import requests
api_key = 'YOUR_API_KEY'
url = f'https://api.tradingeconomics.com/earnings-revenues/sector/materials?d1=2016-01-01&d2=2023-12-31&c={api_key}'
data = requests.get(url).json()
print(data)

Or using our package:

te.getEarnings(sector = 'materials', initDate='2016-01-01', endDate='2023-12-31')

Using Requests:

const axios = require('axios');
(async () => {
    const api_key = 'YOUR_API_KEY'
    const response = await axios.get(`https://api.tradingeconomics.com/earnings-revenues/sector/materials?d1=2016-01-01&d2=2023-12-31&c=${api_key}`)
    console.log(response.data)
})()

Or using our package:

data = te.getEarnings(sector = 'materials', start_date = '2016-01-01', end_date = '2023-12-31').then(function(data){
  console.log(data)     
});

Using Requests:

new HttpRequestMessage(new HttpMethod("GET"), "https://api.tradingeconomics.com/earnings-revenues/sector/materials?d1=2016-01-01&d2=2023-12-31&c=your_api_key");

/earnings-revenues/sector/{sector}?d1=yyyy-mm-dd&d2=yyyy-mm-dd

DateSymbolNameActualActualValueForecastForecastValuePreviousPreviousValueRevenueRevenueValueRevenueForecastRevenueForecastValueRevenuePreviousRevenuePreviousValueMarketCapUSDFiscalTagFiscalReferenceCalendarReferenceCountryCurrencyImportanceSessionMarketReleaseLastUpdate
2016-01-06RPM:USRpm International0.140.140.200.211812500000FY2016Q3Q32015-12-31United StatesUSD221after_close12/11/2022 6:55:00 PM
2016-01-07SCHN:USSchnitzer Steel Industries-0.13-0.13-0.43-0.43870700000FY2016Q2Q22015-12-31United StatesUSD121after_close12/11/2022 6:42:00 PM
2016-01-07WDFC:USWd 400.830.830.760.763152200000FY2016Q2Q22015-12-31United StatesUSD121after_close12/11/2022 3:10:00 PM

/earnings-revenues/sector/{sector}?d1=yyyy-mm-dd&d2=yyyy-mm-dd?f=json

[{"Date":"2016-01-05","Symbol":"CMC:US","Name":"Commercial Metals","Actual":"0.22","ActualValue":0.22,"Forecast":"0.23","ForecastValue":0.23,"Previous":"0.32","PreviousValue":0.32,"Revenue":"1.15B","RevenueValue":1150000000.0,"RevenueForecast":"","RevenueForecastValue":null,"RevenuePrevious":"1.68B","RevenuePreviousValue":1680000000.0,"MarketCapUSD":5770400000,"FiscalTag":"FY2016Q1","FiscalReference":"Q1","CalendarReference":"2015-11-30","Country":"United States","Currency":"USD","Importance":1,"Session":13,"MarketRelease":"before_open","LastUpdate":"2023-08-14T15:08:00"},{"Date":"2016-01-06","Symbol":"RPM:US","Name":"RPM International","Actual":"0.62","ActualValue":0.62,"Forecast":"0.57","ForecastValue":0.57,"Previous":"0.53","PreviousValue":0.53,"Revenue":"1.16B","RevenueValue":1160000000.0,"RevenueForecast":"","RevenueForecastValue":null,"RevenuePrevious":"1.07B","RevenuePreviousValue":1070000000.0000001,"MarketCapUSD":12223000000,"FiscalTag":"FY2016Q2","FiscalReference":"Q2","CalendarReference":"2015-11-30","Country":"United States","Currency":"USD","Importance":2,"Session":13,"MarketRelease":"before_open","LastUpdate":"2023-08-14T17:28:00"},{"Date":"2016-01-07","Symbol":"WDFC:US","Name":"Wd 40","Actual":"0.83","ActualValue":0.83,"Forecast":"0.79","ForecastValue":0.79,"Previous":"0.73","PreviousValue":0.73,"Revenue":"92.52M","RevenueValue":92520000.0,"RevenueForecast":"","RevenueForecastValue":null,"RevenuePrevious":"96.35M","RevenuePreviousValue":96350000.0,"MarketCapUSD":2739800000,"FiscalTag":"FY2016Q1","FiscalReference":"Q1","CalendarReference":"2015-11-30","Country":"United States","Currency":"USD","Importance":1,"Session":21,"MarketRelease":"after_close","LastUpdate":"2023-08-14T18:34:00"}]

/earnings-revenues/sector/{sector}?d1=yyyy-mm-dd&d2=yyyy-mm-dd?f=csv

Date,Symbol,Name,Actual,ActualValue,Forecast,ForecastValue,Previous,PreviousValue,Revenue,RevenueValue,RevenueForecast,RevenueForecastValue,RevenuePrevious,RevenuePreviousValue,MarketCapUSD,FiscalTag,FiscalReference,CalendarReference,Country,Currency,Importance,Session,MarketRelease,LastUpdate
2016-01-05,CMC:US,Commercial Metals,0.22,0.22,0.23,0.23,0.32,0.32,1.15B,1150000000,,,1.68B,1680000000,5770400000,FY2016Q1,Q1,2015-11-30,United States,USD,1,13,before_open,8/14/2023 3:08:00 PM
2016-01-06,RPM:US,RPM International,0.62,0.62,0.57,0.57,0.53,0.53,1.16B,1160000000,,,1.07B,1070000000,12223000000,FY2016Q2,Q2,2015-11-30,United States,USD,2,13,before_open,8/14/2023 5:28:00 PM
2016-01-07,WDFC:US,Wd 40,0.83,0.83,0.79,0.79,0.73,0.73,92.52M,92520000,,,96.35M,96350000,2739800000,FY2016Q1,Q1,2015-11-30,United States,USD,1,21,after_close,8/14/2023 6:34:00 PM

/earnings-revenues/sector/{sector}?d1=yyyy-mm-dd&d2=yyyy-mm-dd?f=xml

<ArrayOfMarkets.EarningsRevenuesItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APILib.DB">
<Markets.EarningsRevenuesItem>
<Actual>0.22</Actual>
<ActualValue>0.22</ActualValue>
<CalendarReference>2015-11-30</CalendarReference>
<Country>United States</Country>
<Currency>USD</Currency>
<Date>2016-01-05</Date>
<FiscalReference>Q1</FiscalReference>
<FiscalTag>FY2016Q1</FiscalTag>
<Forecast>0.23</Forecast>
<ForecastValue>0.23</ForecastValue>
<Importance>1</Importance>
<LastUpdate>2023-08-14T15:08:00</LastUpdate>
<MarketCapUSD>5770400000</MarketCapUSD>
<MarketRelease>before_open</MarketRelease>
<Name>Commercial Metals</Name>
<Previous>0.32</Previous>
<PreviousValue>0.32</PreviousValue>
<Revenue>1.15B</Revenue>
<RevenueForecast/>
<RevenueForecastValue i:nil="true"/>
<RevenuePrevious>1.68B</RevenuePrevious>
<RevenuePreviousValue>1680000000</RevenuePreviousValue>
<RevenueValue>1150000000</RevenueValue>
<Session>13</Session>
<Symbol>CMC:US</Symbol>
</Markets.EarningsRevenuesItem>
<Markets.EarningsRevenuesItem>
<Actual>0.62</Actual>
<ActualValue>0.62</ActualValue>
<CalendarReference>2015-11-30</CalendarReference>
<Country>United States</Country>
<Currency>USD</Currency>
<Date>2016-01-06</Date>
<FiscalReference>Q2</FiscalReference>
<FiscalTag>FY2016Q2</FiscalTag>
<Forecast>0.57</Forecast>
<ForecastValue>0.57</ForecastValue>
<Importance>2</Importance>
<LastUpdate>2023-08-14T17:28:00</LastUpdate>
<MarketCapUSD>12223000000</MarketCapUSD>
<MarketRelease>before_open</MarketRelease>
<Name>RPM International</Name>
<Previous>0.53</Previous>
<PreviousValue>0.53</PreviousValue>
<Revenue>1.16B</Revenue>
<RevenueForecast/>
<RevenueForecastValue i:nil="true"/>
<RevenuePrevious>1.07B</RevenuePrevious>
<RevenuePreviousValue>1070000000.0000001</RevenuePreviousValue>
<RevenueValue>1160000000</RevenueValue>
<Session>13</Session>
<Symbol>RPM:US</Symbol>
</Markets.EarningsRevenuesItem>
<Markets.EarningsRevenuesItem>
<Actual>0.83</Actual>
<ActualValue>0.83</ActualValue>
<CalendarReference>2015-11-30</CalendarReference>
<Country>United States</Country>
<Currency>USD</Currency>
<Date>2016-01-07</Date>
<FiscalReference>Q1</FiscalReference>
<FiscalTag>FY2016Q1</FiscalTag>
<Forecast>0.79</Forecast>
<ForecastValue>0.79</ForecastValue>
<Importance>1</Importance>
<LastUpdate>2023-08-14T18:34:00</LastUpdate>
<MarketCapUSD>2739800000</MarketCapUSD>
<MarketRelease>after_close</MarketRelease>
<Name>Wd 40</Name>
<Previous>0.73</Previous>
<PreviousValue>0.73</PreviousValue>
<Revenue>92.52M</Revenue>
<RevenueForecast/>
<RevenueForecastValue i:nil="true"/>
<RevenuePrevious>96.35M</RevenuePrevious>
<RevenuePreviousValue>96350000</RevenuePreviousValue>
<RevenueValue>92520000</RevenueValue>
<Session>21</Session>
<Symbol>WDFC:US</Symbol>
</Markets.EarningsRevenuesItem>
</ArrayOfMarkets.EarningsRevenuesItem>

Response fields

FieldTypeDescriptionExample
DatestringRelease date in UTC“2023-03-15”
SymbolstringUnique symbol used by Trading Economics“ADBE:US”
NamestringCompany name“Adobe Systems”
ActualstringEarnings per share“3.80”
ActualValuenumberEarnings per share value3.80
ForecaststringAverage forecast among a representative group of analysts“3.68”
ForecastValuenumberAverage numeric forecast among a representative group of analysts3.68
PreviousstringPreviously released value“3.37”
PreviousValuenumberPreviously released numeric value3.37
RevenuestringRevenue value“4.66B”
RevenueValuenumberRevenue numeric value4660000000
RevenueForecaststringForecast revenue value“4.62B”
RevenueForecastValuenumberForecast revenue numeric value4620000000
RevenuePreviousstringPrevious revenue value“4.26B”
RevenuePreviousValuenumberPrevious revenue numeric value4260000000
MarketCapUSDnumberMarket cap in US dollar173177600000
FiscalTagstringFiscal year and quarter“FY2023Q1”
FiscalReferencestringFiscal year and quarter in different format“Q1”
CalendarReferencestringCalendar quarter for the release“2022-12-31”
CountrystringCountry name“United States”
CurrencystringCurrency“USD”
Importancenumber1 = low, 2 = medium, 3 = high3
SessionnumberExpected earnings release hour21
marketReleasestringRelease type: after_close, before_open, by_day_end“after_close”
LastUpdatestringTime when new data was inserted or changed“2023-03-18T16:15:00”

Fields in ‘List of stock sectors’

FieldTypeDescriptionExample
SectorstringSector name“Communication Services”