Emplacement API



Home


Documentation

Examples
Get Location Within 5 Miles of Zip code 92078
url www.emplacementapi.com/api/Locations?key=[YOUR_API_KEY]&zip=92078
ReturnsLocations within 5 Miles of 92078
NoteRadius has used the default value of 5
Get Location Within 20 Miles of a GPS Coordinate
url www.emplacementapi.com/api/Locations?key=[YOUR_API_KEY]&lat=33.11&lng=-117.16&radius=20
ReturnsLocations within 20 Miles of coordinate 33.11,-117.16
NoteDemonstrates how a users GPS Location could be used to find locations within a certain radius

Requirements
API Key
Params Key
NoteAPI Key is REQUIRED to make Location requests
Search Point
Params(Lat AND Lng) OR Zip
NoteEither Lat,Lng OR a zip is required to make Location requests

Parameters
Key
Param (?/&)Key=[YOUR_API_KEY]
UsageAPI Key is used to authenticate user
Zip
Param (?/&)Zip=[ZIP_CODE]
UsageDefines search area's zip code
Lat
Param (?/&)Lat=[LATITUDE]
UsageDefines search area's Latitude coordinate
Lng
Param (?/&)Lng=[LONGITUDE]
UsageDefines search area's Longitude coordinate
Radius
Param (?/&)Radius=[RADIUS]
UsageDefines how large of an area to search
Default5
Min_Value5
Max_Value50