# Dallas 311 Service Requests Scraper | Texas (`texas-data-feeds/dallas-311-feed`) Actor

Extract Dallas 311 requests with issue type, address, status and coordinates. Filter by ZIP, department and date for property and local-demand research.

- **URL**: https://apify.com/texas-data-feeds/dallas-311-feed.md
- **Developed by:** [Texas Data Feeds](https://apify.com/texas-data-feeds) (community)
- **Categories:** Real estate
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Dallas 311 Service Requests Scraper | Texas

Extract Dallas 311 requests with issue type, address, status and coordinates. Filter by ZIP, department and date for property and local-demand research.

### Who is this for?

Cleanup contractors, property managers, real-estate investors, researchers and lead-generation analysts studying local service demand.

### Example use cases

- Track illegal-dumping reports by ZIP.
- Compare request status and response times.
- Research code concerns around an investment area.

### Sample output

Illustrative values only, not a current source record. Fields may be missing or null; see the input and output schema for the full structure.

| record_type | case_id | type | status | zip_code |
| --- | --- | --- | --- | --- |
| service_request | EXAMPLE | Illegal Dump | Open | 75201 |

### Data scope and limits

Public records are research signals, not verified sales leads or evidence of wrongdoing. No verified owner contact details, phone numbers or emails are promised. Source refresh delays and missing data can affect results. Confirm operational or investment decisions with the official source. Scheduling and integrations are configured separately in Apify; this actor does not contact anyone.

### Related search terms

Dallas 311, Texas service requests, illegal dumping, code concerns, property research.

### Input

| Field | Meaning |
|---|---|
| `typeKeywords` | Keywords matched against `service_request_type`, e.g. `Illegal Dump`, `Code Concern`, `Pot Hole`, `Dead Animal` |
| `departments`, `zipCodes`, `councilDistricts` | Optional extra filters |
| `openOnly`, `statuses`, `priorities` | Status / priority filters (`openOnly` excludes Closed / Canceled) |
| `newSinceDays` | Requests created in the last N days (default 7) |
| `dateFrom`, `dateTo` | Created-date window (YYYY-MM-DD), pushed to SODA `$where` |
| `maxItems` | Cap on results, newest first (default 1,000) |
| `requestDelaySecs` | Polite delay between HTTP requests (min 1 s, robots Crawl-delay) |

Example (illegal-dumping requests from the past week):

```json
{"typeKeywords": ["Illegal Dump"], "newSinceDays": 7, "maxItems": 50}
```

### How current is the data?

The City updates the dataset frequently (often daily). Each run queries the live SODA endpoint ordered by `created_date DESC`. Schedule the actor daily or hourly for monitoring.

### Data source and credit

- **City of Dallas Open Data**: [311 Service Requests October 1, 2020 to Present](https://www.dallasopendata.com/Services/311-Service-Requests-October-1-2020-to-Present/d7e7-envw) (dataset id `d7e7-envw`). The data is licensed **PDDL (Open Data Commons Public Domain Dedication and License)**. Attribution: City of Dallas / 311 Customer Service. You can query or download the raw data free at that link. This actor charges only for the automation it adds: paged SODA queries, filtering, ZIP/lat-lon parsing, normalization, and scheduled delivery. If you republish the data, credit the City of Dallas as the source.
- This actor is **not affiliated with or endorsed by the City of Dallas**. No City logos are used.

### Pricing

See the current Apify Store pricing panel for active rates and effective dates. This documentation update does not change pricing.

### Etiquette and compliance

Paged SODA JSON requests only (`/resource/d7e7-envw.json`). The actor never scrapes the portal UI. It waits at least 1 s between requests (robots.txt Crawl-delay: 1), sends a descriptive User-Agent (`TexasDataFeeds-Dallas311/0.1 ...`), and backs off on 403/429 errors. `/resource/` and `/api/views/` are allowed by robots.txt.

### Disclaimer

Data is provided "as is", with no warranty of accuracy, completeness or timeliness. It is not an official record; verify with the City of Dallas (311 Customer Service) before acting on it. Addresses describe the location of the reported issue, not a person. The City's file contains no reporter names, and this actor adds no personal data. Use the data lawfully, and do not use it to harass residents or for any purpose covered by the FCRA (such as tenant, credit or employment screening).

# Actor input Schema

## `typeKeywords` (type: `array`):

Case-insensitive keywords matched against service_request_type, e.g. Illegal Dump, Code Concern, Pot Hole, Dead Animal, Water Main. Empty = all.

## `departments` (type: `array`):

Exact department names (case-insensitive), e.g. Code Compliance Services, Dallas Animal Services, Sanitation Services, Transportation & Public Works. Empty = all.

## `zipCodes` (type: `array`):

Only requests whose address contains these ZIP codes (Dallas ZIPs are mostly 75xxx). Empty = all.

## `councilDistricts` (type: `array`):

Dallas City Council district numbers. Empty = all.

## `openOnly` (type: `boolean`):

Exclude Closed / Closed (Duplicate) / Closed (Transferred) / Canceled statuses.

## `statuses` (type: `array`):

Exact status values (case-insensitive), e.g. New, In Progress, Closed, On Hold, Escalated. Empty = all.

## `priorities` (type: `array`):

Exact priority values (case-insensitive), e.g. Standard, Urgent. Empty = all.

## `newSinceDays` (type: `integer`):

Keep requests created within the last N days (UTC). 0 = no limit.

## `dateFrom` (type: `string`):

Optional earliest created_date (pushed to SODA $where).

## `dateTo` (type: `string`):

Optional latest created_date inclusive (pushed to SODA $where).

## `maxItems` (type: `integer`):

Newest first. Caps cost; 0 = no hard limit (still pages 1,000 at a time).

## `requestDelaySecs` (type: `integer`):

Polite delay; the portal's robots.txt asks for Crawl-delay 1.

## Actor input object example

```json
{
  "typeKeywords": [
    "Code Concern"
  ],
  "openOnly": false,
  "newSinceDays": 7,
  "maxItems": 1000,
  "requestDelaySecs": 1
}
```

# Actor output Schema

## `dataset` (type: `string`):

Dataset with all output records

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "typeKeywords": [
        "Code Concern"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("texas-data-feeds/dallas-311-feed").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "typeKeywords": ["Code Concern"] }

# Run the Actor and wait for it to finish
run = client.actor("texas-data-feeds/dallas-311-feed").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "typeKeywords": [
    "Code Concern"
  ]
}' |
apify call texas-data-feeds/dallas-311-feed --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,texas-data-feeds/dallas-311-feed"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/lTl0bWf8FTPKF2l2T/builds/pRkBFhVolXGEbDJDA/openapi.json
