arcgis-rest-services

Call ArcGIS Server REST endpoints using @arcgis/core/rest modules.

Updated May 27, 2026
One-click install
npx skills add https://github.com/elowen53/arcgis-maps-sdk-js-ai-context-4.0 --skill arcgis-rest-services
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: arcgis-rest-services
Source: https://github.com/elowen53/arcgis-maps-sdk-js-ai-context-4.0/tree/main/skills/arcgis-rest-services
Command: npx skills add https://github.com/elowen53/arcgis-maps-sdk-js-ai-context-4.0 --skill arcgis-rest-services

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Use this skill when calling ArcGIS Server REST endpoints through the @arcgis/core/rest/* namespace. It covers routing, geocoding, spatial analysis, geoprocessing, printing, and other server-side operations.

Core Features & Use Cases

  • Unified REST modules and example patterns for routing, locator, print, and geoprocessing tasks.
  • Concrete guidance for Route, Closest Facility, Service Area, Locator, Find, Identify, Print, Geoprocessor, Geometry Service, Image Service, and Feature Service usage.
  • Authentication guidance for premium services and migration from legacy esri/tasks/* patterns, with ESM and AMD compatibility.
  • Real-world workflows: building end-to-end calls to REST services and handling common errors.

Quick Start

Invoke ArcGIS REST services through the @arcgis/core/rest modules to perform routing, geocoding, service areas, and geoprocessing tasks.

Frequently Asked Questions about arcgis-rest-services

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I call ArcGIS Server REST endpoints for routing and geocoding using @arcgis/core?

Call ArcGIS REST endpoints by importing the specific REST modules from the @arcgis/core/rest namespace to execute routing, geocoding, and geoprocessing tasks. This skill provides unified code patterns for both ESM and AMD imports.

What is the best way to migrate from legacy esri/tasks patterns to the ArcGIS REST modules?

Migrate from legacy esri/tasks patterns by adopting the @arcgis/core/rest namespace for service operations. This skill provides concrete migration guidance, replacing outdated task modules with modern ESM-compatible REST module patterns.

Do I need authentication to use premium ArcGIS REST services like service areas and closest facility?

Yes, premium ArcGIS REST services like service areas and closest facility require authentication. This skill provides authentication guidance and enforces parameter classes and service URLs to securely access these premium operations.

Can I use @arcgis/core REST modules for feature service and geometry service operations?

Yes, @arcgis/core REST modules support feature service and geometry service operations alongside routing, locator, find, identify, print, and image service tasks. This skill provides concrete guidance for these server-side workflows.

Why does my ArcGIS geoprocessing REST call fail when using ESM imports?

ArcGIS geoprocessing REST calls may fail if parameter classes, service URLs, or module compatibility are not correctly configured. This skill addresses common errors by enforcing proper parameter classes and providing correct ESM import patterns.

What ArcGIS REST operations are supported through the @arcgis/core/rest namespace?

The @arcgis/core/rest namespace supports routing, geocoding, service areas, geoprocessing, printing, closest facility, find, identify, and geometry service operations. This skill covers end-to-end workflows for building these REST service calls.