La Code Violations Scraper
Pricing
from $3.50 / 1,000 results
La Code Violations Scraper
Pricing
from $3.50 / 1,000 results
Rating
0.0
(0)
Developer

Fortuitous Pirate
Actor stats
0
Bookmarked
2
Total users
1
Monthly active users
4 days ago
Last modified
Categories
Share
Overview
Extract Los Angeles code enforcement violations from the official LA City Open Data portal. Get case numbers, addresses, violation types (building, electrical, mechanical, zoning, billboards, signs), inspection districts, and compliance status. Filter by case type, area planning commission, date range, street name, and ZIP code.
Features
- Filter results by category or type
- Includes location and address data
- Control output volume with configurable result limits
- Built-in proxy support for reliable data collection
Use Cases
- Track - Track state and local government data and permits
- Monitor - Monitor regulatory filings and public records
- Build - Build databases for civic tech and transparency projects
- Aggregate - Aggregate local government data for community research
Input Parameters
| Parameter | Type | Description | Default |
|---|---|---|---|
maxItems | integer | Maximum number of records to return. Default is 100, max is 50000. | 100 |
caseType | string | Filter by case type. Leave empty for all types. | `` |
areaCommission | string | Filter by geographic area. Leave empty for all areas. | `` |
dateFrom | string | Filter cases opened on or after this date (YYYY-MM-DD format). | |
dateTo | string | Filter cases opened on or before this date (YYYY-MM-DD format). | |
streetName | string | Filter by street name (partial match, case insensitive). Example: 'HOLLYWOOD'... | |
zipCode | string | Filter by zip code (exact match on first 5 digits). Example: '90028'. | |
inspectionDistrict | string | Filter by LADBS inspection district number. | |
parcelId | string | Filter by Parcel Identification Number. | |
sortBy | string | Sort results by field. | adddttm DESC |
proxyConfiguration | object | Proxy configuration for requests. Usually not needed for Socrata API. |
Output Example
Each result contains structured data like this:
{"title": "Sample Government - State/Local Result","agency": "Department of Commerce","date": "2025-01-15","description": "Detailed description of the item...","location": "San Francisco, CA","documentUrl": "https://example.com/item/12345","url": "https://example.com/item/12345"}
Pricing
This actor uses pay-per-result pricing:
- $0.001 per result
- $1.00 per 1,000 results
No monthly fees. You only pay for what you scrape. Apify Free plan includes $5/month in platform credits.
How to Run
Apify Console
- Go to the LA Code Violations Scraper actor page
- Configure your input parameters
- Click Start and wait for the results
- Download data in JSON, CSV, or Excel format
API
curl -X POST "https://api.apify.com/v2/acts/fortuitous_pirate~la-code-violations-scraper/runs?token=YOUR_API_TOKEN" \-H "Content-Type: application/json" \-d '{"maxItems": 10}'
Python SDK
from apify_client import ApifyClientclient = ApifyClient("YOUR_API_TOKEN")run = client.actor("fortuitous_pirate/la-code-violations-scraper").call(run_input={"maxItems": 10})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item)
Integration
Connect LA Code Violations Scraper with your existing tools and workflows:
- API access - Programmatic access via Apify API
- Webhooks - Get notified when scraping completes
- Scheduling - Set up recurring runs on any schedule
- Zapier / Make - Connect with 5,000+ apps via Apify integrations
- Python / Node.js SDKs - Native client libraries for easy integration