美国新发建筑许可

接口介绍

接口:us_bp
描述:美国新发建筑许可数据
限量:单次最大300条,可根据代码或日期循环提取
积分:需要5000积分可以调取,具体请参阅积分获取办法

输入参数

名称 类型 必选 描述
trade_date str N 交易日期(YYYYMMDD)
start_date str N 开始日期(YYYYMMDD)
end_date str N 结束日期(YYYYMMDD)

输出参数

名称 类型 默认显示 描述
trade_date str Y 日期
category str Y 数据分类
unit str Y 单位
value float Y 值

代码示例

# 导入sdk包
import tushare as ts

# 获取接口实例
pro = ts.pro_api()

# 拉取接口(us_bp)数据
# 获取指定时间区间美国新发建筑许可数据
df = pro.us_bp(start_date="20260101", end_date="20260901")
print(df)

数据结果

  trade_date          category      unit        value
0   20260901  Building Permits  Thousand  1400.000000
1   20260801  Building Permits  Thousand  1394.000000
2   20260701  Building Permits  Thousand  1443.000000
3   20260601  Building Permits  Thousand  1367.000000
4   20260501  Building Permits  Thousand  1413.000000
5   20260401  Building Permits  Thousand  1442.000000
6   20260301  Building Permits  Thousand  1372.000000
7   20260201  Building Permits  Thousand  1538.000000
8   20260101  Building Permits  Thousand  1376.000000
置顶