# City of Edmonton Open Data · Building permits

Search public records with City of Edmonton Open Data · Building permits from Alexandria through one Spiral API key. Permit activity at an address or in a neighbourhood, large commercial permits above a value, or permits issued in a period. For other permit datasets (development permits, trade permits) use datasets and rows. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

- Provider: Alexandria
- Category: Public Records
- Runs: In the background
- Returns: json
- Tool id: `alexandria` / `data-edmonton-ca/open-data/building_permits`
- Page: https://spiral.ai/tools/alexandria/data-edmonton-ca/open-data/building_permits

## 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 |
| --- | --- | --- | --- | --- |
| `limit` | number | 1 to 1000 | 25 | Records per page. |
| `cursor` | text |  | — | Record offset to start from: the next_cursor of the previous page. Pattern: ^[0-9]{1,12}$. |
| `address` | text |  | — | Case-insensitive substring of the permit address, for example 86 STREET NW or 4503 - 86 STREET NW. |
| `work_type` | text |  | — | Case-insensitive substring of the work type, for example Demolition or New. |
| `description` | text |  | — | Case-insensitive substring of the job description. |
| `issued_since` | text |  | — | First issue date, inclusive. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
| `issued_until` | text |  | — | Last issue date, inclusive. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
| `job_category` | text |  | — | Job category, case-insensitive exact match, for example Commercial Final or Home Improvement. |
| `building_type` | text |  | — | Case-insensitive substring of the building type, for example Apartment or Row Houses. |
| `neighbourhood` | text |  | — | Neighbourhood name, case-insensitive exact match, for example DOWNTOWN. |
| `min_construction_value` | number | 0 to … | — | Only permits with a construction value at or above this amount (CAD). |

## 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": "data-edmonton-ca/open-data/building_permits",
    "input": {
      "limit": 25
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=alexandria&model=data-edmonton-ca%2Fopen-data%2Fbuilding_permits

## Common questions

### City of Edmonton Open Data · Building permits

**How much does City of Edmonton Open Data · Building permits 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 City of Edmonton Open Data · Building permits through an API?**

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "data-edmonton-ca/open-data/building_permits"` 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 City of Edmonton Open Data · Building permits?**

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

**Can my AI agent use City of Edmonton Open Data · Building permits?**

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

