Documentation: End Points

Random Anywhere - Check an example

Return a random coordenate anywhere in the world

Parameters:

None

Endpoint example

https://dummy-coordinate.vercel.app/api/random/anywhere

Random Circular Origin Point - Check an example

Returns a random coordinate in a specific circular area, based on the input coordinate and the radius limit

Parameters:

NameDescriptionValues
latitude
The origin latitude
A number between -90 and +90
longitude
The origin longitude
A number between -180 and +180
maxDistance
The maximum distance between the coordenate and the origin point
A number followed by the unit ("km" or "miles")

Endpoint example

https://dummy-coordinate.vercel.app/api/random/circular/origin-point/=?&latitude=25&longitude=50&maxDistance=200miles

Random Circular By Local Name - Check an example

Returns a random coordinate in a specific circular area, based on the input Address, the radius limit, and on Google API Key (that convert the address into a coordinate)

Parameters:

NameDescriptionValues
addres
The address/city refernce to be in reference center
Text
googleCloudKey
The google cloud key that allows the search (with geocode enabled)
A text
maxDistance
The maximum distance between the coordenate and the origin point
A number followed by the unit ("km" or "miles")

Endpoint example

https://dummy-coordinate.vercel.app/api/random/circular/by-local-name/=?&addres=Rio de Janeiro&googleCloudKey=YOUR_API_KEY&maxDistance=100km

Tracking Circular Origin Point - Check an example

Returns a moving coordinate based orbiting one specific point, based on the input coordinate and the radius

Parameters:

NameDescriptionValues
latitude
The origin latitude
A number between -90 and +90
longitude
The origin longitude
A number between -180 and +180
radius
The distance of the origin (the point will be allways at the same distance, only changing the position)
A number and a unit "km" or "miles"
velocity
The velocity in your distance unit per hour that this point will 'run'
A number

Endpoint example

https://dummy-coordinate.vercel.app/api/tracking/circular/origin-point//=?&latitude=25&longitude=50&radius=100km&velocity=200

Get Your Current Coordinate

It is not a endpoint, but a Tool where you can check your current Latitude and Longitude (to use in another endpoints using your location as reference)

Click here to visit the tool