Spiral gives your agent every tool with one account. Browse the tools →

AlexandriaListingsAvailable now

ArcGIS public GIS layers · Describe layer

arcgis-com/gis-layers/describe_layer

Search property, job and marketplace listings with ArcGIS public GIS layers · Describe layer from Alexandria through one Spiral API key. Before query_layer: find the right layer id in a service and the exact field names and codes for a where clause (zoning codes, flood zone values), or check a layer's licence and record limits. Pass a url from search_datasets or a pasted ArcGIS REST URL. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

Pricing

$0.00873 per call.

Limits

Runs
In the background
Returns
json
Longest queue wait
1 hour
Run deadline
5 minutes
Longest run, end to end
225 minutes
Largest inline input
1 MB
Largest input file
2 GB
Largest output
5 GB

Input

FieldKindDefaultDescription
urltext—

ArcGIS REST service or layer URL, or an ArcGIS Online item page (https://www.arcgis.com/home/item.html?id=…). https://<host>/<adaptor>/rest/services/<folder>/<service>/FeatureServer[/<layer>] or …/MapServer[/<layer>], on ArcGIS Online (services*.arcgis.com/<orgId>/arcgis/rest/services/…) or an agency's ArcGIS Server (gis.<agency>.gov/arcgis/rest/services/…). Query strings are ignored; URLs carrying a token or key are refused.

layernumber
0 to 999999
—

Layer id within the service, when the URL names the service only.

item_idtext—

ArcGIS item id of a Feature Service or Map Service (from search_datasets), optionally with a Hub _<layer> suffix. Alternative to url. Pattern: ^[0-9a-fA-F]{32}(_[0-9]{1,6})?$.

Same request in code

curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "arcgis-com/gis-layers/describe_layer",
    "input": {
      "url": "<url>"
    }
  }'

Frequently asked questions

How much does ArcGIS public GIS layers · Describe layer cost?

$0.00873 per call. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

How do I use ArcGIS public GIS layers · Describe layer through an API?

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "arcgis-com/gis-layers/describe_layer"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

Do I need an account with Alexandria to use ArcGIS public GIS layers · Describe layer?

No. Spiral runs it on its own Alexandria account and charges your Spiral balance.

Can my AI agent use ArcGIS public GIS layers · Describe layer?

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.