[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [ArcGIS layer records](https://spiral.ai/integrations/n8n/arcgis-layer-records)

# How to Use ArcGIS layer records in n8n

Returns matching records and their published attributes from a public ArcGIS layer. Use it to look up zoning or flood information at a location, filter records, or retrieve a dataset in pages.

|  |  |
| --- | --- |
| Model | ArcGIS layer records |
| Available through | Alexandria |
| Category | Listings |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with ArcGIS layer records in n8n

- Monthly, use ArcGIS layer records to retrieve flood records containing downtown Houston at longitude -95.3698, latitude 29.7604, and compare the published attributes with the previous result.
- Every Monday at 9am: use ArcGIS layer records to look this up and give me the result as a table.
- Pull the latest numbers from ArcGIS layer records and tell me what changed since last week.
- Check ArcGIS layer records and summarize what you find in three bullet points.
- Pull the newest data from ArcGIS layer records and give me the result as a table.

## How to set up ArcGIS layer records in n8n

Pick the way that suits you. Each takes about two minutes.

### Use the Spiral skill

1. **Send n8n this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use Spiral's MCP server

1. **Create a key**: Create a key under API keys in the console.

2. **Add an MCP Client node**: In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

```text
https://api.spiral.ai/mcp
```

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run ArcGIS layer records in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds ArcGIS layer records, prices it and runs it each time the step fires.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run ArcGIS layer records**: One request; the result comes back by polling or a webhook.

```bash
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/query_layer",
    "input": {
      "url": "<url>"
    }
  }'
```

Then paste one of the prompts above: n8n finds ArcGIS layer records on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/n8n

## ArcGIS layer records tools and prices

- [ArcGIS public GIS layers · Query layer](https://spiral.ai/tools/alexandria/arcgis-com/gis-layers/query_layer) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| bbox |  | — | [west, south, east, north] in WGS84 degrees. |
| layer | 0 to 999999 | — | Layer id within the service, when the URL names the service only. |
| limit | 1 to 200 | 25 | Rows per page; the layer's maxRecordCount may cap it lower. |
| point |  | — | WGS84 point: features at (or within distance_m of) this location. |
| where |  | 1=1 | ArcGIS SQL-92 where clause, e.g. `PIN = '123-456-789'`, `ZONE_CODE LIKE 'R-%'`, `FLD_ZONE IN ('AE','VE')`. |
| offset | 0 to 100000000 | 0 | Rows to skip (next_offset from the previous page). |

## What can you do with ArcGIS layer records in n8n?

Maintain a recurring brief on public ArcGIS datasets for a city or study area. A scheduled agent can repeat discovery and record checks, then compare returned information with earlier results.

### Research zoning for a commercial site

Find the jurisdiction's zoning service, inspect its district fields, and retrieve the published zoning records around a proposed business location.

### Screen locations for published flood information

Locate a public flood layer, inspect its classifications, and retrieve matching records around candidate warehouse or retail sites for an initial comparison.

### Identify administrative districts

Find public boundary layers, check their geographic coverage and district fields, and look up which published boundaries contain a business or public facility.

### Prepare a public land research brief

Find park or public land datasets for a study area, inspect their attributes, and assemble matching records into a brief with publisher references.

### Compare replacement GIS datasets

Find candidate services for an existing map, compare their fields and coverage, and inspect sample records before choosing a replacement.

### Build a regional data extract

Find a suitable public service, inspect its field definitions and record ceiling, and retrieve the required geographic subset in pages for analysis.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All n8n guides](https://spiral.ai/integrations/n8n)

## ArcGIS layer records in other agents

- [Amp](https://spiral.ai/integrations/amp/arcgis-layer-records)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/arcgis-layer-records)
- [Claude](https://spiral.ai/integrations/claude-desktop/arcgis-layer-records)
- [Claude Code](https://spiral.ai/integrations/claude-code/arcgis-layer-records)
- [Cline](https://spiral.ai/integrations/cline/arcgis-layer-records)
- [Codex](https://spiral.ai/integrations/codex/arcgis-layer-records)
- [Cursor](https://spiral.ai/integrations/cursor/arcgis-layer-records)
- [Devin](https://spiral.ai/integrations/devin/arcgis-layer-records)
- [dots](https://spiral.ai/integrations/dots/arcgis-layer-records)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/arcgis-layer-records)
- [Gemini](https://spiral.ai/integrations/gemini/arcgis-layer-records)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/arcgis-layer-records)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/arcgis-layer-records)
- [goose](https://spiral.ai/integrations/goose/arcgis-layer-records)
- [Grok](https://spiral.ai/integrations/grok/arcgis-layer-records)
- [Grok Build](https://spiral.ai/integrations/grok-build/arcgis-layer-records)
- [Hermes](https://spiral.ai/integrations/hermes/arcgis-layer-records)
- [Instinct](https://spiral.ai/integrations/instinct/arcgis-layer-records)
- [Manus](https://spiral.ai/integrations/manus/arcgis-layer-records)
- [Muse](https://spiral.ai/integrations/muse/arcgis-layer-records)
- [Muse Code](https://spiral.ai/integrations/muse-code/arcgis-layer-records)
- [Notion](https://spiral.ai/integrations/notion/arcgis-layer-records)
- [OpenClaw](https://spiral.ai/integrations/openclaw/arcgis-layer-records)
- [opencode](https://spiral.ai/integrations/opencode/arcgis-layer-records)
- [Perplexity](https://spiral.ai/integrations/perplexity/arcgis-layer-records)
- [Raycast](https://spiral.ai/integrations/raycast/arcgis-layer-records)
- [VS Code](https://spiral.ai/integrations/vscode/arcgis-layer-records)
- [Windsurf](https://spiral.ai/integrations/windsurf/arcgis-layer-records)
- [Zapier](https://spiral.ai/integrations/zapier/arcgis-layer-records)

## More n8n guides

- [ArcGIS layer details](https://spiral.ai/integrations/n8n/arcgis-layer-details)
- [Auction.com auction status](https://spiral.ai/integrations/n8n/auction-com-auction-status)
- [ArcGIS dataset search](https://spiral.ai/integrations/n8n/arcgis-dataset-search)
- [Auction.com location suggestions](https://spiral.ai/integrations/n8n/auction-com-location-suggestions)
- [ACIS station daily weather history](https://spiral.ai/integrations/n8n/acis-station-daily-weather-history)
- [Auction.com property details](https://spiral.ai/integrations/n8n/auction-com-property-details)

## Questions about ArcGIS layer records in n8n

**Can n8n use ArcGIS layer records?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run ArcGIS layer records like any built-in tool.

**How much does ArcGIS layer records cost in n8n?**

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

**Do I need an Alexandria account to use ArcGIS layer records in n8n?**

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs ArcGIS layer records on its own Alexandria account.

**How long does it take to set up ArcGIS layer records in n8n?**

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Does n8n wait while ArcGIS layer records runs?**

ArcGIS layer records runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

**Does ArcGIS provide complete coverage for every location?**

ArcGIS hosts data from thousands of publishers, and each catalog item has its own geographic extent. Check that extent and the publisher's description for the jurisdiction you need; a search match alone does not establish complete coverage.

**How can I tell how fresh an ArcGIS dataset is?**

The catalog's modified timestamp dates the item, while a layer's last-edit timestamp, when exposed, dates edits to the layer. These describe different events, so an item modification alone does not establish when its records changed.

**Can I retrieve every dataset matching a broad search?**

ArcGIS catalog search exposes only the top 10,000 matching items through pagination. Narrow broad searches by topic, geography, or publisher before trying to inventory results.

**Why can a layer query return only part of a dataset?**

Each ArcGIS layer declares a maximum record count for a single query. That server-side ceiling can require retrieving records in pages rather than treating one response as the whole dataset.

**Does every ArcGIS record contain a location?**

ArcGIS services can contain both spatial feature layers and nonspatial tables. Feature query responses can include geometry; records from nonspatial tables do not.

