City of Miami Open Data: building permits · Search permits
datahub-miamigis-opendata-arcgis-com/building-permits/search_permitsSearch property, job and marketplace listings with City of Miami Open Data: building permits · Search permits from Alexandria through one Spiral API key. Permits at a Miami address or folio, one contractor's Miami permits, new construction or roofing activity, or polling for what changed: pass updated_since (the last day you checked) with sort updated_desc. 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 |
|---|---|---|---|
sort | one of issued_desc, applied_desc, updated_desc, valuation_desc | issued_desc | issued_desc: newest issue date first; applied_desc: newest application first; updated_desc: most recent status change first; valuation_desc: largest total cost first. |
limit | number 1 to 100 | 25 | Records per page. |
cursor | text | — | next_cursor from the previous page; repeat the same filters with it. Pattern: ^[0-9]+$. |
status | text | — | Case-insensitive substring over status (Active, Final, Expired, Revoked, Hold) and its reason (stop work order). |
address | text | — | Street address or part of it, matched case-insensitively as a substring of the site address. It is converted to the City's spelling first: ordinals become numbers, street types and directions are abbreviated (Avenue to AV, Northwest to NW), and unit, city, state and ZIP are dropped, so the match covers the whole building. |
parcel_id | text | — | Miami-Dade folio number, 13 digits with or without dashes (0141220010740 or 01-4122-001-0740). Exact match. Pattern: ^[0-9][0-9 .-]{10,15}[0-9]$. |
contractor | text | — | Case-insensitive substring of the contractor company name (power design, roofing). |
permit_type | text | — | Case-insensitive substring over scope of work (new construction, roofing, electrical, demolition), property type (residential, commercial) and work items (single family residence, pool, flat roof). |
issued_since | text | — | Only permits issued on or after this day, YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
issued_until | text | — | Only permits issued on or before this day, YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
applied_since | text | — | Only permits whose application was created (PlanCreatedDate) on or after this day, YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
applied_until | text | — | Only permits whose application was created on or before this day, YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
min_valuation | number 0 to 1000000000000 | — | Only permits whose total cost is at least this many USD. |
updated_since | text | — | YYYY-MM-DD or RFC 3339 timestamp: only permits whose status date is on or after that day. The status date moves when a permit is issued, finalized, expires, is revoked, put on hold or reactivated; edits that keep the status do not move it. The time part is ignored because the layer records Miami local times. 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}))?$. |
application_number | text | — | City application number (BD26009977) or process number (BD26009977001): every permit filed under it, such as the building, electrical, plumbing and mechanical permits of one job. Pattern: ^[A-Za-z]{2}[0-9]{8}([0-9]{3})?$. |
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": "datahub-miamigis-opendata-arcgis-com/building-permits/search_permits",
"input": {
"sort": "issued_desc"
}
}'Frequently asked questions
How much does City of Miami Open Data: building permits · Search 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 Miami Open Data: building permits · Search permits through an API?
Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "datahub-miamigis-opendata-arcgis-com/building-permits/search_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 Miami Open Data: building permits · Search permits?
No. Spiral runs it on its own Alexandria account and charges your Spiral balance.
Can my AI agent use City of Miami Open Data: building permits · Search permits?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.