美国价格指数api调用

美国价格指数api包含以下指数:

CPIPPI、进出口价格指数。历史数据从1913年开始,按月更新。

接口名称:美国价格指数api

接口平台:聚合数据

接口地址:http://op.juhe.cn/economy/global/us/dataPriceIndex/index

支持格式:json/xml

请求方式:get/post

请求示例:http://op.juhe.cn/economy/global/us/dataPriceIndex/index?indicID=G010000038&beginDate=20130101&endDate=20150101&key=您申请到的appkey

JSON返回示例:

{
    "reason": "成功的返回",
    "result": {
        "data": [
            {
                "indicID": "G010000038",
                "indicName": "月_美国_CPI_同比",
                "publishTime": "2013-02-21 08:30:00",
                "periodDate": "2013-01-31",
                "dataValue": 1.6,
                "unit": "%",
                "region": "美国",
                "dataSource": "美国劳工部",
                "updateTime": "2014-08-06 18:41:57"
            },
            {
                "indicID": "G010000038",
                "indicName": "月_美国_CPI_同比",
                "publishTime": "2013-03-15 08:30:00",
                "periodDate": "2013-02-28",
                "dataValue": 2,
                "unit": "%",
                "region": "美国",
                "dataSource": "美国劳工部",
                "updateTime": "2014-08-06 18:41:56"
            },
            {
                "indicID": "G010000038",
                "indicName": "月_美国_CPI_同比",
                "publishTime": "2013-04-16 08:30:00",
                "periodDate": "2013-03-31",
                "dataValue": 1.5,
                "unit": "%",
                "region": "美国",
                "dataSource": "美国劳工部",
                "updateTime": "2014-08-06 18:41:56"
            },
            {
                "indicID": "G010000038",
                "indicName": "月_美国_CPI_同比",
                "publishTime": "2013-05-16 08:30:00",
                "periodDate": "2013-04-30",
                "dataValue": 1.1,
                "unit": "%",
                "region": "美国",
                "dataSource": "美国劳工部",
                "updateTime": "2014-08-06 18:41:56"
            },
            {
                "indicID": "G010000038",
                "indicName": "月_美国_CPI_同比",
                "publishTime": "2013-06-18 08:30:00",
                "periodDate": "2013-05-31",
                "dataValue": 1.4,
                "unit": "%",
                "region": "美国",
                "dataSource": "美国劳工部",
                "updateTime": "2014-08-06 18:41:56"
            },
            {
                "indicID": "G010000038",
                "indicName": "月_美国_CPI_同比",
                "publishTime": "2013-07-16 08:30:00",
                "periodDate": "2013-06-30",
                "dataValue": 1.8,
                "unit": "%",
                "region": "美国",
                "dataSource": "美国劳工部",
                "updateTime": "2014-08-06 18:41:57"
            },
            {
                "indicID": "G010000038",
                "indicName": "月_美国_CPI_同比",
                "publishTime": "2013-08-15 08:30:00",
                "periodDate": "2013-07-31",
                "dataValue": 2,
                "unit": "%",
                "region": "美国",
                "dataSource": "美国劳工部",
                "updateTime": "2014-08-06 18:41:56"
            },
            {
                "indicID": "G010000038",
                "indicName": "月_美国_CPI_同比",
                "publishTime": "2013-09-17 08:30:00",
                "periodDate": "2013-08-31",
                "dataValue": 1.5,
                "unit": "%",
                "region": "美国",
                "dataSource": "美国劳工部",
                "updateTime": "2014-08-06 18:41:56"
            },
            {
                "indicID": "G010000038",
                "indicName": "月_美国_CPI_同比",
                "publishTime": "2013-10-30 08:30:00",
                "periodDate": "2013-09-30",
                "dataValue": 1.2,
                "unit": "%",
                "region": "美国",
                "dataSource": "美国劳工部",
                "updateTime": "2014-08-06 18:41:57"
            },
            {
                "indicID": "G010000038",
                "indicName": "月_美国_CPI_同比",
                "publishTime": "2013-11-20 08:30:00",
                "periodDate": "2013-10-31",
                "dataValue": 1,
                "unit": "%",
                "region": "美国",
                "dataSource": "美国劳工部",
                "updateTime": "2014-08-06 18:41:56"
            },
            {
                "indicID": "G010000038",
                "indicName": "月_美国_CPI_同比",
                "publishTime": "2013-12-17 08:30:00",
                "periodDate": "2013-11-30",
                "dataValue": 1.2,
                "unit": "%",
                "region": "美国",
                "dataSource": "美国劳工部",
                "updateTime": "2014-11-24 17:44:49"
            },
            {
                "indicID": "G010000038",
                "indicName": "月_美国_CPI_同比",
                "publishTime": "2014-01-16 08:30:00",
                "periodDate": "2013-12-31",
                "dataValue": 1.5,
                "unit": "%",
                "region": "美国",
                "dataSource": "美国劳工部",
                "updateTime": "2014-11-24 17:44:49"
            },
            {
                "indicID": "G010000038",
                "indicName": "月_美国_CPI_同比",
                "publishTime": "2014-02-20 08:30:00",
                "periodDate": "2014-01-31",
                "dataValue": 1.6,
                "unit": "%",
                "region": "美国",
                "dataSource": "美国劳工部",
                "updateTime": "2014-11-24 17:44:49"
            },
            {
                "indicID": "G010000038",
                "indicName": "月_美国_CPI_同比",
                "publishTime": "2014-03-18 08:30:00",
                "periodDate": "2014-02-28",
                "dataValue": 1.1,
                "unit": "%",
                "region": "美国",
                "dataSource": "美国劳工部",
                "updateTime": "2015-03-04 09:20:46"
            },
            {
                "indicID": "G010000038",
                "indicName": "月_美国_CPI_同比",
                "publishTime": "2014-04-15 08:30:00",
                "periodDate": "2014-03-31",
                "dataValue": 1.5,
                "unit": "%",
                "region": "美国",
                "dataSource": "美国劳工部",
                "updateTime": "2015-03-04 09:20:46"
            },
            {
                "indicID": "G010000038",
                "indicName": "月_美国_CPI_同比",
                "publishTime": "2014-05-15 08:30:00",
                "periodDate": "2014-04-30",
                "dataValue": 2,
                "unit": "%",
                "region": "美国",
                "dataSource": "美国劳工部",
                "updateTime": "2015-03-04 09:20:46"
            },
            {
                "indicID": "G010000038",
                "indicName": "月_美国_CPI_同比",
                "publishTime": "2014-06-17 08:30:00",
                "periodDate": "2014-05-31",
                "dataValue": 2.1,
                "unit": "%",
                "region": "美国",
                "dataSource": "美国劳工部",
                "updateTime": "2015-03-04 09:20:46"
            },
            {
                "indicID": "G010000038",
                "indicName": "月_美国_CPI_同比",
                "publishTime": "2014-07-22 08:30:00",
                "periodDate": "2014-06-30",
                "dataValue": 2.1,
                "unit": "%",
                "region": "美国",
                "dataSource": "美国劳工部",
                "updateTime": "2015-03-04 09:20:46"
            },
            {
                "indicID": "G010000038",
                "indicName": "月_美国_CPI_同比",
                "publishTime": "2014-08-19 08:30:00",
                "periodDate": "2014-07-31",
                "dataValue": 2,
                "unit": "%",
                "region": "美国",
                "dataSource": "美国劳工部",
                "updateTime": "2015-03-04 09:20:46"
            },
            {
                "indicID": "G010000038",
                "indicName": "月_美国_CPI_同比",
                "publishTime": "2014-09-17 08:30:00",
                "periodDate": "2014-08-31",
                "dataValue": 1.7,
                "unit": "%",
                "region": "美国",
                "dataSource": "美国劳工部",
                "updateTime": "2015-03-04 09:20:46"
            },
            {
                "indicID": "G010000038",
                "indicName": "月_美国_CPI_同比",
                "publishTime": "2014-10-22 08:30:00",
                "periodDate": "2014-09-30",
                "dataValue": 1.7,
                "unit": "%",
                "region": "美国",
                "dataSource": "美国劳工部",
                "updateTime": "2015-03-04 09:20:46"
            },
            {
                "indicID": "G010000038",
                "indicName": "月_美国_CPI_同比",
                "publishTime": "2014-11-20 08:30:00",
                "periodDate": "2014-10-31",
                "dataValue": 1.7,
                "unit": "%",
                "region": "美国",
                "dataSource": "美国劳工部",
                "updateTime": "2015-03-04 09:20:46"
            },
            {
                "indicID": "G010000038",
                "indicName": "月_美国_CPI_同比",
                "publishTime": "2014-12-17 08:30:00",
                "periodDate": "2014-11-30",
                "dataValue": 1.3,
                "unit": "%",
                "region": "美国",
                "dataSource": "美国劳工部",
                "updateTime": "2015-03-04 09:20:46"
            },
            {
                "indicID": "G010000038",
                "indicName": "月_美国_CPI_同比",
                "publishTime": "2015-01-16 08:30:00",
                "periodDate": "2014-12-31",
                "dataValue": 0.8,
                "unit": "%",
                "region": "美国",
                "dataSource": "美国劳工部",
                "updateTime": "2015-03-04 09:20:46"
            }
        ]
    },
    "error_code": 0
}


你可能感兴趣的:(api,gdp,价格指数)