series_idstring必須
The id for a series. string, required
https://api.sandbase.ai/v1/api/fred/seriesGet Series from FRED. Returns the official FRED API response unchanged.
出力はここに表示されます
入力を完了してから[実行]をクリックしてください。
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.
observation_start and observation_end dates to see how much history a series covers.seasonal_adjustment to tell adjusted series from unadjusted ones.popularity when you build a series picker.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.
| 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. |
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 |
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"
}
]
}
| Field | Meaning |
|---|---|
seriess[] | List of matching series. A request for one series_id returns one item. |
seriess[].id | The series ID, such as GDP. Use it in other FRED calls. |
seriess[].title | Full name of the series, such as Gross Domestic Product. |
seriess[].frequency / seriess[].frequency_short | How often the series reports data, as a full word (Quarterly) and a short code (Q). |
seriess[].units / seriess[].units_short | Unit of the values, in long form (Billions of Dollars) and short form (Bil. of $). |
seriess[].seasonal_adjustment / seriess[].seasonal_adjustment_short | Seasonal adjustment of the series, in long form (Seasonally Adjusted Annual Rate) and short form (SAAR). |
seriess[].observation_start / seriess[].observation_end | Dates of the first and last observation in the series, in YYYY-MM-DD format. |
seriess[].last_updated | Timestamp of the last update to the series, with a time zone offset. |
seriess[].popularity | Popularity score of the series. The value is 92 for GDP. |
seriess[].notes | Free-text description of the series, including the source account code and a definition. |
realtime_start / realtime_end | The real-time period the response applies to. Both are also repeated on each series. |
realtime_start and realtime_end in YYYY-MM-DD format to set the real-time period. Both default to today's date.series_id when you do not have one, call FRED Search Series.$0.00001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
開発を始める
統一認証と使用状況の追跡を備えたプラットフォームAPIエンドポイントです。
curl -X POST "https://api.sandbase.ai/v1/api/fred/series" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"file_type": "json",
"series_id": "GDP"
}'SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
series_idstring必須The id for a series. string, required
file_typestringResponse format. Only json is supported.
デフォルト: "json"
指定可能な値: json
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
このAPIの保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
保存済みレスポンスはまだ公開されていません。PlaygroundでAPIを実行し、レスポンスを確認してください。
さらに探索
| API | 価格 | レスポンス |
|---|---|---|
FRED Get Seriesこの 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 |
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/fred/series に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.00001。各組織には UTC 日ごとに 100 回の無料呼び出しが付与され、この API を含む対象の SandBase API 全体で共有されます。それ以降は、各呼び出しが SandBase 残高からこの料金で課金されます。サブスクリプションはありません。
必須: series_id (string)。 任意: file_type(json のいずれか), realtime_end (string) と realtime_start (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。
いいえ。FRED Get Series は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。FRED の API アクセスを別途申請する必要はありません。