ArcGIS REST JS
ArcGIS REST JS is a collection of JavaScript modules for accessing location services, ArcGIS Online and ArcGIS Enterprise REST APIs.
Layers
Learn how to work with feature layers and feature services.
Geocode and search
Learn how to find addresses, businesses, and places with the geocoding service.
Route and directions
Learn how to find a route and directions and service areas with the routing service.
Demographic data
Learn how to get demographic data with the GeoEnrichment service.
Get started
To access the services, you need an developer account and an API key from your dashboard.
1. Sign up for a free developer account
Create a free account2. Get an API key
Sign in to your developer dashboard3. Quick start
Below is a simple example that shows the results of a request to obtain layer metadata. To access layer data:
- Open the code in .
- Replace the
apiKey
with your API key from the dashboard.
Result
4. Tutorials
Follow step-by-step tutorials to learn more about how to integrate ArcGIS REST JS with other location services.
Get layer metadata
Access the name, description, type and other properties of a hosted layer.
Search for an address
Find an address or place by accessing the Geocoding service.
Find a route and directions
Find a route and directions for an origin and destination by accessing the route service.