FRED Get Related Tags API
Returns FRED tags that appear on the same series as the tags you give. You pass one or more tag names in tag_names, and each result includes the tag's group, popularity and number of series.
Use cases
- List the tags that co-occur with
usa to find narrower topics for a US data search.
- Filter by
tag_group_id to see only related geography, frequency or source tags for a tag set.
- Sort by
popularity to find the most used tags linked to a topic.
- Build a tag browser that lets users refine a FRED series search step by step.
Request
curl -X POST "https://api.sandbase.ai/v1/api/fred/related-tags" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"tag_names": "usa", "file_type": "json"}'
The result is returned in outputs[0].data.
Parameters
Example response
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"count": 5956,
"limit": 1000,
"offset": 0,
"order_by": "series_count",
"realtime_end": "2026-11-02",
"realtime_start": "2026-11-02",
"sort_order": "asc",
"tags": [
{
"created": "2015-04-01 08:44:27-05",
"group_id": "gen",
"name": "0 to 14 years",
"notes": "",
"popularity": 16,
"series_count": 2
}
]
}
Response fields
Notes
tag_names is required. Separate several names with semicolons, for example monetary+aggregates;weekly. Use FRED Get Tags to find valid tag names.
- Page through results with
limit (1 to 1000, default 1000) and offset. Compare count with offset plus limit to see if more pages remain.
- Results default to
order_by series_count in ascending order. Set sort_order to desc to see the most used tags first.
- To get the series that carry a tag set, call FRED Get Tags Series.
Pricing
$0.00001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.