Socrata / Chicago Building Permits
Pricing
from $10.00 / 1,000 results
Socrata / Chicago Building Permits
Scrape data from any Socrata (SODA) open data portal, including Chicago Building Permits. Supports custom datasets, SoQL filters, pagination, sorting, and column selection. Export raw records to the Apify dataset, making it ideal for building permits, inspections, and 311 requests.
Pricing
from $10.00 / 1,000 results
Rating
0.0
(0)
Developer
Jamshaid Arif
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Share
Socrata / Chicago Building Permits — Apify Actor
A generic Socrata (SODA) scraper
Input
| Field | Default | Notes |
|---|---|---|
domain | data.cityofchicago.org | Any Socrata host |
dataset | ydr8-5enu | Socrata 4x4 dataset id |
permitType | Any | Filter on permit_type (Chicago permits only) |
where | — | Raw SoQL $where (advanced). Overrides permitType |
select | all columns | Comma-separated $select columns |
order | issue_date DESC | Socrata $order clause |
pageSize | 1000 | Rows per request (max 50000) |
maxResults | 1000 | Total rows across pages (0 = all available) |
startOffset | 0 | Row offset to start from (resume) |
appToken | — (secret) | Optional Socrata app token |
impersonate | chrome | curl_cffi fingerprint |
minInterval | 0 | Min seconds between page requests |
proxyConfiguration | proxy off | Enable only if rate-limited |
permitType values (Chicago building permits)
| Label | permit_type value |
|---|---|
| Signs | PERMIT - SIGNS |
| Renovation / Alteration | PERMIT - RENOVATION/ALTERATION |
| New construction | PERMIT - NEW CONSTRUCTION |
| Electrical work | PERMIT - ELECTRIC WIRING |
| Elevator equipment | PERMIT - ELEVATOR EQUIPMENT |
| Wrecking / Demolition | PERMIT - WRECKING/DEMOLITION |
| Easy permit process | PERMIT - EASY PERMIT PROCESS |
| Porch construction | PERMIT - PORCH CONSTRUCTION |
| Scaffolding | PERMIT - SCAFFOLDING |
For anything richer (date ranges, cost thresholds, multiple types) use a raw
SoQL clause in where, e.g.:
issue_date > '2024-01-01' AND permit_type IN('PERMIT - SIGNS','PERMIT - SCAFFOLDING')
When where is set it takes precedence and permitType is ignored.
Using it against other Socrata portals
Set domain + dataset to any SODA endpoint and clear permitType (it only
applies to the building-permits schema). Also update order to a column that
exists in your dataset. Examples:
- Chicago food inspections —
data.cityofchicago.org/4ijn-s7e5 - NYC 311 —
data.cityofnewyork.us/erm2-nwe9
Behaviour
- Pages with Socrata
$offset/$limituntilmaxResultsor a short page. - Each row is pushed to the default dataset as the raw Socrata record.
- Stops early on empty page, bot-wall (
BlockedError), or request error. - curl_cffi calls run via
asyncio.to_threadso the actor loop isn't blocked.