Get the FRED tags for a category. Optionally, filter results by tag name, tag group, or search. Series are assigned tags and categories. Indirectly through series, it is possible to get the tags for a category. No tags exist for a category that does not have series. See the related request fred/category/related_tags.
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/fred/category/tags?category_id=125&api_key=abcdefghijklmnopqrstuvwxyz123456
<tags realtime_start="2013-08-13" realtime_end="2013-08-13" order_by="series_count" sort_order="desc" count="21" offset="0" limit="1000">
<tag name="bea" group_id="src" notes="U.S. Department of Commerce: Bureau of Economic Analysis" created="2012-02-27 10:18:19-06" popularity="87" series_count="24"/>
<tag name="nation" group_id="geot" notes="Country Level" created="2012-02-27 10:18:19-06" popularity="100" series_count="24"/>
<tag name="usa" group_id="geo" notes="United States of America" created="2012-02-27 10:18:19-06" popularity="100" series_count="24"/>
<tag name="balance" group_id="gen" notes="" created="2012-02-27 10:18:19-06" popularity="65" series_count="18"/>
<tag name="nsa" group_id="seas" notes="Not seasonally adjusted" created="2012-02-27 10:18:19-06" popularity="96" series_count="14"/>
<tag name="quarterly" group_id="freq" notes="" created="2012-02-27 10:18:19-06" popularity="88" series_count="14"/>
<tag name="sa" group_id="seas" notes="Seasonally adjusted" created="2012-02-27 10:18:19-06" popularity="94" series_count="10"/>
<tag name="bop" group_id="gen" notes="Balance of Payments" created="2013-01-28 14:10:13-06" popularity="60" series_count="8"/>
<tag name="services" group_id="gen" notes="" created="2012-02-27 10:18:19-06" popularity="72" series_count="8"/>
<tag name="annual" group_id="freq" notes="" created="2012-02-27 10:18:19-06" popularity="83" series_count="7"/>
<tag name="net" group_id="gen" notes="" created="2012-02-27 10:18:19-06" popularity="68" series_count="6"/>
<tag name="trade" group_id="gen" notes="" created="2012-02-27 10:18:19-06" popularity="60" series_count="6"/>
<tag name="goods" group_id="gen" notes="" created="2012-02-27 10:18:19-06" popularity="73" series_count="5"/>
<tag name="capital account" group_id="gen" notes="" created="2012-02-27 10:18:19-06" popularity="42" series_count="3"/>
<tag name="census" group_id="src" notes="U.S. Department of Commerce: Census Bureau" created="2012-02-27 10:18:19-06" popularity="78" series_count="3"/>
<tag name="current account" group_id="gen" notes="" created="2012-02-27 10:18:19-06" popularity="55" series_count="3"/>
<tag name="income" group_id="gen" notes="" created="2012-02-27 10:18:19-06" popularity="61" series_count="3"/>
<tag name="investment" group_id="gen" notes="" created="2012-02-27 10:18:19-06" popularity="67" series_count="3"/>
<tag name="monthly" group_id="freq" notes="" created="2012-02-27 10:18:19-06" popularity="95" series_count="3"/>
<tag name="transfers" group_id="gen" notes="" created="2012-02-27 10:18:19-06" popularity="50" series_count="3"/>
<tag name="payments" group_id="gen" notes="" created="2012-02-27 10:18:19-06" popularity="57" series_count="1"/>
</tags>
https://api.stlouisfed.org/fred/category/tags?category_id=125&api_key=abcdefghijklmnopqrstuvwxyz123456&file_type=json
{
"realtime_start": "2013-08-13",
"realtime_end": "2013-08-13",
"order_by": "series_count",
"sort_order": "desc",
"count": 21,
"offset": 0,
"limit": 1000,
"tags": [
{
"name": "bea",
"group_id": "src",
"notes": "U.S. Department of Commerce: Bureau of Economic Analysis",
"created": "2012-02-27 10:18:19-06",
"popularity": 87,
"series_count": 24
},
{
"name": "nation",
"group_id": "geot",
"notes": "Country Level",
"created": "2012-02-27 10:18:19-06",
"popularity": 100,
"series_count": 24
},
{
"name": "usa",
"group_id": "geo",
"notes": "United States of America",
"created": "2012-02-27 10:18:19-06",
"popularity": 100,
"series_count": 24
},
{
"name": "balance",
"group_id": "gen",
"notes": "",
"created": "2012-02-27 10:18:19-06",
"popularity": 65,
"series_count": 18
},
{
"name": "nsa",
"group_id": "seas",
"notes": "Not seasonally adjusted",
"created": "2012-02-27 10:18:19-06",
"popularity": 96,
"series_count": 14
},
{
"name": "quarterly",
"group_id": "freq",
"notes": "",
"created": "2012-02-27 10:18:19-06",
"popularity": 88,
"series_count": 14
},
{
"name": "sa",
"group_id": "seas",
"notes": "Seasonally adjusted",
"created": "2012-02-27 10:18:19-06",
"popularity": 94,
"series_count": 10
},
{
"name": "bop",
"group_id": "gen",
"notes": "Balance of Payments",
"created": "2013-01-28 14:10:13-06",
"popularity": 60,
"series_count": 8
},
{
"name": "services",
"group_id": "gen",
"notes": "",
"created": "2012-02-27 10:18:19-06",
"popularity": 72,
"series_count": 8
},
{
"name": "annual",
"group_id": "freq",
"notes": "",
"created": "2012-02-27 10:18:19-06",
"popularity": 83,
"series_count": 7
},
{
"name": "net",
"group_id": "gen",
"notes": "",
"created": "2012-02-27 10:18:19-06",
"popularity": 68,
"series_count": 6
},
{
"name": "trade",
"group_id": "gen",
"notes": "",
"created": "2012-02-27 10:18:19-06",
"popularity": 60,
"series_count": 6
},
{
"name": "goods",
"group_id": "gen",
"notes": "",
"created": "2012-02-27 10:18:19-06",
"popularity": 73,
"series_count": 5
},
{
"name": "capital account",
"group_id": "gen",
"notes": "",
"created": "2012-02-27 10:18:19-06",
"popularity": 42,
"series_count": 3
},
{
"name": "census",
"group_id": "src",
"notes": "U.S. Department of Commerce: Census Bureau",
"created": "2012-02-27 10:18:19-06",
"popularity": 78,
"series_count": 3
},
{
"name": "current account",
"group_id": "gen",
"notes": "",
"created": "2012-02-27 10:18:19-06",
"popularity": 55,
"series_count": 3
},
{
"name": "income",
"group_id": "gen",
"notes": "",
"created": "2012-02-27 10:18:19-06",
"popularity": 61,
"series_count": 3
},
{
"name": "investment",
"group_id": "gen",
"notes": "",
"created": "2012-02-27 10:18:19-06",
"popularity": 67,
"series_count": 3
},
{
"name": "monthly",
"group_id": "freq",
"notes": "",
"created": "2012-02-27 10:18:19-06",
"popularity": 95,
"series_count": 3
},
{
"name": "transfers",
"group_id": "gen",
"notes": "",
"created": "2012-02-27 10:18:19-06",
"popularity": 50,
"series_count": 3
},
{
"name": "payments",
"group_id": "gen",
"notes": "",
"created": "2012-02-27 10:18:19-06",
"popularity": 57,
"series_count": 1
}
]
}
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 id for a category.
The start of the real-time period. For more information, see Real-Time Periods.
The end of the real-time period. For more information, see Real-Time Periods.
A semicolon delimited list of tag names to only include in the response. See the related request fred/category/related_tags.
A tag group id to filter tags by type.
freq = Frequency
gen = General or Concept
geo = Geography
geot = Geography Type
rls = Release
seas = Seasonal Adjustment
src = Source
The words to find matching tags with.
The maximum number of results to return.
Order results by values of the specified attribute.
Sort results is ascending or descending order for attribute values specified by order_by.