Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

FRED Search Series

API 文件
https://api.sandbase.ai/v1/api/fred/series-search

Search Series from FRED. Returns the official FRED API response unchanged.

價格
$0.00001美元/次呼叫
方法
POST
回應
JSON
參數
1 個必填 · 12 個選填
每天 100 次免費呼叫每天前 100 次呼叫免費(按組織共用)· 於 UTC 00:00 重設。之後按次收費。

Playground

輸入
The words to match against economic data series.
A semicolon delimited list of tag names that series match none of. String, optional, no filtering by tags by default. Example value: 'discontinued;m1'. Filter results to series having neither tag 'discontinued' nor tag 'm1'. Parameter exclude_tag_names requires that parameter tag_names also be set t
Response format. Only json is supported.
The value of the filter_variable attribute to filter results by. String, optional, no filter by default
The attribute to filter results by. One of the following strings: 'frequency', 'units', 'seasonal_adjustment'. optional, no filter by default
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: 'search_rank', 'series_id', 'title', 'units', 'frequency', 'seasonal_adjustment', 'realtime_start', 'realtime_end', 'last_updated', 'observation_start', 'observation_end', 'popularity', 'group_popularity'. optional, de
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
Determines the type of search to perform. One of the following strings: 'full_text', 'series_id'. 'full_text' searches series attributes title, units, frequency, and tags by parsing words into stems. This makes it possible for searches like 'Industry' to match series containing related words such as
Sort results is ascending or descending order for attribute values specified by order_by. One of the following strings: 'asc', 'desc'. optional, default: If order_by is equal to 'search_rank' or 'popularity', then the default value of sort_order is 'desc'. Otherwise, the default sort order is 'asc'.
A semicolon delimited list of tag names that series match all of. String, optional, no filtering by tags by default Example value: 'usa;m2'. Filter results to series having both tags 'usa' and 'm2'. See the related request fred/tags .
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

FRED Search Series API

Searches FRED economic data series by keyword or series ID. It returns a list of matching series with title, units, frequency, seasonal adjustment and the dates the data covers. It needs one input, search_text.

Use cases

  • Find the FRED series ID for a topic such as unemployment before you pull its data.
  • Compare seasonally adjusted and not seasonally adjusted versions of the same series.
  • Build a search box for economic indicators that ranks results by popularity.
  • List all monthly series that match a keyword by using filter_variable and filter_value.

Request

curl -X POST "https://api.sandbase.ai/v1/api/fred/series-search" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"search_text": "unemployment", "file_type": "json"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
search_textstringYesThe words to match against economic data series.
exclude_tag_namesstringNoA semicolon delimited list of tag names that series match none of. String, optional, no filtering by tags by default. Example value: 'discontinued;m1'. Filter results to series having neither tag 'discontinued' nor tag '
file_typestringNoResponse format. Only json is supported.
filter_valuestringNoThe value of the filter_variable attribute to filter results by. String, optional, no filter by default
filter_variablestringNoThe attribute to filter results by. One of the following strings: 'frequency', 'units', 'seasonal_adjustment'. optional, no filter by default
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: 'search_rank', 'series_id', 'title', 'units', 'frequency', 'seasonal_adjustment', 'realtime_start', 'realtime_end', 'last_updated', 'obser
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
search_typestringNoDetermines the type of search to perform. One of the following strings: 'full_text', 'series_id'. 'full_text' searches series attributes title, units, frequency, and tags by parsing words into stems. This makes it possib
sort_orderstringNoSort results is ascending or descending order for attribute values specified by order_by. One of the following strings: 'asc', 'desc'. optional, default: If order_by is equal to 'search_rank' or 'popularity', then the de
tag_namesstringNoA semicolon delimited list of tag names that series match all of. String, optional, no filtering by tags by default Example value: 'usa;m2'. Filter results to series having both tags 'usa' and 'm2'. See the related reque

Example response

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

{
  "count": 53486,
  "limit": 1000,
  "offset": 0,
  "order_by": "search_rank",
  "realtime_end": "2026-11-03",
  "realtime_start": "2026-11-03",
  "seriess": [
    {
      "frequency": "Monthly",
      "frequency_short": "M",
      "group_popularity": 96,
      "id": "UNRATE",
      "last_updated": "2026-10-02 08:24:37-05",
      "notes": "The unemployment rate represents the number of unemployed as a percentage of the…",
      "observation_end": "2026-09-01",
      "observation_start": "1948-01-01",
      "popularity": 96,
      "realtime_end": "2026-11-03",
      "realtime_start": "2026-11-03",
      "seasonal_adjustment": "Seasonally Adjusted"
    }
  ],
  "sort_order": "desc"
}

Response fields

FieldMeaning
countTotal number of series that match the search. This can be larger than the number of rows returned in one call.
limit / offset / order_by / sort_orderEcho of the paging and sorting settings used for this response. In the example, results are sorted by search_rank in desc order.
seriess[].idFRED series ID, such as UNRATE. Use it to fetch details or observations for that series.
seriess[].titleName of the series.
seriess[].units / seriess[].units_shortUnit of the series values in long and short form, such as Percent and %.
seriess[].frequency / seriess[].frequency_shortHow often the series is published, such as Monthly and M.
seriess[].seasonal_adjustment / seriess[].seasonal_adjustment_shortWhether the series is seasonally adjusted, such as Seasonally Adjusted and SA.
seriess[].observation_start / seriess[].observation_endFirst and last observation dates of the series, formatted YYYY-MM-DD.
seriess[].popularity / seriess[].group_popularityPopularity scores for the series and for its group of related series. Higher values mean more popular.
seriess[].notesDescription text for the series. Long text may be cut, and the field may be missing for some series.

Notes

  • The list is in the seriess key (with a double s).
  • Page through results with limit (1 to 1000) and offset. Compare count with offset to see how many results remain.
  • last_updated uses the format YYYY-MM-DD HH:MM:SS followed by a UTC offset, such as 2026-10-02 08:24:37-05.
  • Pass an id to FRED Get Series Observations to get the data values, or to FRED Get Series for series metadata.

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.00001JSON
FRED每次呼叫 $0.00001JSON
FRED每次呼叫 $0.00001JSON
FRED每次呼叫 $0.00001JSON
FRED每次呼叫 $0.00001JSON
FRED每次呼叫 $0.00001JSON

問題

常見問題

我要如何使用 FRED Search Series API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/fred/series-search。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

FRED Search Series API 的費用是多少?

每次 $0.00001。每個組織每個 UTC 日可免費呼叫 100 次,並可在包含此 API 在內的所有符合資格之 SandBase APIs 間共用;超過後,每次呼叫都會從您的 SandBase 餘額中以此價格計費。沒有訂閱方案。

FRED Search Series API 接受哪些參數?

必要:search_text (string)。 選填:exclude_tag_names (string), file_type(json 之一), filter_value (string), filter_variable(frequency, units, seasonal_adjustment 之一), limit (integer) 和 offset (integer),以及另外 6 個。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

FRED Search Series API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 FRED 開發者帳號或 API 金鑰嗎?

不需要。FRED Search Series 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 FRED API 存取權。