City of New Orleans Permits and Code Enforcement (data.nola.gov) · Search code cases
data-nola-gov/code-enforcement/search_code_casesSearch property, job and marketplace listings with City of New Orleans Permits and Code Enforcement (data.nola.gov) · Search code cases from Alexandria through one Spiral API key. Code enforcement or blight history of a New Orleans address, open cases awaiting hearing or judgment, new cases filed in a ZIP, or polling for cases whose status changed since a day (updated_since with sort updated_desc; Socrata's :updated_at is restamped for every row nightly). 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 |
|---|---|---|---|
zip | text | — | Five-digit ZIP code of the geocoded address. Pattern: ^[0-9]{5}$. |
sort | one of filed_desc, updated_desc | filed_desc | filed_desc: newest filed first; updated_desc: latest status change first. Ties break on case_id. |
limit | number 1 to 100 | 25 | Rows per page. |
stage | text | — | Words of the stage or the status sentence: inspection, title research, hearing, judgment, in compliance, guilty, blight, dismissed. |
cursor | text | — | next_cursor from the previous page; repeat the same filters with it. Pattern: ^[0-9]+$. |
geopin | text | — | Exact GEOPIN as in records' geopin, e.g. 41077432. Pattern: ^[0-9A-Za-z]+$. |
status | one of open, closed | — | Open or closed cases. |
address | text | — | Address words matched against the entered and the geocoded address. Case-insensitive; the words must appear in this order, so "2317 Anthony" finds 2317 St Anthony St. |
filed_since | text | — | Only cases filed on or after this day, YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
filed_until | text | — | Only cases filed on or before this day, YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
updated_since | text | — | YYYY-MM-DD or RFC 3339 timestamp: only cases whose status date (statdate) is on or after that day; the time is dropped. 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}))?$. |
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": "data-nola-gov/code-enforcement/search_code_cases",
"input": {
"zip": "<zip>"
}
}'Frequently asked questions
How much does City of New Orleans Permits and Code Enforcement (data.nola.gov) · 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 City of New Orleans Permits and Code Enforcement (data.nola.gov) · Search code cases through an API?
Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "data-nola-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 City of New Orleans Permits and Code Enforcement (data.nola.gov) · Search code cases?
No. Spiral runs it on its own Alexandria account and charges your Spiral balance.
Can my AI agent use City of New Orleans Permits and Code Enforcement (data.nola.gov) · Search code cases?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.