series_idstringwymagane
The id for a series. string, required
https://api.sandbase.ai/v1/api/fred/series-tagsGet Series Tags from FRED. Returns the official FRED API response unchanged.
Twój wynik pojawi się tutaj
Uzupełnij dane wejściowe, a następnie kliknij Uruchom.
Returns the FRED tags attached to one economic data series. Each tag includes its group, a short description, a popularity score, and the number of series that use it. The only required input is series_id, such as GNPCA.
GNPCA to see how FRED classifies it, for example gnp or nipa.popularity to pick the best tag for finding similar series.name and notes.series_count and use them to browse related data.curl -X POST "https://api.sandbase.ai/v1/api/fred/series-tags" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"series_id": "GNPCA", "file_type": "json"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
series_id | string | Yes | The id for a series. string, required |
file_type | string | No | Response format. Only json is supported. |
order_by | string | No | Order results by values of the specified attribute. One of the following strings: 'series_count', 'popularity', 'created', 'name', 'group_id'. optional, default: series_count |
realtime_end | string | No | The end of the real-time period. For more information, see Real-Time Periods . YYYY-MM-DD formatted string, optional, default: today's date |
realtime_start | string | No | The start of the real-time period. For more information, see Real-Time Periods . YYYY-MM-DD formatted string, optional, default: today's date |
sort_order | string | No | Sort results is ascending or descending order for attribute values specified by order_by. One of the following strings: 'asc', 'desc'. optional, default: asc |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"count": 10,
"limit": 1000,
"offset": 0,
"order_by": "series_count",
"realtime_end": "2026-11-03",
"realtime_start": "2026-11-03",
"sort_order": "asc",
"tags": [
{
"created": "2012-02-27 10:18:19-06",
"group_id": "gen",
"name": "gnp",
"notes": "Gross National Product",
"popularity": 28,
"series_count": 268
}
]
}
| Field | Meaning |
|---|---|
count | Total number of tags attached to the series. |
limit / offset | Page size and starting position of the returned tag list. The sample shows limit 1000 and offset 0. |
order_by / sort_order | Sort attribute and direction applied to the tags. The sample shows series_count and asc. |
realtime_start / realtime_end | Real-time period applied to the request, as YYYY-MM-DD dates. |
tags[].name | Tag name, for example gnp or nipa. Use it as a tag value in other FRED calls. |
tags[].notes | Short description of the tag. It can be an empty string. |
tags[].group_id | Group the tag belongs to, for example gen or rls. |
tags[].popularity | Popularity score of the tag. Higher values mean a more popular tag. |
tags[].series_count | Number of series that carry this tag. |
tags[].created | Timestamp when the tag was created, with a UTC offset, such as 2012-02-27 10:18:19-06. |
series_id is the FRED series ID. You can find one with FRED Search Series.order_by (series_count, popularity, created, name, group_id) and sort_order (asc, desc) to change the tag order.name to FRED Get Tags Series.$0.00001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
curl -X POST "https://api.sandbase.ai/v1/api/fred/series-tags" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"order_by": "series_count",
"file_type": "json",
"series_id": "GNPCA",
"sort_order": "asc"
}'Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
series_idstringwymaganeThe id for a series. string, required
file_typestringResponse format. Only json is supported.
Domyślnie: "json"
Możliwe wartości: json
order_bystringOrder results by values of the specified attribute. One of the following strings: 'series_count', 'popularity', 'created', 'name', 'group_id'. optional, default: series_count
Domyślnie: "series_count"
Możliwe wartości: series_count, popularity, created, name, group_id
realtime_endstringThe end of the real-time period. For more information, see Real-Time Periods . YYYY-MM-DD formatted string, optional, default: today's date
realtime_startstringThe start of the real-time period. For more information, see Real-Time Periods . YYYY-MM-DD formatted string, optional, default: today's date
sort_orderstringSort results is ascending or descending order for attribute values specified by order_by. One of the following strings: 'asc', 'desc'. optional, default: asc
Domyślnie: "asc"
Możliwe wartości: asc, desc
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
Nie opublikowano zapisanego response. Uruchom API w Playground, aby sprawdzić jego odpowiedź.
Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
FRED Get Series TagsTo API FRED | $0.00001 za wywołanie | JSON |
FRED | $0.00001 za wywołanie | JSON |
FRED | $0.00001 za wywołanie | JSON |
FRED | $0.00001 za wywołanie | JSON |
FRED | $0.00001 za wywołanie | JSON |
FRED | $0.00001 za wywołanie | JSON |
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/fred/series-tags z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.
$0.00001 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Wymagane: series_id (string). Opcjonalne: file_type (jedna z opcji: json), order_by (jedna z opcji: series_count, popularity, created, name, group_id), realtime_end (string), realtime_start (string) i sort_order (jedna z opcji: asc, desc). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.
Nie. FRED Get Series Tags działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API FRED.