GIS & Geospatial

ArcGIS Server REST API Integration with C#

Abid Inamdar January 24, 2026 7 min read 113 views

ArcGIS REST API Overview

ArcGIS Server exposes all its capabilities via a JSON REST API. No proprietary SDK required — just HttpClient and JSON deserialization.

GIS map layers on a monitor
GIS map layers on a monitor

Query a Feature Layer

var url = "https://gis.example.com/arcgis/rest/services/Roads/FeatureServer/0/query";
var response = await http.GetFromJsonAsync<FeatureQueryResult>(
    $"{url}?where=1=1&outFields=*&f=json");

Export a Map Image

var exportUrl = $"{mapServiceUrl}/export" +
    "?bbox=72.8,18.9,73.0,19.1&size=800,600&f=image&format=png";
var imageBytes = await http.GetByteArrayAsync(exportUrl);
💡

Use token-based authentication for secured ArcGIS services. Generate a token via /generateToken and include it as a query parameter.

Geoprocessing Tasks

// Submit async GP task
var jobUrl = await SubmitGpJobAsync(gpServiceUrl, parameters);
// Poll for completion
var result = await PollGpJobAsync(jobUrl);

Conclusion

The ArcGIS REST API is well-documented and works with any HTTP client. No ESRI SDK license required for basic operations.

Share: Twitter/X LinkedIn

Related Posts

Comments (0)

Leave a Comment
Comments are moderated.