GuidesAPI Reference
API Reference

Number of fuel stations

Return number of fuel stations within given geospatial area

Query Params
string
required

Return fuel stations within a geographical area. Area within which to return fuel stations.

A geographic area can be one of the following:

  • A circular area, provided as latitude, longitude, and radius (in meters)

    Format: circle:{latitude},{longitude};r={radius}

    Type: circle:{decimal},{decimal};r={integer}

    Example: circle:13.1,-43.1;r=10000

  • A bounding box, provided as west longitude, south latitude, east longitude, north latitude

    Format: bbox:{west longitude},{south latitude},{east longitude},{north latitude}

    Example: bbox:13.08836,52.33812,13.761,52.6755

  • A corridor, provided as a polyline in Flexible Polyline encoding and a radius (in meters). The radius is measured perpendicular to each segment of the polyline on both sides, so a radius of 50 meters will cover an area 50 meters on either side of the polyline and be 100 meters wide from one side to the other.

    Format: corridor:{polyline};r={radius}

    Example: corridor:BF05xgKuy2xCx9B7vUl0OhnR54EqSzpEl-HxjD3pBiGnyGi2CvwFsgD3nD4vB6e:r=50

Headers
string

User-provided token that can be used to trace a request or a group of requests sent to the service.

Responses

Language
Credentials
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json