全国加油站[实时油价]

  • 数据类型: 位置服务
  • 接口状态: 正常
  • 已连接App的数量: 42700
  • 描述: 全国加油站、周边加油站,以及实时油价查询
  • API
  • 错误码
  • 价格与请求限制
  • 相关信息

接口地址: http://apis.haoservice.com/oil/region

支持格式: json/xml

请求方式: GET/POST

请求示例: http://apis.haoservice.com/oil/region?city=北京&page=1&key=您申请的APPKEY

请求参数:

名称 类型 必填 说明
key string API KEY
city String 城市名urlencode utf8;
page Int 页数,默认1

返回字段:

JSON返回示例:

{"error_code":0, "reason":"成功", "result":{ "data":[ {"name":"中石化燕广友加油站","area":"0","areaname":"北京 石景山", "address":"北京市石景山区双峪路与麻峪东街交叉口东北(雁翎饭店)", "brandname":"中石化", "type":"其他", "discount":"非打折加油站", "exhaust":"京Ⅴ", "position":"116.1274220000,39.9393190000","lat":39.9393190000,"lon":116.1274220000, "price":{"E90":"7.31(京89号)","E93":"7.82(京92号)","E97":"8.32(京95号)","E0":"7.77" }, "gastprice":"柴油0:7.78,汽油92:7.81,汽油95:8.32","fwlsmc":"加油卡" }, {"name":"中石化苹铁东加油站","area":"0","areaname":"北京 石景山", "address":"北京市石景山区阜石辅路杨庄路口以西500米(北京科佳信电容器研究所)", "brandname":"中石化","type":"其他","discount":"非打折加油站","exhaust":"京Ⅴ", "position":"116.1805410000,39.9244830000","lat":0.0,"lon":0.0, "price":{"E90":"7.31(京89号)","E93":"7.82(京92号)","E97":"8.32(京95号)","E0":"7.77"}, "gastprice":"柴油0:7.78,汽油92:7.81,汽油95:8.32", "fwlsmc":"公交卡充值,加油卡,便利店,92#自助加油,95#自助加油,移动二维码业务"}, ], "pageinfo":{"pnums":111,"current":1}} }

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