This request returns the meta information needed to make requests for FRED data. Minimum and maximum date are also supplied for the data range available.
This request can return either XML or JSON by setting the file_type parameter to xml or json. Note that the default value of file_type is xml. The API key 'abcdefghijklmnopqrstuvwxyz123456' is for demonstration purposes only. Use a registered API key instead.
https://api.stlouisfed.org/geofred/series/group?series_id=SMU56000000500000001a&api_key=abcdefghijklmnopqrstuvwxyz123456
<?xml version="1.0" encoding="utf-8" ?> <series_meta> <series_meta title="All Employees: Total Private" region_type="state" series_group="1223" season="NSA" units="Thousands of Persons" frequency="a" min_date="1990-01-01" max_date="2021-01-01"/> </series_meta>
https://api.stlouisfed.org/geofred/series/group?series_id=SMU56000000500000001a&api_key=abcdefghijklmnopqrstuvwxyz123456&file_type=json
{
"series_group": {
"title" : "All Employees: Total Private",
"region_type" : "state",
"series_group" : "1223",
"season" : "NSA",
"units" : "Thousands of Persons",
"frequency" : "Annual",
"min_date" : "1990-01-01",
"max_date" : "2021-01-01"
}
}
Read API Keys for more information.
A key or file extension that indicates the type of file to send.
xml = Extensible Markup Language. The HTTP Content-Type is text/xml.
json = JavaScript Object Notation. The HTTP Content-Type is application/json.
The FRED series id you want to request maps meta information for. Not all series that are in FRED have geographical data.