Snapshot

Federal Reserve snapshot data

By symbol

Get Federal Reserve snapshot by symbol

/fred/snapshot/symbol/{symbol}

te.getFedRSnaps(symbol = 'ALLMARGATTN', output_type='df')
data = te.getFred(symbol = 'ALLMARGATTN').then(function(data){
    console.log(data)     
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/fred/snapshot/symbol/ALLMARGATTN?c=guest:guest");

By country

Get Federal Reserve snapshot by country

/fred/snapshot/country/{country}

te.getFedRSnaps(country = 'united states', output_type='df')
data = te.getFred(country = 'united states').then(function(data){
    console.log(data)     
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/fred/snapshot/country/united%20states/?c=guest:guest");

By state

Get Federal Reserve snapshot by state

/fred/snapshot/state/{state}

te.getFedRSnaps(state = 'tennessee', output_type='df')
data = te.getFred(state = 'tennessee').then(function(data){
    console.log(data)     
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/fred/snapshot/state/tennessee?c=guest:guest");

By counties of a state

Get a list of snapshot by counties of a state

/fred/snapshot/county/{state}

te.getFedRCounty(state='arkansas', output_type='df') 
data = te.getFred(county = 'arkansas').then(function(data){
    console.log(data)     
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/fred/snapshot/county/arkansas?c=guest:guest");

By county

Get a list of indicators of a county

/fred/snapshot/county/{county}

te.getFedRCounty(county='Pike County, AR', output_type='df')   
data = te.getFred(county = 'Pike County, AR').then(function(data){
  console.log(data)     
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/fred/snapshot/county/Pike%20County,%20AR?c=guest:guest");

By URL

Get Federal Reserve snapshot by URL

/fred/snapshot/url?c=guest:guest&url={url}

te.getFedRSnaps(url = 'united states''/united-states/all-marginally-attached-workers-for-tennessee-fed-data.html',
 output_type='df')
data = te.getFred(URL = '/united-states/all-marginally-attached-workers-for-tennessee-fed-data.html').then(function(data){
    console.log(data)     
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/fred/snapshot/url?c=guest:guest&url=/united-states/all-marginally-attached-workers-for-tennessee-fed-data.html");

Pagination

Get a list of indicators of a country by page (‘pages’ parameter starts at 0. Pagination is only used on endpoints where it is not possible to use start and end dates and exceeds the limits of rows.)

/fred/snapshot/country/{country}/p={page number}

Get the number of pages of data for a specific country

/fred/snapshot/country/{country}/info=pagination

Note: Pagination is only available for the United States (max 10000 rows per page)

Response fields

FieldTypeDescriptionExample
SymbolstringUnique symbol used by Trading Economics“ALLMARGATTN”
CountrystringName of country, state or county“Tennessee”
CategorystringIndicator category name“All Marginally Attached Workers for Tennessee”
LastnumberLatest released value27500.00000
DatestringRelease time and date in UTC“2022-07-01T00:00:00”
PreviousnumberValue for the previous period after the revision (if revision is applicable)25000.00000
PreviousDatestringRelease time and date in UTC of the previous value“2022-04-01T00:00:00”
FrequencystringFrequency of the indicator“Quarterly”
PopularitystringPopularity ranking1
StartstringIndicator start date“2003-10-01T00:00:00”
UnitstringUnit of the value“Persons, 4-Qtr. Moving Average”
AdjustmentstringAdjustment“NSA”
URLstringHyperlink at Trading Economics“/united-states/income-inequality-in-pike-county-ar-fed-data.html”
LastUpdatestringTime when new data was inserted or changed“2022-12-11T15:05:06.19”