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

FRED Get Series Tags

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

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

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

Playground

อินพุต
The id for a series. string, required
Response format. Only json is supported.
Order results by values of the specified attribute. One of the following strings: 'series_count', 'popularity', 'created', 'name', 'group_id'. optional, default: series_count
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
Sort results is ascending or descending order for attribute values specified by order_by. One of the following strings: 'asc', 'desc'. optional, default: asc
เอาต์พุตพร้อมใช้งาน

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

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

API README

FRED Get Series Tags API

Returns the FRED tags attached to one economic data series. Each tag includes its group, a short description, a popularity score, and the number of series that use it. The only required input is series_id, such as GNPCA.

Use cases

  • List the tags on a series such as GNPCA to see how FRED classifies it, for example gnp or nipa.
  • Sort a series' tags by popularity to pick the best tag for finding similar series.
  • Build a tag filter or label display for a series page using name and notes.
  • Find broad tags with a high series_count and use them to browse related data.

Request

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

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.
order_bystringNoOrder results by values of the specified attribute. One of the following strings: 'series_count', 'popularity', 'created', 'name', 'group_id'. optional, default: series_count
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
sort_orderstringNoSort results is ascending or descending order for attribute values specified by order_by. One of the following strings: 'asc', 'desc'. optional, default: asc

Example response

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

{
  "count": 10,
  "limit": 1000,
  "offset": 0,
  "order_by": "series_count",
  "realtime_end": "2026-11-03",
  "realtime_start": "2026-11-03",
  "sort_order": "asc",
  "tags": [
    {
      "created": "2012-02-27 10:18:19-06",
      "group_id": "gen",
      "name": "gnp",
      "notes": "Gross National Product",
      "popularity": 28,
      "series_count": 268
    }
  ]
}

Response fields

FieldMeaning
countTotal number of tags attached to the series.
limit / offsetPage size and starting position of the returned tag list. The sample shows limit 1000 and offset 0.
order_by / sort_orderSort attribute and direction applied to the tags. The sample shows series_count and asc.
realtime_start / realtime_endReal-time period applied to the request, as YYYY-MM-DD dates.
tags[].nameTag name, for example gnp or nipa. Use it as a tag value in other FRED calls.
tags[].notesShort description of the tag. It can be an empty string.
tags[].group_idGroup the tag belongs to, for example gen or rls.
tags[].popularityPopularity score of the tag. Higher values mean a more popular tag.
tags[].series_countNumber of series that carry this tag.
tags[].createdTimestamp when the tag was created, with a UTC offset, such as 2012-02-27 10:18:19-06.

Notes

  • series_id is the FRED series ID. You can find one with FRED Search Series.
  • Use order_by (series_count, popularity, created, name, group_id) and sort_order (asc, desc) to change the tag order.
  • To find other series that carry a tag, pass its name to FRED Get Tags Series.
  • To see tags that often appear with a given tag, call FRED Get Related Tags.

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.00001 ต่อการเรียกJSON
FRED$0.00001 ต่อการเรียกJSON
FRED$0.00001 ต่อการเรียกJSON
FRED$0.00001 ต่อการเรียกJSON
FRED$0.00001 ต่อการเรียกJSON
FRED$0.00001 ต่อการเรียกJSON

คำถาม

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

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

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

FRED Get Series Tags API ราคาเท่าไร?

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

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

ที่ต้องระบุ: series_id (string). ตัวเลือก: file_type (หนึ่งใน json), order_by (หนึ่งใน series_count, popularity, created, name, group_id), realtime_end (string), realtime_start (string) และ sort_order (หนึ่งใน asc, desc). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

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

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

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

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