St. Louis Fed | Economic Research | EconDISC® | FRED® | GeoFRED® | ALFRED® | CASSIDI® | FRASER® | Liber8® | APIs | Fed System
Economic Research from the Federal Reserve Bank of St. Louis
  Home | API Keys | FRED® API
Contact Us | Terms of Use | Privacy | Legal  

fred/series/categories

Description

Get the categories for an economic data series.

Example

Request (HTTP GET)

http://api.stlouisfed.org/fred/series/categories?series_id=EXJPUS&api_key=abcdefghijklmnopqrstuvwxyz123456

Note that API key 'abcdefghijklmnopqrstuvwxyz123456' is for demonstration purposes only. Use a registered API key instead.

Response

<?xml version="1.0" encoding="utf-8" ?>
<categories>
  <category id="95" name="Monthly Rates" parent_id="15"/>
  <category id="275" name="Japan" parent_id="158"/>
</categories>

The category tag's notes attribute is optional.

Parameters

api_key

Read API Keys for more information.

series_id

The id for a series.

realtime_start

The start of the real-time period. For more information, see Real-Time Periods.

realtime_end

The end of the real-time period. For more information, see Real-Time Periods.