Welcome to the

Geocoder JavaScript API

The Geocoder API is a JavaScript library for creating webpage search boxes that find places in the United States and U.S. Territories.

An auto-complete menu shows suggested locations as text is typed, and you define what action to take when a location is selected.

Here's the JavaScript used to create the search box in the live demo map:

Live Demo

Why Another Geocoding Widget?

The motivation behind developing this API was to create a location search tool that:

Additional features include:

Data Sources

NOTICE
The Geocoder only supports locations in the United States and U.S. Territories. Specifically, the 50 U.S. States, American Samoa, the District of Columbia, the Federated States of Micronesia, Guam, the Marshall Islands, Northern Mariana Island, Palau, Puerto Rico, the U.S. Virgin Islands, and the U.S. Minor Outlying Islands.

The primary data source is a dedicated database created for the API containing over 1.1 million location records from a variety of sources. The geocoder control can be configured to include or exclude each of these sources as required for your particular application. When no match is found using the API database, the ESRI ArcGIS Online Geocoding Service is used as a fallback.


Lets Get Started!