Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

FRED Get Source

เอกสาร API
https://api.sandbase.ai/v1/api/fred/source

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

ราคา
$0.00001USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
1 จำเป็น · 3 ไม่บังคับ

Playground

อินพุต
The id for a source. integer, 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
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

API README

FRED Get Source API

Returns details for one data source in FRED, such as the Federal Reserve Board. It needs a numeric source_id and returns the source name, website link, and the real-time period used for the lookup.

Use cases

  • Show the full name and website of the organization behind a FRED data set.
  • Turn a source_id from a release or series lookup into a readable source name.
  • Add a source credit and link to a chart or report built on FRED data.

Request

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

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

Parameters

NameTypeRequiredDescription
source_idintegerYesThe id for a source. integer, 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-11-02",
  "realtime_start": "2026-11-02",
  "sources": [
    {
      "id": 1,
      "link": "https://www.federalreserve.gov",
      "name": "Board of Governors of the Federal Reserve System (US)",
      "realtime_end": "2026-11-02",
      "realtime_start": "2026-11-02"
    }
  ]
}

Response fields

FieldMeaning
sources[]List of matching sources. A request with one source_id returns one item.
sources[].idNumeric ID of the source. It matches the source_id you sent.
sources[].nameFull name of the organization that publishes the data, for example Board of Governors of the Federal Reserve System (US).
sources[].linkWebsite URL of the source.
realtime_start / realtime_endStart and end dates of the real-time period for the response, in YYYY-MM-DD format.
sources[].realtime_start / sources[].realtime_endReal-time period applied to this source record, in YYYY-MM-DD format.

Notes

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 Get SourceAPI นี้
FRED
$0.00001 ต่อการเรียกJSON
FRED$0.00001 ต่อการเรียกJSON
FRED$0.00001 ต่อการเรียกJSON
FRED$0.00001 ต่อการเรียกJSON
FRED$0.00001 ต่อการเรียกJSON
FRED$0.00001 ต่อการเรียกJSON

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ FRED Get Source API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/fred/source โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

FRED Get Source API ราคาเท่าไร?

$0.00001 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

FRED Get Source API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: source_id (integer). ตัวเลือก: file_type (หนึ่งใน json), realtime_end (string) และ realtime_start (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

FRED Get Source API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ FRED ไหม?

ไม่จำเป็น FRED Get Source ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง FRED API แยกต่างหาก