search_textstringbắt buộc
The words to match against economic data series.
https://api.sandbase.ai/v1/api/fred/series-searchSearch Series from FRED. Returns the official FRED API response unchanged.
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp Run.
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.
popularity.filter_variable and filter_value.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.
| Name | Type | Required | Description |
|---|---|---|---|
search_text | string | Yes | The words to match against economic data series. |
exclude_tag_names | string | No | 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 ' |
file_type | string | No | Response format. Only json is supported. |
filter_value | string | No | The value of the filter_variable attribute to filter results by. String, optional, no filter by default |
filter_variable | string | No | The attribute to filter results by. One of the following strings: 'frequency', 'units', 'seasonal_adjustment'. optional, no filter by default |
limit | integer | No | The maximum number of results to return. integer between 1 and 1000, optional, default: 1000 |
offset | integer | No | non-negative integer, optional, default: 0 |
order_by | string | No | 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', 'obser |
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 |
search_type | string | No | 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 possib |
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: If order_by is equal to 'search_rank' or 'popularity', then the de |
tag_names | string | No | 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 reque |
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"
}
| Field | Meaning |
|---|---|
count | Total 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_order | Echo of the paging and sorting settings used for this response. In the example, results are sorted by search_rank in desc order. |
seriess[].id | FRED series ID, such as UNRATE. Use it to fetch details or observations for that series. |
seriess[].title | Name of the series. |
seriess[].units / seriess[].units_short | Unit of the series values in long and short form, such as Percent and %. |
seriess[].frequency / seriess[].frequency_short | How often the series is published, such as Monthly and M. |
seriess[].seasonal_adjustment / seriess[].seasonal_adjustment_short | Whether the series is seasonally adjusted, such as Seasonally Adjusted and SA. |
seriess[].observation_start / seriess[].observation_end | First and last observation dates of the series, formatted YYYY-MM-DD. |
seriess[].popularity / seriess[].group_popularity | Popularity scores for the series and for its group of related series. Higher values mean more popular. |
seriess[].notes | Description text for the series. Long text may be cut, and the field may be missing for some series. |
seriess key (with a double s).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.id to FRED Get Series Observations to get the data values, or to FRED Get Series for series metadata.$0.00001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
curl -X POST "https://api.sandbase.ai/v1/api/fred/series-search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"limit": 1000,
"offset": 0,
"file_type": "json",
"search_text": "unemployment",
"search_type": "full_text"
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
search_textstringbắt buộcThe words to match against economic data series.
exclude_tag_namesstringA 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
file_typestringResponse format. Only json is supported.
Mặc định: "json"
Giá trị có thể dùng: json
filter_valuestringThe value of the filter_variable attribute to filter results by. String, optional, no filter by default
filter_variablestringThe attribute to filter results by. One of the following strings: 'frequency', 'units', 'seasonal_adjustment'. optional, no filter by default
Giá trị có thể dùng: frequency, units, seasonal_adjustment
limitintegerThe maximum number of results to return. integer between 1 and 1000, optional, default: 1000
Mặc định: 1000
offsetintegernon-negative integer, optional, default: 0
Mặc định: 0
order_bystringOrder 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
Giá trị có thể dùng: search_rank, series_id, title, units, frequency, seasonal_adjustment, realtime_start, realtime_end, last_updated, observation_start, observation_end, popularity, group_popularity
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
search_typestringDetermines 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
Mặc định: "full_text"
Giá trị có thể dùng: full_text, series_id
sort_orderstringSort 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'.
Giá trị có thể dùng: asc, desc
tag_namesstringA 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 .
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
Chưa có phản hồi đã lưu nào được công bố. Chạy API trong Playground để xem phản hồi.
Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
FRED Search SeriesAPI này FRED | $0.00001 mỗi lần gọi | JSON |
FRED | $0.00001 mỗi lần gọi | JSON |
FRED | $0.00001 mỗi lần gọi | JSON |
FRED | $0.00001 mỗi lần gọi | JSON |
FRED | $0.00001 mỗi lần gọi | JSON |
FRED | $0.00001 mỗi lần gọi | JSON |
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/fred/series-search với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.
$0.00001 mỗi lần gọi. Mỗi tổ chức được 100 lần gọi miễn phí mỗi ngày UTC, dùng chung cho các API SandBase đủ điều kiện, bao gồm API này; sau đó mỗi lần gọi sẽ được tính theo mức giá này từ số dư SandBase của bạn. Không có gói đăng ký.
Bắt buộc: search_text (string). Tùy chọn: exclude_tag_names (string), file_type (một trong số json), filter_value (string), filter_variable (một trong số frequency, units, seasonal_adjustment), limit (integer) và offset (integer) và 6 mục khác. Bảng Parameters và Playground trên trang này liệt kê mọi trường.
Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.
Không. FRED Search Series chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của FRED.