Code Violations & Distressed Property Scraper ($0.80/1k) avatar

Code Violations & Distressed Property Scraper ($0.80/1k)

Pricing

from $0.80 / 1,000 normalized municipal code violation & distressed property leads

Go to Apify Store
Code Violations & Distressed Property Scraper ($0.80/1k)

Code Violations & Distressed Property Scraper ($0.80/1k)

Multi-city municipal code enforcement & distressed property scraper harmonizing live Socrata feeds across Austin, SF, Seattle, Buffalo, Montgomery MD & Cincinnati for wholesalers & contractors. Early-bird $0.80/1k (rises to $2.00/1k). +MCP.

Pricing

from $0.80 / 1,000 normalized municipal code violation & distressed property leads

Rating

0.0

(0)

Developer

Ignacio De Saeger

Ignacio De Saeger

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

7 days ago

Last modified

Features

Limited permissionsSingle-tenantServer interface

Share

US Municipal Code Violations & Distressed Property Leads Scraper

The Code Violations & Distressed Property Scraper unifies live municipal code enforcement, housing habitability violations, condemned/vacant structures, unpermitted construction, and exterior blight records across 6 major US municipal Socrata open-data portals (Austin, Seattle, San Francisco, Buffalo, Montgomery County MD, and Cincinnati). Instead of writing separate scripts for fragmented city schemas (case_id, recordnum, complaint_number, sbl, GeoJSON vs flat coordinates), every record is normalized into a consistent 19-field JSON schema containing address, parcelId, zipCode, distressCategory, violationType, status, isOpenCase, openedDate, description, inspectorOrDivision, latitude, longitude, and a deterministic distressScore (0–100) with investorPriorityTier (CRITICAL_DISTRESS, HIGH_MOTIVATION, STANDARD). Fault-isolated per-city fetching ensures one portal hiccup never stops multi-city runs, with native Standby MCP Server support. No external API key or proxy required.

Use cases

  • Off-Market Real Estate Wholesaling & Acquisition: Pull fresh openCasesOnly: true properties with structural hazards, vacant/abandoned tags, or repeat citations before deals hit the MLS.
  • Fix-and-Flip & Distressed Rehab Sourcing: Filter across 6 US metros by distressFilter (structural_hazard, vacant_abandoned, housing_habitability) and prioritize CRITICAL_DISTRESS properties.
  • Roofing, Mold Remediation, Plumbing & Electrical Contractors: Match active fire_electrical_plumbing, exterior_blight, or unpermitted_zoning keywords (roof, mold, work without permit) to immediate homeowner repair demand.
  • Real Estate Skip-Tracing & CRM Pipelines: Export standardized address, parcelId, city, state, and zipCode fields directly into Clay, n8n, Make, or PropStream/BatchLeads skip-tracing.
  • Municipal Blight & Risk Analytics: Track open code enforcement volume and inspector trends across multiple city open-data feeds in one call.
  • AI Deal-Finding Agents (MCP): Query distressed property leads inside Claude Desktop, Cursor, or Google Antigravity via /mcp.

Transparent Pay-Per-Event Launch Pricing

[!IMPORTANT] Early-Adopter Launch Rate ($0.80 / 1,000 leads): Temporary promotional pricing for early Apify Store adopters & real-estate workflows. Upcoming Standard Rate ($2.00 / 1,000 leads): Price will step up once initial launch benchmarks are met — and even the permanent standard rate remains 75%–95% lower than comparable property & municipal scrapers ($10–$80/1k).

Pay only per normalized municipal code violation lead returned—no monthly SaaS seat or data vendor fees:

Plan TierEvent (code-violation-lead)Effective Rate
Early-Bird Launch / Free$0.0008 per lead$0.80 per 1,000 leads
Bronze$0.0007 per lead$0.70 per 1,000 leads
Silver$0.0006 per lead$0.60 per 1,000 leads
Gold$0.0005 per lead$0.50 per 1,000 leads
Scheduled Standard Rate$0.0020 per lead$2.00 per 1,000 leads

Supported US Municipal Portals (metros)

Metro KeyJurisdictionOfficial Municipal Open-Data Portal
austinAustin, TXAustin Code Department Compliance (6wtj-zbtb)
seattleSeattle, WASeattle SDCI Code Complaints & Violations (ez4a-iug7)
san_franciscoSan Francisco, CASF Dept. of Building Inspection Complaints (gm2e-bten)
buffaloBuffalo, NYCity of Buffalo Code Violations (ivrf-k9vm)
montgomery_mdMontgomery County, MDMontgomery County DHCA Housing Code Violations (k9nj-z35d)
cincinnatiCincinnati, OHCincinnati / CAGIS Code Enforcement (cncm-znd6)

1-Click JSON Input Example

{
"metros": ["austin", "san_francisco", "buffalo"],
"distressFilter": "all",
"openCasesOnly": true,
"keywords": ["vacant", "roof"],
"maxResults": 50
}

Sample Unified Output Record

{
"caseId": "2026-148597 CC",
"metro": "austin",
"city": "Austin",
"state": "TX",
"zipCode": "78745",
"address": "5907 EUREKA DRIVE",
"parcelId": "0415120205",
"distressCategory": "UNPERMITTED_ZONING",
"violationType": "Complaints - Work Without Permit - Priority 5",
"status": "Pending",
"isOpenCase": true,
"openedDate": "2026-11-11",
"description": "Work Without Permit",
"inspectorOrDivision": "Monroe Yarbrough ((512) 788-3046)",
"latitude": 30.207773,
"longitude": -97.790069,
"distressScore": 69,
"investorPriorityTier": "HIGH_MOTIVATION",
"sourcePortalUrl": "https://data.austintexas.gov/Public-Safety/Austin-Code-Department-Code-Compliance/6wtj-zbtb"
}

API Quickstart (cURL, Node.js & Python)

cURL (Synchronous Run + Dataset Items)

curl -X POST "https://api.apify.com/v2/acts/desastreger~us-municipal-code-violation-distressed-leads/run-sync-get-dataset-items?token=<APIFY_TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"metros": ["austin", "seattle"],
"distressFilter": "vacant_abandoned",
"openCasesOnly": true,
"maxResults": 25
}'

Node.js (apify-client)

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('desastreger/us-municipal-code-violation-distressed-leads').call({
metros: ['austin', 'san_francisco', 'cincinnati'],
distressFilter: 'structural_hazard',
openCasesOnly: true,
maxResults: 50,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

Python (apify-client)

import os
from apify_client import ApifyClient
client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("desastreger/us-municipal-code-violation-distressed-leads").call(run_input={
"metros": ["austin", "buffalo", "montgomery_md"],
"distressFilter": "all",
"openCasesOnly": True,
"maxResults": 50,
})
items = list(client.dataset(run["defaultDatasetId"]).iterate_items())
print(items[:3])

Model Context Protocol (MCP) Integration

Connect Claude Desktop, Cursor, or Google Antigravity directly to the live Standby MCP server at /mcp:

{
"mcpServers": {
"code-violation-leads": {
"url": "https://desastreger--us-municipal-code-violation-distressed-leads.apify.actor/mcp",
"headers": {
"Authorization": "Bearer <APIFY_TOKEN>"
}
}
}
}

Exposed MCP Tools:

  • search_code_violation_leads: Query live code enforcement & distressed property leads across austin, seattle, san_francisco, buffalo, montgomery_md, and cincinnati filtered by distressFilter, openCasesOnly, keywords, and maxResults.
  • list_code_violation_metros: List all 6 supported municipal code violation Socrata portals, dataset URLs, ordering fields, and supported distress filters.

Data Legality & Provenance

100% of data is retrieved from official US municipal open-data portals (data.austintexas.gov, data.seattle.gov, data.sfgov.org, data.buffalony.gov, data.montgomerycountymd.gov, data.cincinnati-oh.gov) published as public municipal records.