Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

FRED Get Series

Tài liệu API
https://api.sandbase.ai/v1/api/fred/series

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

Giá
$0.00001USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 3 tùy chọn
100 lượt gọi miễn phí / ngày100 lượt gọi đầu tiên mỗi ngày miễn phí (chia sẻ theo tổ chức) · Đặt lại lúc 00:00 UTC. Sau đó tính phí theo mỗi lượt gọi.

Phòng thử nghiệm

Đầu vào
The id for a series. string, required
Response format. Only json is supported.
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
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

FRED Get Series API

Returns metadata for one FRED economic data series, such as its title, units, frequency and date range. It needs a series_id, for example GDP.

Use cases

  • Show the title, units and update frequency of a series before you chart it.
  • Check the observation_start and observation_end dates to see how much history a series covers.
  • Read seasonal_adjustment to tell adjusted series from unadjusted ones.
  • Sort candidate series by popularity when you build a series picker.

Request

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

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

Parameters

NameTypeRequiredDescription
series_idstringYesThe id for a series. string, required
file_typestringNoResponse format. Only json is supported.
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

Example response

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

{
  "realtime_end": "2026-10-29",
  "realtime_start": "2026-10-29",
  "seriess": [
    {
      "frequency": "Quarterly",
      "frequency_short": "Q",
      "id": "GDP",
      "last_updated": "2026-10-29 08:03:33-05",
      "notes": "BEA Account Code: A191RC\n\nGross domestic product (GDP), the featured measure of …",
      "observation_end": "2026-07-01",
      "observation_start": "1947-01-01",
      "popularity": 92,
      "realtime_end": "2026-10-29",
      "realtime_start": "2026-10-29",
      "seasonal_adjustment": "Seasonally Adjusted Annual Rate",
      "seasonal_adjustment_short": "SAAR"
    }
  ]
}

Response fields

FieldMeaning
seriess[]List of matching series. A request for one series_id returns one item.
seriess[].idThe series ID, such as GDP. Use it in other FRED calls.
seriess[].titleFull name of the series, such as Gross Domestic Product.
seriess[].frequency / seriess[].frequency_shortHow often the series reports data, as a full word (Quarterly) and a short code (Q).
seriess[].units / seriess[].units_shortUnit of the values, in long form (Billions of Dollars) and short form (Bil. of $).
seriess[].seasonal_adjustment / seriess[].seasonal_adjustment_shortSeasonal adjustment of the series, in long form (Seasonally Adjusted Annual Rate) and short form (SAAR).
seriess[].observation_start / seriess[].observation_endDates of the first and last observation in the series, in YYYY-MM-DD format.
seriess[].last_updatedTimestamp of the last update to the series, with a time zone offset.
seriess[].popularityPopularity score of the series. The value is 92 for GDP.
seriess[].notesFree-text description of the series, including the source account code and a definition.
realtime_start / realtime_endThe real-time period the response applies to. Both are also repeated on each series.

Notes

  • Use realtime_start and realtime_end in YYYY-MM-DD format to set the real-time period. Both default to today's date.
  • This call returns metadata only. To get the data points, call FRED Get Series Observations.
  • To find a series_id when you do not have one, call FRED Search Series.
  • To see which release a series belongs to, call FRED Get Series Release.

Pricing

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

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
FRED$0.00001 mỗi lần gọiJSON
FRED$0.00001 mỗi lần gọiJSON
FRED$0.00001 mỗi lần gọiJSON
FRED$0.00001 mỗi lần gọiJSON
FRED$0.00001 mỗi lần gọiJSON
FRED$0.00001 mỗi lần gọiJSON

Câu hỏi

FAQ

Làm thế nào để dùng API FRED Get Series?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/fred/series 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.

API FRED Get Series có giá bao nhiêu?

$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ý.

API FRED Get Series chấp nhận những tham số nào?

Bắt buộc: series_id (string). Tùy chọn: file_type (một trong số json), realtime_end (string) và realtime_start (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API FRED Get Series trả về gì?

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.

Tôi có cần tài khoản nhà phát triển hoặc API key của FRED không?

Không. FRED Get 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.