# Montana State Library MSDI framework layers · Search

Search property, job and marketplace listings with Montana State Library MSDI framework layers · Search from Alexandria through one Spiral API key. Answer a question about specific parcels, addresses or roads without collecting the whole layer. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

- Provider: Alexandria
- Category: Listings
- Runs: In the background
- Returns: json
- Tool id: `alexandria` / `ftpgeoinfo-msl-mt-gov/gis-layers/search`
- Page: https://spiral.ai/tools/alexandria/ftpgeoinfo-msl-mt-gov/gis-layers/search

## Pricing

$0.00873 per call.

## Limits

- 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 | Allowed | Default | Description |
| --- | --- | --- | --- | --- |
| `layer` (required) | text |  | — | parcels \| public_lands \| conservation_easements \| addresses \| roads \| boundaries:<layer id>. Pattern: ^(parcels\|public_lands\|conservation_easements\|addresses\|roads\|boundaries:[0-9]{1,3})$. |
| `where` (required) | text |  | — | ArcGIS SQL-92 where clause over the layer's fields. Semicolons, comments (--, /*) and the words SELECT/UNION/INSERT/UPDATE/DELETE/DROP/EXEC are refused. |
| `cursor` | text |  | — | next_cursor from the previous page. Carries the layer, the segment/filter, the pinned publication (editingInfo.dataLastEditDate) and the last OBJECTID. When the layer has been republished since, the call fails with invalid_input and issue code `publication_changed`: restart from page one. Pattern: ^[0-9a-f]+$. |
| `segment` | text |  | — | Optional county restriction (parcels: CountyName; addresses: County; roads: County_L). Pattern: ^[A-Za-z][A-Za-z .'-]*$. |
| `page_size` | number | 1 to 2000 | — | Rows per page; default and maximum is the layer's maxRecordCount (2000; 1000 for addresses). A 2000-row parcel page is about 2.3 MB. |
| `exclude_owner` | true or false |  | — | parcels only: do not request the MCA 2-6-1017 owner fields (OwnerName, OwnerAddress1-3, OwnerCity, OwnerState, OwnerZipCode, DbaName, CareOfTaxpayer); `owner` is then null. Ignored on other layers. |

## Example

```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": "ftpgeoinfo-msl-mt-gov/gis-layers/search",
    "input": {
      "layer": "<layer>",
      "where": "<where>"
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=alexandria&model=ftpgeoinfo-msl-mt-gov%2Fgis-layers%2Fsearch

## Common questions

### Montana State Library MSDI framework layers · Search

**How much does Montana State Library MSDI framework layers · Search 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 Montana State Library MSDI framework layers · Search through an API?**

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "ftpgeoinfo-msl-mt-gov/gis-layers/search"` 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 Montana State Library MSDI framework layers · Search?**

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

**Can my AI agent use Montana State Library MSDI framework layers · Search?**

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

