# East Baton Rouge Parish open data (data.brla.gov): building permits and condemnations · Search code cases

Search property, job and marketplace listings with East Baton Rouge Parish open data (data.brla.gov): building permits and condemnations · Search code cases from Alexandria through one Spiral API key. Blight and condemnation history of a Baton Rouge address or ZIP, open condemnations awaiting demolition, demolition contractors' caseloads, or polling for changed cases with updated_since and sort updated_desc. The portal reloads this dataset weekly at best. 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` / `data-brla-gov/code-enforcement/search_code_cases`
- Page: https://spiral.ai/tools/alexandria/data-brla-gov/code-enforcement/search_code_cases

## 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 |
| --- | --- | --- | --- | --- |
| `zip` | text |  | — | Five-digit ZIP of the site (70815). Pattern: ^[0-9]{5}$. |
| `sort` | one of | condemned_desc, updated_desc | condemned_desc | condemned_desc: newest condemnation first (cases without a date last); updated_desc: most recently modified first. |
| `limit` | number | 1 to 100 | 25 | Rows per page (1-100). |
| `cursor` | text |  | — | next_cursor from the previous page; repeat the same filters with it. Pattern: ^[0-9]+$. |
| `status` | text |  | — | Words of the case status: condemned open, condemned hold, demolished, rescinded, permit issued, follow up. |
| `address` | text |  | — | Street address words in order, case-insensitive (beech st, 4017 n foster). |
| `contractor` | text |  | — | Demolition contractor or crew words (blight crew, cb morgan). |
| `updated_since` | text |  | — | YYYY-MM-DD or RFC 3339: only cases the city's system modified on or after that day (lastmod_date, UTC, day precision). Pair with sort updated_desc to poll for changes. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}([Tt ][0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]+)?([Zz]\|[+-][0-9]{2}:[0-9]{2}))?$. |
| `condemned_since` | text |  | — | Only cases condemned on or after this day, YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
| `condemned_until` | text |  | — | Only cases condemned on or before this day, YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |

## 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-brla-gov/code-enforcement/search_code_cases",
    "input": {
      "zip": "<zip>"
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=alexandria&model=data-brla-gov%2Fcode-enforcement%2Fsearch_code_cases

## Common questions

### East Baton Rouge Parish open data (data.brla.gov): building permits and condemnations · Search code cases

**How much does East Baton Rouge Parish open data (data.brla.gov): building permits and condemnations · Search code cases 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 East Baton Rouge Parish open data (data.brla.gov): building permits and condemnations · Search code cases through an API?**

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "data-brla-gov/code-enforcement/search_code_cases"` 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 East Baton Rouge Parish open data (data.brla.gov): building permits and condemnations · Search code cases?**

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

**Can my AI agent use East Baton Rouge Parish open data (data.brla.gov): building permits and condemnations · Search code cases?**

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

