跳转到主要内容
GET
Get Category Series

请求规范

  • 方法与路径: GET /apis/v1/fred/category/series
  • 可用状态: enabled
  • 请求 URL 模板: https://api.aisa.one/apis/v1/fred/category/series
  • category_id: query; 必填
  • exclude_tag_names: query; 可选
  • file_type: query; 可选
  • filter_value: query; 可选
  • filter_variable: query; 可选
  • limit: query; 可选
  • offset: query; 可选
  • order_by: query; 可选
  • realtime_end: query; 可选
  • realtime_start: query; 可选
  • sort_order: query; 可选
  • tag_names: query; 可选
完整 OpenAPI 定义 有效请求声明(包括认证和引用的 schema):

费用与请求规则

公开参考价格:每次成功请求 $0.00001 USD。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

查询参数

category_id
integer
必填

The id for a category. integer, required

exclude_tag_names
string

A semicolon delimited list of tag names that series match none of. String, optional, no filtering by tags by default. Example value: 'discontinued;annual'. Filter results to series having neither tag 'discontinued' nor tag 'annual'. Parameter exclude_tag_names requires that parameter tag_names also be set to limit the number of matching series.

file_type
enum<string>
默认值:xml

A key or file extension that indicates the type of file to send. string, optional, default: xml One of the following values: 'xml', 'json' xml = Extensible Markup Language. The HTTP Content-Type is text/xml. json = JavaScript Object Notation. The HTTP Content-Type is application/json. xml = Extensible Markup Language. The HTTP Content-Type is text/xml. json = JavaScript Object Notation. The HTTP Content-Type is application/json.

可用选项:
xml,
json
filter_value
string

The value of the filter_variable attribute to filter results by. String, optional, no filter by default

filter_variable
enum<string>

The attribute to filter results by. On of the following strings: 'frequency', 'units', 'seasonal_adjustment'. optional, no filter by default

可用选项:
frequency,
units,
seasonal_adjustment
limit
integer
默认值:1000

The maximum number of results to return. integer between 1 and 1000, optional, default: 1000

必填范围: 1 <= x <= 1000
offset
integer
默认值:0

non-negative integer, optional, default: 0

必填范围: x >= 0
order_by
enum<string>
默认值:series_id

Order results by values of the specified attribute. One of the following strings: 'series_id', 'title', 'units', 'frequency', 'seasonal_adjustment', 'realtime_start', 'realtime_end', 'last_updated', 'observation_start', 'observation_end', 'popularity', 'group_popularity'. optional, default: series_id

可用选项:
series_id,
title,
units,
frequency,
seasonal_adjustment,
realtime_start,
realtime_end,
last_updated,
observation_start,
observation_end,
popularity,
group_popularity
realtime_end
string<date>

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<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_order
enum<string>
默认值:asc

Sort results is ascending or descending order for attribute values specified by order_by. One of the following strings: 'asc', ' desc '. optional, default: asc

可用选项:
asc,
desc
tag_names
string

A semicolon delimited list of tag names that series match all of. String, optional, no filtering by tags by default Example value: 'income;bea'. Filter results to series having both tags 'income' and 'bea'. See the related request fred/tags .

响应

Successful response. The payload schema has not been reviewed yet.