Cambridge Building Permits Properties and Details Scraper
Pricing
from $3.99 / 1,000 results
Cambridge Building Permits Properties and Details Scraper
Cambridge Building Permits Properties and Details Scraper — Reads public Cambridge Massachusetts building-permit records from Socrata. Returns permit rows only; OUTPUT reports standardized SUCCEEDED/FAILED status.
Pricing
from $3.99 / 1,000 results
Rating
0.0
(0)
Developer
Real Estate API
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Features
Share
Query public building-permit records from the City of Cambridge, Massachusetts Inspectional Services Department. The Actor uses the official Socrata dataset qu2z-8suj (Building Permits: Addition/Alteration) and returns permit IDs, addresses, work descriptions, permit status/type, issue dates, contractors, valuations, property/building fields, public location flags, and source URLs.
Public source
https://data.cambridgema.gov/resource/qu2z-8suj.json
The source is queried with a bounded $limit, optional $offset, the public Socrata $q full-text filter for street, exact $where filters for permitType and status, and a stable newest-issue-date ordering. No login, API key, protected endpoint, or remote Apify operation is used. Permanent failures (HTTP 4xx other than 429, malformed payloads, invalid JSON) fail immediately; only transient network errors, HTTP 429, and HTTP 5xx are retried up to three attempts.
Input
street— optional full-text address/street filter.permitType— optional exactpermit_typefilter.status— optional exact status filter such asActive.maxItems— maximum records to store, from 1 to 500 (default25).offset— source row offset, from 0 to 100,000 (default0).timeoutSecs— public request timeout, from 5 to 120 seconds (default30).requestDelayMs— polite delay before the request (default0).
Output
Each successful record has recordType=permit, found=true, and dataAvailable=true. Costs are normalized to numbers when the source publishes numeric values; missing fields are omitted. Records include source-backed nested buildingDetails, residentialDetails, parkingDetails, constructionDetails, reviewFlags, and parsed locationDetails when those values are present. changeFlags includes permit-specific project and site-impact indicators. Applicant, architect, and licensed-name fields are intentionally omitted.
Date fields (applicantSubmitDate, issuedDate, and constructionDetails.debrisRemovalCompletionDate) are preserved exactly as published by Socrata's floating_timestamp type, for example 2026-11-13T00:00:00.000. These values carry no timezone, so a Z suffix is not added; consumers wanting UTC instants should parse them according to their own convention. scrapedAt is generated by the Actor and is a UTC date-time.
Duplicate source rows (for example, the same permit appearing in overlapping ordered/offset windows) are skipped within a run using the stable permit ID, or a source-value fingerprint for address-only rows. The number skipped is reported as duplicateRecordCount in OUTPUT when greater than zero.
The dataset contains permit records only. A valid empty response reports SUCCEEDED / COMPLETED with zero rows. A request or processing failure with no saved permits reports FAILED / FAILED. If permit rows were saved before a later dataset, summary-store, or shutdown failure, the run remains SUCCEEDED / PARTIAL. Failed requests, invalid rows, and placeholder/diagnostic data never become dataset records. OUTPUT reports last-run counts and aggregate failure counts.
The City portal identifies the dataset as licensed under the Open Data Commons Public Domain Dedication and License (PDDL). The dataset contains only completed applications and is updated daily. Fields remain source values; absent permit details are omitted rather than inferred.
Illustrative synthetic dataset row (schema-only, not live results)
{"recordType": "permit","id": "SYNTHETIC-PERMIT-0001","source": "cambridge-building-permits","sourceUrl": "https://data.cambridgema.gov/resource/qu2z-8suj.json","found": true,"dataAvailable": true,"scrapedAt": "2026-01-15T12:00:00.000Z","permitNumber": "SYNTHETIC-PERMIT-0001","address": "123 Example Street, Cambridge, MA 02139","latitude": 42.3701,"longitude": -71.1001,"status": "Active","applicantSubmitDate": "2026-01-10T00:00:00.000Z","issuedDate": "2026-01-14T00:00:00.000Z","workDescription": "Illustrative roof repair permit","permitType": "Building","buildingUse": "Residential","currentPropertyUse": "Residential","proposedPropertyUse": "Residential","propertyUseChange": false,"buildingConstructionType": "Wood frame","firmName": "Example Construction Company","estimatedCost": 75000,"costs": {"building": 50000, "electrical": 25000},"changeFlags": {"useChange": false},"locationFlags": "Illustrative location flag","viewpointId": 12345,"locationDetails": {"ward": "Example Ward", "neighborhood": "Example Area"},"buildingDetails": {"stories": 2},"residentialDetails": {"units": 1},"parkingDetails": {"spaces": 1},"constructionDetails": {"workClass": "Repair"},"reviewFlags": {"buildingReview": "Complete"},"mbl": "SYNTHETIC-PARCEL-0001","recordUrl": "https://data.cambridgema.gov/resource/qu2z-8suj.json?id=SYNTHETIC-PERMIT-0001"}