Maricopa County Permits avatar

Maricopa County Permits

Pricing

from $10.00 / 1,000 results

Go to Apify Store
Maricopa County Permits

Maricopa County Permits

Scrape Maricopa County's weekly building permit activity reports directly from the county archive. Automatically discovers, downloads, and parses Excel workbooks, exporting each permit record to the Apify dataset with source metadata. Ideal for construction tracking, permit monitoring.

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

Maricopa County Permits — Apify Actor

Scrapes Maricopa County's weekly permit activity reports — the maricopa_permits source from the gov-scraper catalog. The county posts each week's permits as an Excel workbook behind a CivicPlus archive index page. This actor walks that index, downloads each workbook, parses it with pandas, and pushes the rows. Plain HTTP — no browser needed.

Input

FieldDefaultNotes
archiveUrlhttps://www.maricopa.gov/Archive.aspx?AMID=128The archive index of workbooks. Change if AMID moves
baseUrlhttps://www.maricopa.gov/Resolves relative workbook links
maxFiles5Workbooks to download/parse (as listed, newest first)
maxResults0Total rows across workbooks (0 = no cap)
sheet0Worksheet by 0-based index or by name; blank = first
impersonatechromecurl_cffi fingerprint
minInterval1Politeness delay between requests
proxyConfigurationproxy offEnable only if the county blocks the datacenter IP

Behaviour

  1. Fetches the archive index and extracts every link that is either an Archive.aspx?ADID=… item or a direct .xls / .xlsx, de-duplicated and resolved against baseUrl.
  2. Downloads up to maxFiles of them and reads each into a DataFrame (pandas.read_excel, engine auto-selected: openpyxl for .xlsx, xlrd for .xls).
  3. Pushes the rows, each annotated with _source_url and _workbook_index. NaN becomes null; dates are ISO-formatted.
  4. Skips (with a warning) any link that isn't a readable workbook — the archive sometimes mixes in PDFs or other docs.

Output

One item per spreadsheet row; columns mirror the workbook headers, e.g.:

{
"Permit#": 101,
"Type": "NEW",
"Cost": 1000.0,
"_source_url": "https://www.maricopa.gov/Archive.aspx?ADID=900",
"_workbook_index": 1
}

es.

  • Version pins: apify < 4.0, base image apify/actor-python:3.13.