Sand AISand AI MAGI-2MAGI-2 теперь на SandBase: видео 1080p с нативным звукомПопробовать сейчас

FRED Get Tags Series

Документация API
https://api.sandbase.ai/v1/api/fred/tags-series

Get Tags Series from FRED. Returns the official FRED API response unchanged.

Цена
$0.00001USD / вызов
Метод
POST
Ответ
JSON
Параметры
1 обязательных · 8 необязательных

Песочница

Ввод
A semicolon delimited list of tag names that series match all of. String, required, no default value. Example value: 'slovenia;food'. Filter results to series having both tags 'slovenia' and 'food'. See the related request fred/tags .
A semicolon delimited list of tag names that series match none of. String, optional, no default value. Example value: 'alchohol;quarterly'. Filter results to series having neither tag 'alchohol' nor tag 'quarterly'.
Response format. Only json is supported.
11000
The maximum number of results to return. integer between 1 and 1000, optional, default: 1000 Диапазон: от 1 до 1000.
non-negative integer, optional, default: 0 Минимум: 0.
Order results by values of the specified attribute. One of the following strings: 'series_id', 'title', 'units', 'frequency', 'seasonal_adjustment', 'realtime_start', 'realtime_end', 'last_updated', 'observation_start', 'observation_end', 'popularity', 'group_popularity'. optional, default: series_i
The end of the real-time period. For more information, see Real-Time Periods . YYYY-MM-DD formatted string, optional, default: today's date
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 results is ascending or descending order for attribute values specified by order_by. One of the following strings: 'asc', 'desc'. optional, default: asc
ВыходГотово

Ваш результат появится здесь

Заполните входные данные, затем нажмите «Запустить».

README по API

FRED Get Tags Series API

Returns the FRED data series that carry all of the tags you list. You send one or more tag names in tag_names, and the response lists matching series with their title, units, frequency and date range.

Use cases

  • List every FRED series tagged usa and quarterly to build a catalog of U.S. quarterly indicators.
  • Sort matches by popularity to find the most used series for a topic.
  • Exclude unwanted tags with exclude_tag_names to narrow a broad tag down to the series you need.
  • Page through all matches to sync series IDs and metadata into your own database.

Request

curl -X POST "https://api.sandbase.ai/v1/api/fred/tags-series" \
  -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

NameTypeRequiredDescription
tag_namesstringYesA semicolon delimited list of tag names that series match all of. String, required, no default value. Example value: 'slovenia;food'. Filter results to series having both tags 'slovenia' and 'food'. See the related reque
exclude_tag_namesstringNoA semicolon delimited list of tag names that series match none of. String, optional, no default value. Example value: 'alchohol;quarterly'. Filter results to series having neither tag 'alchohol' nor tag 'quarterly'.
file_typestringNoResponse format. Only json is supported.
limitintegerNoThe maximum number of results to return. integer between 1 and 1000, optional, default: 1000
offsetintegerNonon-negative integer, optional, default: 0
order_bystringNoOrder results by values of the specified attribute. One of the following strings: 'series_id', 'title', 'units', 'frequency', 'seasonal_adjustment', 'realtime_start', 'realtime_end', 'last_updated', 'observation_start',
realtime_endstringNoThe end of the real-time period. For more information, see Real-Time Periods . YYYY-MM-DD formatted string, optional, default: today's date
realtime_startstringNoThe start of the real-time period. For more information, see Real-Time Periods . YYYY-MM-DD formatted string, optional, default: today's date
sort_orderstringNoSort results is ascending or descending order for attribute values specified by order_by. One of the following strings: 'asc', 'desc'. optional, default: asc

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "count": 679198,
  "limit": 1000,
  "offset": 0,
  "order_by": "series_id",
  "realtime_end": "2026-11-03",
  "realtime_start": "2026-11-03",
  "seriess": [
    {
      "frequency": "Quarterly",
      "frequency_short": "Q",
      "group_popularity": 1,
      "id": "101458USN",
      "last_updated": "2026-09-08 09:11:33-05",
      "notes": "Further information related to the Quarterly Financial Report survey can be foun…",
      "observation_end": "2026-04-01",
      "observation_start": "2000-10-01",
      "popularity": 1,
      "realtime_end": "2026-11-03",
      "realtime_start": "2026-11-03",
      "seasonal_adjustment": "Not Seasonally Adjusted"
    }
  ],
  "sort_order": "asc"
}

Response fields

FieldMeaning
countTotal number of series that match the tag filter. Use it with limit and offset to page through results.
limit / offset / order_by / sort_orderEcho of the paging and sorting settings used for this response.
realtime_start / realtime_endThe real-time period applied to the request, as YYYY-MM-DD dates. Each series item repeats these values.
seriess[].idThe FRED series ID, for example 101458USN. Use it to look up the series in other FRED calls.
seriess[].titleFull name of the series.
seriess[].frequency / seriess[].frequency_shortHow often the series is observed, as a full word (Quarterly) and a short code (Q).
seriess[].units / seriess[].units_shortThe unit of the values, as a full label (Millions of Dollars) and a short label.
seriess[].seasonal_adjustment / seriess[].seasonal_adjustment_shortWhether the series is seasonally adjusted, as a full label (Not Seasonally Adjusted) and a short code (NSA).
seriess[].observation_start / seriess[].observation_endFirst and last observation dates of the series.
seriess[].popularity / seriess[].group_popularityPopularity scores for the series and for its group of related series.

Notes

  • The series list is under the key seriess (with a double s).
  • Use limit (1 to 1000) and offset to page. Compare offset plus limit against count to know when to stop.
  • Get valid tag names from FRED Get Tags. Separate several names with a semicolon, for example usa;quarterly.
  • Pass a series id to FRED Get Series Observations to fetch the data values.

Pricing

$0.00001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Посмотреть больше

Связанные APIs

Все APIs
APIЦенаОтвет
FRED$0.00001 за запросJSON
FRED$0.00001 за запросJSON
FRED$0.00001 за запросJSON
FRED$0.00001 за запросJSON
FRED$0.00001 за запросJSON
FRED$0.00001 за запросJSON

Вопросы

FAQ

Как использовать API FRED Get Tags Series?

Отправьте POST-запрос на https://api.sandbase.ai/v1/api/fred/tags-series, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.

Сколько стоит API FRED Get Tags Series?

$0.00001 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.

Какие параметры принимает API FRED Get Tags Series?

Обязательные: tag_names (string). Необязательные: exclude_tag_names (string), file_type (один из json), limit (integer), offset (integer), order_by (один из series_id, title, units, frequency, seasonal_adjustment, realtime_start, realtime_end, last_updated, observation_start, observation_end, popularity, group_popularity) и realtime_end (string) и еще 2. В таблице Parameters и в Playground на этой странице перечислены все поля.

Что возвращает API FRED Get Tags Series?

JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.

Нужен ли мне аккаунт разработчика FRED или API key?

Нет. FRED Get Tags Series работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API FRED.