全国加油站 聚合数据 支持HTTPS

全国加油站、周边加油站,以及参考油价查询

数据ID:7

接口状态:正常

连接应用数:8014

接入服务商:聚合数据

¥99.00 /10000次 (申请即送1000次)

  • API
  • 错误码参照
  • 价格与请求限制
  • 示例代码
  • 其他相关
接口地址:http://apis.juhe.cn/oil/region
返回格式:json
请求方式:post/get
请求示例:http://apis.juhe.cn/oil/region?key=您申请的APPKEY&format=2&city=%E5%8C%97%E4%BA%AC%E5%B8%82
接口备注:经纬度支持基于BAIDU地图坐标查询 油号支持 "-10#", "92#","95#","-35#","E93#","E97#","0#","CNG","89#","90#","93#","97#","LNG","-20#",
调用样例及调试工具:API测试工具
请求参数说明:
名称 类型 必填 说明
  city string 城市名urlencode utf8;
  keywords string 关键字urlencode utf8;
  page int 页数,默认1
  format int 格式选择1或2,默认1
  key string 应用APPKEY(应用详细页查询)
返回参数说明:
名称 类型 说明
  error_code int 返回码
  reason string 返回说明
  data - 返回结果集
    name string 加油站名称
    area string 城市邮编
    areaname string 城市区域
    address string 加油站地址
    brandname string 运营商类型
    type string 加油站类型
    discount string 是否打折加油站
    exhaust string 尾气排放标准
    position string 谷歌地图坐标
    lat double 百度地图纬度
    lon double 百度地图经度
    price string 省控基准油价
    gastprice string 字段不再更新,移除,请忽略
    fwlsmc string 加油卡信息
JSON返回示例:
{
    "resultcode": "200",
    "reason": "Successed!",
    "result": {
        "data": [
            {
                "id": "34299",
                "name": "中油燕宾北邮加油站‎(办卡优惠)",
                "area": "chongwen",
                "areaname": "北京市 崇文区",
                "address": "北京市崇文区天坛路12号,与东市场东街路交叉西南角(天坛北门往西一公里路南)。",
                "brandname": "中石油",
                "type": "加盟店",
                "discount": "打折加油站",
                "exhaust": "京Ⅴ",
                "position": "116.401654,39.886973",
                "lon": "116.40804671453",
                "lat": "39.893324983272",
                "price": [
                    {
                        "type": "E90",
                        "price": "7.31"
                    },
                    {
                        "type": "E93",
                        "price": "6.92"
                    },
                    {
                        "type": "E97",
                        "price": "7.36"
                    },
                    {
                        "type": "E0",
                        "price": "6.84"
                    }
                ],
                "gastprice": [
                    {
                        "name": "92#",
                        "price": "6.77"
                    },
                    {
                        "name": "95#",
                        "price": "7.36"
                    }
                ],
                "fwlsmc": "银联卡,信用卡支付",
                "distance": 2564
            },
            {
                "id": "34316",
                "name": "中油北汽宣武门加油站(办卡优惠)",
                "area": "xuanwu",
                "areaname": "北京市 宣武区",
                "address": "北京市宣武区宣武门西大街28院宣武门地铁西南出口辅路。",
                "brandname": "中石油",
                "type": "加盟店",
                "discount": "打折加油站",
                "exhaust": "京Ⅴ",
                "position": "116.373169,39.899263",
                "lon": "116.37964995964",
                "lat": "39.905320913583",
                "price": [
                    {
                        "type": "E90",
                        "price": "7.31"
                    },
                    {
                        "type": "E93",
                        "price": "6.92"
                    },
                    {
                        "type": "E97",
                        "price": "7.36"
                    },
                    {
                        "type": "E0",
                        "price": "6.84"
                    }
                ],
                "gastprice": [
                    {
                        "name": "92#",
                        "price": "6.92"
                    },
                    {
                        "name": "95#",
                        "price": "7.36"
                    }
                ],
                "fwlsmc": "银联卡,信用卡支付,加油卡,便利店,洗车服务",
                "distance": 2332
            },
            {
                "id": "34374",
                "name": "中石化宣武门加油站",
                "area": "xuanwu",
                "areaname": "北京市 宣武区",
                "address": "北京市宣武区宣武门东大街,(北京市急救中心对面,北京市教委斜对面。崇光百货的北面)。",
                "brandname": "中石化",
                "type": "直营店",
                "discount": "打折加油站",
                "exhaust": "京Ⅴ",
                "position": "116.3724501688,39.8936984142",
                "lon": "116.38527024009",
                "lat": "39.905558817477",
                "price": [
                    {
                        "type": "E90",
                        "price": "7.31"
                    },
                    {
                        "type": "E93",
                        "price": "6.92"
                    },
                    {
                        "type": "E97",
                        "price": "7.36"
                    },
                    {
                        "type": "E0",
                        "price": "6.84"
                    }
                ],
                "gastprice": [
                    {
                        "name": "92#",
                        "price": "6.92"
                    },
                    {
                        "name": "95#",
                        "price": "7.36"
                    }
                ],
                "fwlsmc": "银联卡,信用卡支付,加油卡,便利店,发卡充值网点,卫生间,银联卡充值,移动二维码业务,加油卡充值业务,会员卡服务,公交卡充值,出租车数据采集",
                "distance": 1920
            },
            {
                "id": "46231",
                "name": "中石化崇文门加油站",
                "area": "chongwen",
                "areaname": "北京市 崇文区",
                "address": "北京市崇文区崇文门东大街甲22号崇文门地铁站以东400米处,崇文门饭店东面。",
                "brandname": "中石化",
                "type": "直营店",
                "discount": "打折加油站",
                "exhaust": "京Ⅴ",
                "position": "116.421336,39.900329",
                "lon": "116.42778321554",
                "lat": "39.906481951762",
                "price": [
                    {
                        "type": "E90",
                        "price": "7.31"
                    },
                    {
                        "type": "E93",
                        "price": "6.92"
                    },
                    {
                        "type": "E97",
                        "price": "7.36"
                    },
                    {
                        "type": "E0",
                        "price": "6.84"
                    }
                ],
                "gastprice": [
                    {
                        "name": "92#",
                        "price": "6.92"
                    },
                    {
                        "name": "95#",
                        "price": "7.36"
                    }
                ],
                "fwlsmc": "加油卡,便利店,92#自助加油,95#自助加油,发卡充值网点,银联卡充值,移动二维码业务,加油卡充值业务,出租车数据采集",
                "distance": 2360
            },
            {
                "id": "34280",
                "name": "中石化北京站加油站",
                "area": "dongcheng",
                "areaname": "北京市 东城区",
                "address": "北京市东城区西镇江胡同北京站西街路西北。",
                "brandname": "中石化",
                "type": "直营店",
                "discount": "打折加油站",
                "exhaust": "京Ⅴ",
                "position": "116.422892,39.904058",
                "lon": "116.42934447783",
                "lat": "39.910183641108",
                "price": [
                    {
                        "type": "E90",
                        "price": "7.31"
                    },
                    {
                        "type": "E93",
                        "price": "6.92"
                    },
                    {
                        "type": "E97",
                        "price": "7.36"
                    },
                    {
                        "type": "E0",
                        "price": "6.84"
                    }
                ],
                "gastprice": [
                    {
                        "name": "0#",
                        "price": "6.84"
                    },
                    {
                        "name": "92#",
                        "price": "6.92"
                    },
                    {
                        "name": "95#",
                        "price": "7.36"
                    }
                ],
                "fwlsmc": "加油卡,便利店,92#自助加油,95#自助加油,发卡充值网点,移动二维码业务,加油卡充值业务",
                "distance": 2332
            },
            {
                "id": "34359",
                "name": "加油站‎(东四南大街)",
                "area": "dongcheng",
                "areaname": "北京市 东城区",
                "address": "北京东城区东四南大街。",
                "brandname": "不详",
                "type": "其他",
                "discount": "非打折加油站",
                "exhaust": "京Ⅴ",
                "position": "116.415918,39.910041",
                "lon": "116.42232800867",
                "lat": "39.916272549494",
                "price": [
                    {
                        "type": "E90",
                        "price": "7.31"
                    },
                    {
                        "type": "E93",
                        "price": "6.92"
                    },
                    {
                        "type": "E97",
                        "price": "7.36"
                    },
                    {
                        "type": "E0",
                        "price": "6.84"
                    }
                ],
                "gastprice": [
                    {
                        "name": "0#",
                        "price": "6.84"
                    },
                    {
                        "name": "92#",
                        "price": "6.92"
                    },
                    {
                        "name": "95#",
                        "price": "7.36"
                    }
                ],
                "fwlsmc": "",
                "distance": 1640
            },
            {
                "id": "34297",
                "name": "中石化金融街加油站",
                "area": "xicheng",
                "areaname": "北京市 西城区",
                "address": "北京市西城区太平桥大街路西侧与二龙路西街交口处。",
                "brandname": "中石化",
                "type": "直营店",
                "discount": "打折加油站",
                "exhaust": "京Ⅴ",
                "position": "116.362794,39.912337",
                "lon": "116.36932672496",
                "lat": "39.918204483855",
                "price": [
                    {
                        "type": "E90",
                        "price": "7.31"
                    },
                    {
                        "type": "E93",
                        "price": "6.92"
                    },
                    {
                        "type": "E97",
                        "price": "7.36"
                    },
                    {
                        "type": "E0",
                        "price": "6.84"
                    }
                ],
                "gastprice": [
                    {
                        "name": "92#",
                        "price": "6.92"
                    },
                    {
                        "name": "95#",
                        "price": "7.36"
                    }
                ],
                "fwlsmc": "银联卡,信用卡支付,加油卡,便利店,发卡充值网点,卫生间,银联卡充值,移动二维码业务,加油卡充值业务,会员卡服务,公交卡充值,出租车数据采集",
                "distance": 2895
            },
            {
                "id": "75156",
                "name": "中石油朝阳加油站",
                "area": "",
                "areaname": "北京市 东城区",
                "address": "",
                "brandname": "中石油",
                "type": "其他",
                "discount": "打折加油站",
                "exhaust": "京Ⅴ",
                "position": "116.42194748,39.91724124",
                "lon": "116.4283836199",
                "lat": "39.923379083879",
                "price": [
                    {
                        "type": "E90",
                        "price": "7.31"
                    },
                    {
                        "type": "E93",
                        "price": "6.92"
                    },
                    {
                        "type": "E97",
                        "price": "7.36"
                    },
                    {
                        "type": "E0",
                        "price": "6.84"
                    }
                ],
                "gastprice": [
                    {
                        "name": "0#",
                        "price": "6.84"
                    },
                    {
                        "name": "92#",
                        "price": "6.58"
                    }
                ],
                "fwlsmc": "信用卡支付",
                "distance": 2306
            },
            {
                "id": "34360",
                "name": "中国石化 (中国新闻出版总署东南)...",
                "area": "dongcheng",
                "areaname": "北京市 东城区",
                "address": "北京市东四南大街106号中华人民共和国新闻出版总署东南。",
                "brandname": "中石化",
                "type": "直营店",
                "discount": "打折加油站",
                "exhaust": "京Ⅴ",
                "position": "116.417775,39.92043",
                "lon": "116.42418687653",
                "lat": "39.926632910538",
                "price": [
                    {
                        "type": "E90",
                        "price": "7.31"
                    },
                    {
                        "type": "E93",
                        "price": "6.92"
                    },
                    {
                        "type": "E97",
                        "price": "7.36"
                    },
                    {
                        "type": "E0",
                        "price": "6.84"
                    }
                ],
                "gastprice": [
                    {
                        "name": "0#",
                        "price": "6.84"
                    },
                    {
                        "name": "92#",
                        "price": "6.92"
                    }
                ],
                "fwlsmc": "加油卡",
                "distance": 2151
            },
            {
                "id": "34291",
                "name": "中石化景山加油站",
                "area": "dongcheng",
                "areaname": "北京市 东城区",
                "address": "北京市东城景山后街7号,区景山后街东段路北,与地安门内大街交叉口东。",
                "brandname": "中石化",
                "type": "直营店",
                "discount": "打折加油站",
                "exhaust": "京Ⅴ",
                "position": "116.397631,39.928785",
                "lon": "116.40399325389",
                "lat": "39.935125033327",
                "price": [
                    {
                        "type": "E90",
                        "price": "7.31"
                    },
                    {
                        "type": "E93",
                        "price": "6.92"
                    },
                    {
                        "type": "E97",
                        "price": "7.36"
                    },
                    {
                        "type": "E0",
                        "price": "6.84"
                    }
                ],
                "gastprice": [
                    {
                        "name": "92#",
                        "price": "6.92"
                    }
                ],
                "fwlsmc": "加油卡,便利店,发卡充值网点,移动二维码业务,加油卡充值业务,出租车数据采集",
                "distance": 2126
            },
            {
                "id": "15955",
                "name": "中石化平安大街加油站‎ ‎",
                "area": "xicheng",
                "areaname": "北京市 西城区",
                "address": "北京市西城区西城区地安门西大街,北海北门向西,教场胡同里。",
                "brandname": "中石化",
                "type": "直营店",
                "discount": "打折加油站",
                "exhaust": "京Ⅴ",
                "position": "116.386505,39.932882",
                "lon": "116.39289518126",
                "lat": "39.93914114521",
                "price": [
                    {
                        "type": "E90",
                        "price": "7.31"
                    },
                    {
                        "type": "E93",
                        "price": "6.92"
                    },
                    {
                        "type": "E97",
                        "price": "7.36"
                    },
                    {
                        "type": "E0",
                        "price": "6.84"
                    }
                ],
                "gastprice": [
                    {
                        "name": "0#",
                        "price": "6.84"
                    },
                    {
                        "name": "92#",
                        "price": "6.92"
                    },
                    {
                        "name": "95#",
                        "price": "7.36"
                    }
                ],
                "fwlsmc": "银联卡,加油卡,便利店,柴油自助加油,发卡充值网点,银联卡充值,移动二维码业务,加油卡充值业务,出租车数据采集",
                "distance": 2715
            }
        ],
        "pageinfo": {
            "pnums": 20,
            "current": "1",
            "allpage": 1
        }
    },
    "error_code": 0
}
服务级错误码参照(error_code):
  错误码 说明
  200701 城市名不能为空
  200702 错误的经纬度
  200703 无结果了
  200705 无结果了
系统级错误码参照:
  错误码 说明 旧版本(resultcode)
  10001 错误的请求KEY 101
  10002 该KEY无请求权限 102
  10003 KEY过期 103
  10004 错误的OPENID 104
  10005 应用未审核超时,请提交认证 105
  10007 未知的请求源 107
  10008 被禁止的IP 108
  10009 被禁止的KEY 109
  10011 当前IP请求超过限制 111
  10012 请求超过次数限制 112
  10013 测试KEY超过请求限制 113
  10014 系统内部异常(调用充值类业务时,请务必联系客服或通过订单查询接口检测订单,避免造成损失) 114
  10020 接口维护 120
  10021 接口停用 121
错误码格式说明(示例:200201):
  2 002 01
  服务级错误(1为系统级错误) 服务模块代码(即数据ID) 具体错误代码
《全国加油站》资费说明:
  名称 价格 次数 说明
  赠送包 ¥0.00   1000    
常规套餐包【更多次数、更多优惠,请与商务联系>>】
  名称 价格 次数 说明
  套餐 ¥99.00   10000  
为什么选择聚合数据?我们来做个比较!
 购买聚合数据的服务支出 << 服务器(600元/月)+带宽(100元/月)+技术人员(6000元/月)+...
完整教学代码示例:
  语言 标题 提供者 时间
常见问题:
  内容 详细
  常见问题: http://www.juhe.cn/qa/index/1508784294
其他相关内容
  内容 详细
  接口测试: API测试工具
  技术支持: info@juhe.cn
  联系电话: 0512-62391880
  在线客服QQ: 800076065

推荐接口/API