ArcGIS public GIS layers · Search datasets
arcgis-com/gis-layers/search_datasetsSearch property, job and marketplace listings with ArcGIS public GIS layers · Search datasets from Alexandria through one Spiral API key. Find which public ArcGIS layer holds the data (a county's parcels or zoning, FEMA flood zones, a park's trails, a city's permits) and get its service URL. Start here unless you already have a .../FeatureServer or .../MapServer 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
| Field | Kind | Default | Description |
|---|---|---|---|
q | text | — | Keywords (ArcGIS search syntax allowed, e.g. |
bbox | list | — | [west, south, east, north] in WGS84 degrees: items whose extent intersects it. |
page | number 1 to 10000 | 1 | page |
site | text | — | An ArcGIS Hub open-data site (hostname or any URL on it, e.g. data-smcmaps.opendata.arcgis.com or opendata.dc.gov). Restricts results to the site's organization. |
sort | one of relevance, modified, views, title | relevance | sort |
type | one of any, feature_service, map_service | any | Service type; feature services support the richest queries. |
limit | number 1 to 50 | 20 | limit |
owner | text | — | ArcGIS username of the publisher (from a previous result's owner). |
org_id | text | — | ArcGIS Online organization id, e.g. the segment after services.arcgis.com/ in a service URL. Pattern: ^[A-Za-z0-9]{10,32}$. |
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/search_datasets",
"input": {
"q": "<q>"
}
}'Frequently asked questions
How much does ArcGIS public GIS layers · Search datasets 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 · Search datasets through an API?
Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "arcgis-com/gis-layers/search_datasets"` 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 · Search datasets?
No. Spiral runs it on its own Alexandria account and charges your Spiral balance.
Can my AI agent use ArcGIS public GIS layers · Search datasets?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.