US Building Permits Watch: Eight City Portals avatar

US Building Permits Watch: Eight City Portals

Pricing

from $1.30 / 1,000 permits

Go to Apify Store
US Building Permits Watch: Eight City Portals

US Building Permits Watch: Eight City Portals

Search or watch building permits from eight US city open-data portals (NYC, Chicago, LA, Austin, Seattle, SF, Cincinnati, Baton Rouge). $0.0015 per stored permit. Schedule a watch for newly issued permits; the first run looks back 3 days (LA 14) and is charged.

Pricing

from $1.30 / 1,000 permits

Rating

0.0

(0)

Developer

Mike Berckmoes

Mike Berckmoes

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

12 days ago

Last modified

Categories

Features

Limited permissions

Share

Search or watch building permits from eight city open-data portals: New York, Chicago, Los Angeles, Austin, Seattle, San Francisco, Cincinnati, and Baton Rouge. A run returns one dataset row per permit it stores.

Watch mode is what you get when both issued-date fields are empty. Saved state is one record per Watch ID in the named store permits-watch-state, key cursor-<watchId>. Inside it, each city has its own issued-date cursor and the permit ids stored for that day. It is not one cursor for every city. There is no free baseline. The first watch run is charged. It looks back 3 days, or 14 days for Los Angeles, and every stored permit is a permit event.

Setting either issued date switches to search. Search does not read or move the cursors. A city that cannot be read is source_unavailable on RUN_SUMMARY and does not fail the other cities. This Actor is not affiliated with or endorsed by those cities.

What it does

  • Reads each city's open-data portal with a column list, a filter, and an order. Page size is 1,000. Each page is tried up to 5 times on HTTP 429 and 500 or above. Any other HTTP error fails that city without a retry. A page longer than the requested limit is cut to that limit and paging stops.
  • In watch mode, orders by issued date oldest first and keeps at most Max permits per city (1 to 5,000, default 200) after the category, keyword, and value filters. The cursor moves only through permits that were stored.
  • In search mode, orders newest first inside the date range you set. One date bound without the other is still a search.
  • If a keyword or minimum-value filter is rejected by the portal (HTTP 400), the Actor asks again with the date window only and filters those fields locally.
  • Charges every stored permit. A city error is not a dataset row. There is no separate capped row.
  • Does not send a webhook per permit. The default key-value record is RUN_SUMMARY.

Use cases

  • Watch new permits in one city. Leave both dates empty, set Cities to one id (for example austin), and schedule that input with one Watch ID.
  • Search a date range. Set Issued from and Issued to. That run does not move the watch cursor for this Watch ID.
  • Keep solar or EV work. Set Keywords or Permit categories. A permit matches a keyword when the word is in the work description or the raw permit type. Categories are the normalised type. Trade tags (solar, roof, hvac, pool, adu, ev) are separate and can appear beside the category.
  • Drop small jobs. Set Minimum valuation. Values are whatever the city publishes. They are not comparable across cities.

What you get

Every stored row is a permit. There is no baseline row type. ownerName and applicantName are present only when Include owner and applicant names is on and the city published a name. Contractor fields are set when the city publishes them, with that switch off or on. appliedDate, valuationUsd, zip, lat, lon, parcel, and contractor fields are omitted when the city row has none.

The example is Austin permit 2026-128064 EP from the offline Austin fixture (issued 2026-10-03, electrical, contractor Wise Electrical Solutions LLC). That fixture row has no job value, so valuationUsd is omitted. retrievedAt is filled at run time.

FieldMeaningExample
city, cityId, stateCity name, input id, and stateAustin, austin, TX
permitNumberCity permit id. New York joins the job filing number and the work permit2026-128064 EP
permitTypeRawType as the city published itElectrical Permit
permitCategoryOne normalised category. First matching rule winselectrical
tagsTrade tags. Empty when none of the tag rules match[]
workDescription, statusDescription and status as publishedReplace panel and meter with permanent pole, Active
appliedDate, issuedDateDates as YYYY-MM-DD2026-09-29, 2026-10-03
valuationUsdJob value as published. Omitted when the city row has noneomitted on this fixture row
address, zip, lat, lon, parcelSite location6403 JOHNNY MORRIS RD UNIT 12, 78724
contractorCompany, contractorLicense, contractorPhoneSet when the city publishes themWise Electrical Solutions LLC, phone 5127928664
ownerName, applicantNamePresent only when Include owner and applicant names is onabsent on this example
sourceDataset, sourceUrlSocrata host and dataset, and the city link when one was publisheddatahub.austintexas.gov/3syk-w9eu
retrievedAtUTC time the row was builtset at run time

The dataset view Permits shows issued date, city, category, permit number, address, value, status, and the source link.

RUN_SUMMARY holds status (ok, partial, or invalid-input), whether this run was a watch, pushed count, how many were not pushed because of the charge limit, and a per-city report (cursor, overlap days, source errors, and the filter that was sent).

How to use it

  1. Choose cities. Empty means all eight, in a fixed order: New York, Chicago, Los Angeles, Austin, Seattle, San Francisco, Cincinnati, Baton Rouge. An unknown city id stops the run before a fetch.
  2. Leave both dates empty to watch, or set Issued from and Issued to (YYYY-MM-DD) to search. A date that is not that shape, or a from-date after the to-date, stops the run.
  3. Set Watch ID (default default). Each city under that ID has its own cursor.
  4. Run a watch once. Permits issued in the lookback are stored and charged at $0.0015 each. The cursor becomes the newest issued time that was stored, and the permit ids from that day are remembered so the next run does not charge them again.
  5. Schedule the same input and the same Watch ID. The next run returns permits issued on or after the saved day, and skips ids already stored for that day.

Input

FieldWhat to enter
Citiesnew_york, chicago, los_angeles, austin, seattle, san_francisco, cincinnati, baton_rouge. Empty means all eight. An unknown id stops the run.
Issued from, Issued toOptional YYYY-MM-DD. Both empty means watch mode. Either one set means search, and the cursor does not move. A bad date or a reversed range stops the run.
Permit categoriesOptional. Empty means every category. An unknown category stops the run.
KeywordsOptional. At most 20 words, each cut at 40 characters after characters other than letters, digits, space, period, plus, and hyphen are removed. A permit matches if any keyword is found.
Minimum valuation (USD)Optional. 0 or more. Empty means no minimum. A negative number or a non-number stops the run.
Include owner and applicant namesOff by default.
Watch IDName of the saved cursors. Default default. Characters other than letters, digits, and hyphen become hyphens. Cut at 40 characters.
Max permits per city1 to 5,000, default 200. A non-integer or a number outside that range stops the run. The Actor does not clamp it.
Socrata app tokenOptional secret. Requests work without one. A token is sent as X-App-Token and is not copied into the dataset.
Reset watch cursorOff by default. On ignores the saved cursors for this Watch ID.

An unknown city, a bad date, a reversed range, an unknown permit type, a bad minimum value, a non-integer max, or a city, type, or keyword field that is not a list stops the run before any request. Nothing is fetched and nothing is charged.

{
"cities": ["austin"],
"watchId": "default",
"maxItemsPerCity": 200
}

Output example

This is a charged watch or search row for Austin permit 2026-128064 EP in the offline Austin fixture. Contacts are off, so owner and applicant names are absent. retrievedAt is the UTC time of the run.

{
"city": "Austin",
"cityId": "austin",
"state": "TX",
"permitNumber": "2026-128064 EP",
"permitTypeRaw": "Electrical Permit",
"permitCategory": "electrical",
"tags": [],
"workDescription": "Replace panel and meter with permanent pole",
"status": "Active",
"appliedDate": "2026-09-29",
"issuedDate": "2026-10-03",
"address": "6403 JOHNNY MORRIS RD UNIT 12",
"zip": "78724",
"lat": 30.29759288,
"lon": -97.64966369,
"parcel": "0217332501",
"contractorCompany": "Wise Electrical Solutions LLC",
"contractorPhone": "5127928664",
"sourceDataset": "datahub.austintexas.gov/3syk-w9eu",
"sourceUrl": "https://abc.austintexas.gov/web/permit/public-search-other?t_detail=1&t_selected_folderrsn=13780627",
"retrievedAt": "set when the row is stored"
}

Pricing

Pay per event. The only event is permit at $0.0015 per building permit stored from a city open-data portal. For example, 100 permits cost $0.15.

Search rows and watch rows use the same event. The first watch window is charged. There is no free snapshot row. When the platform charge limit stops the run, permits past that stop are not stored and not charged. Their ids are not saved, and that city's cursor does not move past them, so the next run can return them. There is no separate capped row. A city with source_unavailable adds no permit charge.

Not charged:

  • A permit already stored for the cursor day. It is not returned.
  • Permits past the charge limit. They stay unseen.
  • A city the portal did not answer. No row is written for the failure.
  • A run that stops on invalid input.
  • Permits filtered out by category, keyword, value, or date. They are not stored.

The default run memory is 256 MB.

Integrations

  • Schedule. In Apify Console, schedule this Actor with both dates empty and the same Watch ID. A different Watch ID starts a new charged lookback per city.
  • Export. Download the dataset as JSON, CSV, Excel, or HTML.
  • Google Sheets. Use Apify's Google Sheets integration, set up by the buyer, if you want the dataset in a sheet.
  • Webhook. Add a platform webhook for the run-finished event if you want one notice per run. This Actor does not send a webhook per permit.
  • API. Start a run and read the dataset with the Apify API or the apify-client packages for JavaScript and Python. The input is the JSON above.
  • RUN_SUMMARY. Read the RUN_SUMMARY record in the default key-value store when the run finishes. Per-city cursors are in that record and in permits-watch-state.

FAQ

Is the first watch run free? No. Permits in the first window are $0.0015 each. That window is 3 days for every city except Los Angeles, which is 14 days, because that portal publishes behind the calendar. There is no baseline row.

What if I add a city to a Watch ID that already ran? That city has no cursor, so it gets its own first window (3 days, or 14 for Los Angeles) and those permits are charged. The other cities keep their cursors. Use a new Watch ID, or turn on Reset watch cursor, to look back again for every selected city.

Do I need an API key? No. An optional Socrata app token uses your own quota instead of the shared pool.

Why did one city return nothing while the others succeeded? That portal failed or returned a non-list payload. RUN_SUMMARY marks it source_unavailable and does not move its cursor. The run still succeeds as partial when any city failed or the charge limit was hit.

What if I set only one date? That is a search, not a watch. The cursor is not read and not moved. Set both dates, or leave both empty.

Limits

Cursors are per city, under one Watch ID. The first watch is a charged lookback of overlap_days on that city: 14 for Los Angeles and 3 for the other seven. A permit issued before that window is not returned.

After the first run, each city starts at its stored issued day with no look-back. A permit published later with an earlier issued date is not returned. This mostly affects Los Angeles.

Watch mode walks issued dates, not Socrata :updated_at, because those portals stamp :updated_at on the whole dataset at once. The saved state is the last stored issued time and the permit ids from that calendar day. The next run starts on that day and skips those ids.

Max permits per city (default 200, hard max 5,000) cuts each city after filtering. The cursor advances only through the stored prefix, so a later run continues with the rest of that day and newer days. A page that ignores $limit is cut to the requested page size and paging stops for that city.

Keywords are not sent when they are empty after cleaning. At most 20 keywords are used. A minimum value or keyword that the portal rejects (HTTP 400) is applied after a date-only download, still inside the page cap.

If one city's backlog is larger than the charge limit, the unpaid permits stay unseen. The workaround is to raise the platform charge limit or to give that city its own Watch ID. This version does not skip ahead past unpaid rows.

Source: the eight city Socrata portals named above. This Actor is not the official product of those cities.