|
Economic Research from the Federal Reserve Bank of St. Louis |
Get the child categories for a specified parent category.
For category_id 13 (U.S. Trade & International Transactions):
http://api.stlouisfed.org/fred/category/children?category_id=13&api_key=abcdefghijklmnopqrstuvwxyz123456
Note that API key 'abcdefghijklmnopqrstuvwxyz123456' is for demonstration purposes only. Use a registered API key instead.
<?xml version="1.0" encoding="utf-8" ?> <categories> <category id="16" name="Exports" parent_id="13"/> <category id="17" name="Imports" parent_id="13"/> <category id="3000" name="Income Payments & Receipts" parent_id="13"/> <category id="125" name="Trade Balance" parent_id="13"/> <category id="127" name="U.S. International Finance" parent_id="13"/> </categories>
The category tag's notes attribute is optional.
Read API Keys for more information.
The id for a category.