Esri ArcGIS REST API
esri.com · Company
Geospatial services APIs from Esri — the world's leading GIS platform. Used by insurers for territory mapping, catastrophe event zones, wildfire perimeters, flood mapping, and territory rating. ArcGIS Online has a free developer tier. Commonly integrated with Guidewire for spatial underwriting and catastrophe response.
Authentication
Parameter name: token (in query)
Sample Requests
Geocodes a street address to coordinates using the Esri World Geocoder.
Hover any highlighted part to learn what it does
curl -X GET "https://www.arcgis.com/sharing/rest/rest/services/World/GeocodeServer/findAddressCandidates?f=json&token=YOUR_API_KEY&SingleLine=123%20Main%20St%2C%20Austin%20TX%2078701"
import requests
params = {
"f": "json",
"token": "YOUR_API_KEY",
"SingleLine": "123 Main St, Austin TX 78701"
}
response = requests.get(
"https://www.arcgis.com/sharing/rest/rest/services/World/GeocodeServer/findAddressCandidates",
params=params,
)
print(response.json())const url = new URL('https://www.arcgis.com/sharing/rest/rest/services/World/GeocodeServer/findAddressCandidates');
url.searchParams.set('f', 'json');
url.searchParams.set('token', 'YOUR_API_KEY');
url.searchParams.set('SingleLine', '123 Main St, Austin TX 78701');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://www.arcgis.com/sharing/rest/rest/services/World/GeocodeServer/findAddressCandidates")
q := baseURL.Query()
q.Set("f", "json")
q.Set("token", "YOUR_API_KEY")
q.Set("SingleLine", "123 Main St, Austin TX 78701")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://www.arcgis.com/sharing/rest/rest/services/World/GeocodeServer/findAddressCandidates")
uri.query = URI.encode_www_form({
"f" => "json",
"token" => "YOUR_API_KEY",
"SingleLine" => "123 Main St, Austin TX 78701"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://www.arcgis.com/sharing/rest/rest/services/World/GeocodeServer/findAddressCandidates?" . http_build_query([
"f" => "json",
"token" => "YOUR_API_KEY",
"SingleLine" => "123 Main St, Austin TX 78701"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Query a geospatial feature layer — e.g. active wildfire perimeters — for a given area. Returns GeoJSON.
Hover any highlighted part to learn what it does
curl -X GET "https://www.arcgis.com/sharing/rest/rest/services/Wildfire/FeatureServer/0/query?f=geojson&token=YOUR_API_KEY&geometry=-122.0%2C37.0%2C-121.5%2C37.5&outFields=*&geometryType=esriGeometryEnvelope"
import requests
params = {
"f": "geojson",
"token": "YOUR_API_KEY",
"geometry": "-122.0,37.0,-121.5,37.5",
"outFields": "*",
"geometryType": "esriGeometryEnvelope"
}
response = requests.get(
"https://www.arcgis.com/sharing/rest/rest/services/Wildfire/FeatureServer/0/query",
params=params,
)
print(response.json())const url = new URL('https://www.arcgis.com/sharing/rest/rest/services/Wildfire/FeatureServer/0/query');
url.searchParams.set('f', 'geojson');
url.searchParams.set('token', 'YOUR_API_KEY');
url.searchParams.set('geometry', '-122.0,37.0,-121.5,37.5');
url.searchParams.set('outFields', '*');
url.searchParams.set('geometryType', 'esriGeometryEnvelope');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://www.arcgis.com/sharing/rest/rest/services/Wildfire/FeatureServer/0/query")
q := baseURL.Query()
q.Set("f", "geojson")
q.Set("token", "YOUR_API_KEY")
q.Set("geometry", "-122.0,37.0,-121.5,37.5")
q.Set("outFields", "*")
q.Set("geometryType", "esriGeometryEnvelope")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://www.arcgis.com/sharing/rest/rest/services/Wildfire/FeatureServer/0/query")
uri.query = URI.encode_www_form({
"f" => "geojson",
"token" => "YOUR_API_KEY",
"geometry" => "-122.0,37.0,-121.5,37.5",
"outFields" => "*",
"geometryType" => "esriGeometryEnvelope"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://www.arcgis.com/sharing/rest/rest/services/Wildfire/FeatureServer/0/query?" . http_build_query([
"f" => "geojson",
"token" => "YOUR_API_KEY",
"geometry" => "-122.0,37.0,-121.5,37.5",
"outFields" => "*",
"geometryType" => "esriGeometryEnvelope"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- Create a free developer account at https://developers.arcgis.com
- Generate an API key in ArcGIS Developer Dashboard — free tier is generous
- Geocoding base URL: https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer
- For insurance: search ArcGIS Living Atlas for wildfire, flood, and hurricane layers
- Feature service layers queried at: {serviceUrl}/FeatureServer/{layerId}/query
- f=geojson returns standard GeoJSON; f=json returns Esri JSON format
What can you build with Esri ArcGIS REST API?
Esri ArcGIS REST API is a Company API. Developers commonly use company APIs for:
- enriching CRM records with company firmographics
- building lead-generation and prospecting tools
- verifying business identity and registration details
- monitoring competitors and market intelligence
- powering B2B data enrichment pipelines
API Key authentication. You'll receive a key after signing up. Send it with every request — in a header or query parameter. Keep it out of client-side code and never commit it to version control. Esri ArcGIS REST API is free to use up to a usage limit, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide · Learn about API keys · What is REST?