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
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
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
Field | Type | Description | Example |
---|---|---|---|
Symbol | string | Unique symbol used by Trading Economics | “ALLMARGATTN” |
Country | string | Name of country, state or county | “Tennessee” |
Category | string | Indicator category name | “All Marginally Attached Workers for Tennessee” |
Last | number | Latest released value | 27500.00000 |
Date | string | Release time and date in UTC | “2022-07-01T00:00:00” |
Previous | number | Value for the previous period after the revision (if revision is applicable) | 25000.00000 |
PreviousDate | string | Release time and date in UTC of the previous value | “2022-04-01T00:00:00” |
Frequency | string | Frequency of the indicator | “Quarterly” |
Popularity | string | Popularity ranking | 1 |
Start | string | Indicator start date | “2003-10-01T00:00:00” |
Unit | string | Unit of the value | “Persons, 4-Qtr. Moving Average” |
Adjustment | string | Adjustment | “NSA” |
URL | string | Hyperlink at Trading Economics | “/united-states/income-inequality-in-pike-county-ar-fed-data.html” |
LastUpdate | string | Time when new data was inserted or changed | “2022-12-11T15:05:06.19” |