HERE Fuel Prices API
Fuel Prices API Developer's Guide

Fuel Stations Count Response

The CountType structure is the top-level element in the responses to requests for the stations/count resource. The name of the top-level element in an XML response is CountResult.

Table 1. Response elements
Element Data Type Mandatory Description
count Integer Yes Number of fuel stations found in the area specified in request.

This example is in JSON format:


{
  "count": 3
}

This example is in XML format:


<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<fuel:countResult 
  xmlns:fuel="http://www.here.com/2014/02/ACS-Fuel" 
  xmlns:common="http://www.here.com/2014/02/ACS-Common" 
  xmlns:ev="http://www.here.com/2014/02/ACS-EV" 
  xmlns:parking-offstreet="http://www.here.com/2014/02/ACS-Parking-Offstreet">
  <count>3</count>
</fuel:countResult>