Socrata / Chicago Building Permits avatar

Socrata / Chicago Building Permits

Pricing

from $10.00 / 1,000 results

Go to Apify Store
Socrata / Chicago Building Permits

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

Jamshaid Arif

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Share

Socrata / Chicago Building Permits — Apify Actor

A generic Socrata (SODA) scraper

Input

FieldDefaultNotes
domaindata.cityofchicago.orgAny Socrata host
datasetydr8-5enuSocrata 4x4 dataset id
permitTypeAnyFilter on permit_type (Chicago permits only)
whereRaw SoQL $where (advanced). Overrides permitType
selectall columnsComma-separated $select columns
orderissue_date DESCSocrata $order clause
pageSize1000Rows per request (max 50000)
maxResults1000Total rows across pages (0 = all available)
startOffset0Row offset to start from (resume)
appToken— (secret)Optional Socrata app token
impersonatechromecurl_cffi fingerprint
minInterval0Min seconds between page requests
proxyConfigurationproxy offEnable only if rate-limited

permitType values (Chicago building permits)

Labelpermit_type value
SignsPERMIT - SIGNS
Renovation / AlterationPERMIT - RENOVATION/ALTERATION
New constructionPERMIT - NEW CONSTRUCTION
Electrical workPERMIT - ELECTRIC WIRING
Elevator equipmentPERMIT - ELEVATOR EQUIPMENT
Wrecking / DemolitionPERMIT - WRECKING/DEMOLITION
Easy permit processPERMIT - EASY PERMIT PROCESS
Porch constructionPERMIT - PORCH CONSTRUCTION
ScaffoldingPERMIT - 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 / $limit until maxResults or 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_thread so the actor loop isn't blocked.