当前所在位置:首页>数据接口>生活服务>全国省市今日油价

全国省市今日油价 

今日汽油价格查询,最新柴油油价实时行情

数据ID:7

接口状态:正常

连接应用数:48186

接入服务商:haoservice

/100次 购买套餐

  • API
  • 错误码参照
  • 资费套餐
  • 版本变更
  • 代码示例
  • 其他相关
接口地址: http://apis.haoservice.com/oil_city
支持格式: JSON/XML
请求方式: GET/POST
明文方式请求参数:
名称 类型 必填 说明
key string API KEY
密文方式请求参数:
名称 类型 必填 说明
IsEncrypt bool 是否密文传输方式
key string API KEY
params string 3des ECB模式 PKCS7填充模式 加密 3des("","openId前24位")
调用样例及调试工具:
返回字段:
名称 类型 说明
timeDateTime油价最后更新时间
cityString城市名称
b90String90号汽油价格
b93String93(京92)号汽油价格
b97String97(京95)号汽油价格
b0String0号柴油价格
明文JSON返回示例:
{"time":"2018-11-9 18:1:2","error_code":0,"reason":"成功","result":[{"city":"北京","b89":"7.47","b92":"7.68","b95":"8.18","b98":"9.16","b0":"7.37"},{"city":"天津","b89":"7.40","b92":"7.68","b95":"8.11","b98":"9.03","b0":"7.33"},{"city":"河北","b89":"7.40","b92":"7.68","b95":"8.11","b98":"8.93","b0":"7.33"},{"city":"山西","b89":"5.64","b92":"7.63","b95":"8.24","b98":"8.91","b0":"7.39"},{"city":"内蒙古","b89":"0","b92":"7.64","b95":"8.20","b98":"9.03","b0":"7.14"},{"city":"辽宁","b89":"5.86","b92":"7.66","b95":"8.16","b98":"8.89","b0":"7.23"},{"city":"吉林","b89":"6.1","b92":"7.65","b95":"8.25","b98":"8.99","b0":"7.24"},{"city":"黑龙江","b89":"0","b92":"7.68","b95":"8.24","b98":"9.25","b0":"7.15"},{"city":"上海","b89":"6.62","b92":"7.65","b95":"8.14","b98":"8.89","b0":"7.31"},{"city":"江苏","b89":"6.66","b92":"7.65","b95":"8.14","b98":"8.99","b0":"7.29"},{"city":"浙江","b89":"5.99","b92":"7.65","b95":"8.14","b98":"8.92","b0":"7.31"},{"city":"安徽","b89":"7.44","b92":"7.64","b95":"8.18","b98":"9.01","b0":"7.36"},{"city":"福建","b89":"5.62","b92":"7.65","b95":"8.17","b98":"8.94","b0":"7.32"},{"city":"江西","b89":"7.38","b92":"7.64","b95":"8.21","b98":"9.21","b0":"7.37"},{"city":"山东","b89":"5.54","b92":"7.66","b95":"8.22","b98":"8.84","b0":"7.32"},{"city":"河南","b89":"5.68","b92":"7.69","b95":"8.21","b98":"8.87","b0":"7.31"},{"city":"湖北","b89":"5.4","b92":"7.69","b95":"8.24","b98":"8.90","b0":"7.32"},{"city":"湖南","b89":"6.64","b92":"7.63","b95":"8.11","b98":"8.91","b0":"7.39"},{"city":"广东","b89":"7.43","b92":"7.70","b95":"8.35","b98":"8.59","b0":"7.22"},{"city":"广西","b89":"7.49","b92":"7.74","b95":"8.36","b98":"9.15","b0":"7.38"},{"city":"海南","b89":"7.61","b92":"8.80","b95":"9.34","b98":"10.58","b0":"7.41"},{"city":"重庆","b89":"7.61","b92":"7.75","b95":"8.19","b98":"9.22","b0":"7.39"},{"city":"四川","b89":"6.12","b92":"7.71","b95":"8.30","b98":"9.03","b0":"7.41"},{"city":"贵州","b89":"6.94","b92":"7.81","b95":"8.26","b98":"9.14","b0":"7.43"},{"city":"云南","b89":"7.49","b92":"7.83","b95":"8.40","b98":"9.08","b0":"7.42"},{"city":"西藏","b89":"7.23","b92":"8.56","b95":"9.06","b98":"0","b0":"7.87"},{"city":"陕西","b89":"5.67","b92":"7.57","b95":"8.00","b98":"8.93","b0":"7.22"},{"city":"甘肃","b89":"5.51","b92":"7.57","b95":"8.09","b98":"8.59","b0":"7.22"},{"city":"青海","b89":"5.85","b92":"7.64","b95":"8.19","b98":"0","b0":"7.25"},{"city":"宁夏","b89":"5.56","b92":"7.58","b95":"8.01","b98":"9.15","b0":"7.21"},{"city":"新疆","b89":"6.06","b92":"7.60","b95":"8.17","b98":"9.12","b0":"7.22"}]}
密文JSON返回示例:
hCe2pmNRFnwP3gbrGm9vnobmGI+VZPwJAFJ6xcEkeJGyOQKBipdMSDN1yb3lDI48WoqV7IJHb3tjJABrAc00igyE1dYBYQophG/6anzWjA857/YaMzKj5kfiVxyBavy4a4OudBnMncw=

推荐接口/API

  • 最新VIN(车辆识别码)解析

    通过该接口vin即可查询车辆识别码对应的相关信息,厂商直连。车辆识别码车辆解析

  • 车辆保养记录查询

    车辆保养记录查询,通过车辆VIN,即车辆识别代码,车架号,可以快速查询车辆历史报告,汽车历史记录,维修保养查询,事故车查询,召回查询,调表车,水淹车,火烧车等车辆存在的问题.车鉴定,车辆维修记录,车辆历史记录,汽车历史记录,维修保养查询,事故车查询,召回查询,调表车,水淹车,火烧车,大圣来了,蚂蚁女王,4S店保养查询,二手车工具,二手车

  • 全国车辆违章查询

    支持全国300多个城市的车辆违章查询

  • 全国加油站[实时油价]

    全国加油站、周边加油站,以及实时油价查询

  • 车辆违章查询直连接口

    多省份直连查询,目前支持广东、黑龙江等几十个城市,其它城市陆续添加中

  • 尾号限行

    各地车辆尾号限行查询

联系客服

010-58436659