# Building Permits Scraper - National Permit Aggregator (`jungle_synthesizer/building-permits-national-aggregator`) Actor

Aggregate building permits across 30+ US metros via city open-data portals. Normalized schema: permit type, valuation, geocoded address, contractor, owner. Built for construction leads, contractor sales, PropTech, and insurance workflows.

- **URL**: https://apify.com/jungle\_synthesizer/building-permits-national-aggregator.md
- **Developed by:** [BowTiedRaccoon](https://apify.com/jungle_synthesizer) (community)
- **Categories:** Real estate, Lead generation, Business
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Building Permits Scraper - National Construction Permit Aggregator

Aggregate US building and construction permits across 15 major jurisdictions — NYC, LA, Chicago, Austin, San Francisco, Seattle, Dallas, Philadelphia, and more — into one normalized dataset. Returns permit type, valuation, geocoded address, contractor, owner, and large-project / new-construction flags drawn from roughly 10 million public records.

---

### Building Permits Aggregator Features

- Covers 15 US jurisdictions out of the box, spanning every major region from the Northeast to the Pacific. The registry grows by adding one entry per city.
- Normalizes disparate open-data schemas (Socrata SODA v2, CARTO SQL) into a single 25-field output model. No per-city post-processing.
- Round-robin pagination distributes results across jurisdictions — you see permits from every requested metro before any one dominates the budget.
- Filters by issue date range, minimum valuation, new-construction-only, and state. Tags large projects above a configurable threshold.
- Geocoded output: latitude/longitude on every record that the source portal publishes them on.
- Pure API access — no browser, no proxies, no CAPTCHA. Just JSON.

---

### What Can You Do With National Permit Data?

- **Construction lead generation** — Pull issued residential or commercial permits by metro, filter by valuation, and feed them into a CRM the same day.
- **Contractor sales (roofing, solar, HVAC)** — Target homeowners whose permit descriptions reference re-roofing, solar installation, or HVAC replacement. The raw description field makes this easy.
- **PropTech and real-estate intelligence** — Track building-activity trends by ZIP, by contractor, or by owner across metros without maintaining 15 separate ETL pipelines.
- **Commercial GC market intel** — Use the `is_large_project` flag and `minValuationUsd` filter to isolate commercial-scale permits in a region.
- **Insurance and appraisal workflows** — Pair permit history with property records to validate improvements, flag unpermitted work, or score risk.

---

### How the Aggregator Works

1. Pick a set of jurisdictions by slug (`nyc`, `los-angeles`, `chicago`, `austin`, ...) or by state (`CA`, `TX`, `NY`) — or leave both empty to pull from every supported metro.
2. Optionally set an `issuedAfter` / `issuedBefore` date range. The aggregator adds the appropriate `$where` clause per jurisdiction.
3. It round-robins through the jurisdictions, fetching a page of permits from each in turn. Pagination, rate limiting, and per-city transformation all happen automatically.
4. Records come back in a single flat schema, ready for a warehouse, a CRM, or a CSV export.

---

### Input

```json
{
    "jurisdictions": ["nyc", "los-angeles", "chicago"],
    "issuedAfter": "2025-01-01",
    "minValuationUsd": 50000,
    "maxItems": 500
}
````

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `jurisdictions` | array\[string] | (all) | City/metro slugs. See supported list below. |
| `states` | array\[string] | — | 2-letter state codes. Expands to every supported metro in the state. |
| `issuedAfter` | string | `2025-01-01` | YYYY-MM-DD lower bound on issue date. |
| `issuedBefore` | string | `""` | YYYY-MM-DD upper bound on issue date. Empty = no upper bound. |
| `minValuationUsd` | integer | `0` | Drop permits with declared valuation below this. |
| `onlyNewConstruction` | boolean | `false` | Keep only permits normalized as `new` (excludes repairs, alterations, demolitions). |
| `largeProjectThresholdUsd` | integer | `100000` | Sets the `is_large_project` tag threshold. Does not filter. |
| `maxItems` | integer | `100` | Maximum records to return across all jurisdictions. |
| `proxyConfiguration` | object | (off) | Optional Apify proxy. Not needed for any supported portal. |

#### Supported Jurisdictions

| Slug | Metro | State |
|------|-------|-------|
| `nyc` | New York City (DOB NOW Approved Permits) | NY |
| `los-angeles` | Los Angeles | CA |
| `chicago` | Chicago | IL |
| `austin` | Austin | TX |
| `san-francisco` | San Francisco | CA |
| `seattle` | Seattle | WA |
| `dallas` | Dallas | TX |
| `philadelphia` | Philadelphia (CARTO SQL API) | PA |
| `new-orleans` | New Orleans | LA |
| `baton-rouge` | Baton Rouge | LA |
| `cincinnati` | Cincinnati | OH |
| `mesa` | Mesa | AZ |
| `san-diego-county` | San Diego County | CA |
| `montgomery-county-md` | Montgomery County | MD |
| `fort-collins` | Fort Collins | CO |

#### Example: pull one metro, high-value projects only

```json
{
    "jurisdictions": ["los-angeles"],
    "issuedAfter": "2024-01-01",
    "minValuationUsd": 500000,
    "maxItems": 1000
}
```

#### Example: sweep every California jurisdiction

```json
{
    "states": ["CA"],
    "issuedAfter": "2025-01-01",
    "maxItems": 5000
}
```

***

### Building Permits Output Fields

```json
{
    "permit_id": "M01370970-S1-PL",
    "source_jurisdiction": "nyc",
    "source_url": "https://data.cityofnewyork.us/Housing-Development/DOB-NOW-Build-Approved-Permits/rbx6-tga4",
    "permit_type": "alteration",
    "permit_type_raw": "Plumbing",
    "sub_type": "",
    "work_class": "Plumbing",
    "description": "PLUMBING WORK IN CONJUNCTION WITH INTERIOR RENOVATION OF APARTMENT 15CD.",
    "status": "Permit Issued",
    "issued_date": "2026-04-17",
    "application_date": "2026-04-12",
    "finaled_date": "2026-05-19",
    "valuation_usd": 18000,
    "address": "400 WEST 12 STREET",
    "city": "New York",
    "state": "NY",
    "zip": "10014",
    "lat": 40.7371,
    "lng": -74.009934,
    "parcel_apn": "640-7501",
    "owner_name": "Justin Minskoff",
    "applicant_name": "EDUART KULLA",
    "contractor_name": "AQUEDUCT MECHANICAL CORP",
    "contractor_license": "002532",
    "is_new_construction": false,
    "is_large_project": false
}
```

| Field | Type | Description |
|-------|------|-------------|
| `permit_id` | string | Jurisdiction-assigned permit number (primary key within source). |
| `source_jurisdiction` | string | Slug of the jurisdiction that produced this record (`nyc`, `los-angeles`, etc.). |
| `source_url` | string | Human-readable URL for the source dataset on the city portal. |
| `permit_type` | string | Normalized type: `new`, `addition`, `alteration`, `demolition`, `repair`, or `other`. |
| `permit_type_raw` | string | Raw permit-type string from the source (useful when you need the original city taxonomy). |
| `sub_type` | string | `commercial`, `residential`, or `mixed` when the source exposes it. |
| `work_class` | string | Work-class / scope category straight from the source. |
| `description` | string | Free-text description of the work. |
| `status` | string | Permit status (`issued`, `finaled`, `expired`, etc.) as reported by the source. |
| `issued_date` | string | Date the permit was issued (YYYY-MM-DD). |
| `application_date` | string | Date the permit was filed / applied for. |
| `finaled_date` | string | Date the permit reached final status, when available. |
| `valuation_usd` | number | Declared project valuation in USD. `0` if the source doesn't publish it. |
| `address` | string | Street address of the project. |
| `city` | string | City of the project. |
| `state` | string | Two-letter state code. |
| `zip` | string | ZIP / postal code. |
| `lat` | number | Latitude (WGS84). |
| `lng` | number | Longitude (WGS84). |
| `parcel_apn` | string | Parcel / APN / tax-assessor ID when available. |
| `owner_name` | string | Property owner name when published. |
| `applicant_name` | string | Permit applicant name when published. |
| `contractor_name` | string | General contractor / business name when published. |
| `contractor_license` | string | Contractor state license number when published. |
| `is_new_construction` | boolean | `true` when `permit_type` normalizes to `new`. |
| `is_large_project` | boolean | `true` when `valuation_usd` meets or exceeds `largeProjectThresholdUsd`. |

***

### FAQ

#### How do I scrape building permits across multiple US cities?

Building Permits Aggregator ships with a registry of 15 jurisdictions and normalizes them into a single schema. Pick jurisdictions by slug, by state, or leave both empty to hit every supported metro in a single run.

#### How much does Building Permits Aggregator cost to run?

Building Permits Aggregator runs on pay-per-event pricing: $0.10 per actor start plus $0.001 per record. A 10K-permit metro sweep is about $10 including start. A 500K-permit national pull is about $500.

#### Does Building Permits Aggregator need proxies?

No. All supported portals (Socrata, CARTO) are public open-data services designed for third-party consumption. The actor defaults to direct requests — no proxy configuration needed.

#### Can I filter by valuation or project type?

Yes. `minValuationUsd` drops records below a threshold. `onlyNewConstruction` restricts to permits normalized as new construction. `largeProjectThresholdUsd` controls the `is_large_project` tag that commercial-GC users typically filter on downstream.

#### What's the difference between `permit_type` and `permit_type_raw`?

`permit_type` is the normalized value — one of `new`, `addition`, `alteration`, `demolition`, `repair`, or `other` — so you can query consistently across cities. `permit_type_raw` is whatever the source portal shipped, for when you need the original taxonomy.

#### Which cities are coming next?

The most-requested additions are Boston, Houston, San Jose, Miami, and Denver. Boston is currently blocked by Cloudflare on its CKAN endpoint; the rest depend on per-city API research. File a request for the metro you need.

***

### Need More Features?

Need a city that isn't in the registry, contractor-license cross-references, or a custom field? [File an issue](https://console.apify.com/actors/issues) or get in touch.

### Why Use the Building Permits Aggregator?

- **One schema, fifteen cities** — You write one query and get normalized results from NYC, LA, Chicago, and a dozen more. No per-city ETL.
- **Cheap to run** — $0.001 per record. A full metro sweep is coffee money, not a budget line item.
- **Built for the lead-gen workflow** — `is_new_construction`, `is_large_project`, `minValuationUsd`, and geocoded addresses cover the filters that construction, roofing, solar, and insurance vendors ask for.

# Actor input Schema

## `sp_intended_usage` (type: `string`):

Please describe how you plan to use the data extracted by this crawler.

## `sp_improvement_suggestions` (type: `string`):

Provide any feedback or suggestions for improvements.

## `sp_contact` (type: `string`):

Provide your email address so we can get in touch with you.

## `jurisdictions` (type: `array`):

City/metro slugs to pull (e.g. 'nyc', 'los-angeles', 'chicago', 'austin'). Leave empty to pull from all supported jurisdictions. See README for full list.

## `states` (type: `array`):

Alternative to jurisdictions - two-letter state codes (e.g. 'CA', 'TX', 'NY'). Pulls all supported jurisdictions in each state.

## `issuedAfter` (type: `string`):

YYYY-MM-DD. Only include permits issued on or after this date. Leave empty for no lower bound.

## `issuedBefore` (type: `string`):

YYYY-MM-DD. Only include permits issued on or before this date. Leave empty for no upper bound.

## `minValuationUsd` (type: `integer`):

Only include permits with declared valuation at or above this dollar amount. 0 = no minimum.

## `onlyNewConstruction` (type: `boolean`):

Filter to new-construction permits only (excludes repairs, alterations, demolitions). Heuristic based on permit\_type and work\_class.

## `largeProjectThresholdUsd` (type: `integer`):

Valuation above which a permit is flagged as a 'large project' in the is\_large\_project output field. Does not filter - just tags.

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

Maximum number of permits to return across all jurisdictions.

## `proxyConfiguration` (type: `object`):

Most city open-data portals do not require proxies. Leave disabled unless you see rate-limit errors.

## Actor input object example

```json
{
  "sp_intended_usage": "Describe your intended use...",
  "sp_improvement_suggestions": "Share your suggestions here...",
  "sp_contact": "Share your email here...",
  "issuedAfter": "2025-01-01",
  "minValuationUsd": 0,
  "onlyNewConstruction": false,
  "largeProjectThresholdUsd": 100000,
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# 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 = {
    "sp_intended_usage": "Describe your intended use...",
    "sp_improvement_suggestions": "Share your suggestions here...",
    "sp_contact": "Share your email here...",
    "issuedAfter": "2025-01-01",
    "issuedBefore": "",
    "minValuationUsd": 0,
    "onlyNewConstruction": false,
    "largeProjectThresholdUsd": 100000,
    "maxItems": 100,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("jungle_synthesizer/building-permits-national-aggregator").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 = {
    "sp_intended_usage": "Describe your intended use...",
    "sp_improvement_suggestions": "Share your suggestions here...",
    "sp_contact": "Share your email here...",
    "issuedAfter": "2025-01-01",
    "issuedBefore": "",
    "minValuationUsd": 0,
    "onlyNewConstruction": False,
    "largeProjectThresholdUsd": 100000,
    "maxItems": 100,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("jungle_synthesizer/building-permits-national-aggregator").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "sp_intended_usage": "Describe your intended use...",
  "sp_improvement_suggestions": "Share your suggestions here...",
  "sp_contact": "Share your email here...",
  "issuedAfter": "2025-01-01",
  "issuedBefore": "",
  "minValuationUsd": 0,
  "onlyNewConstruction": false,
  "largeProjectThresholdUsd": 100000,
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call jungle_synthesizer/building-permits-national-aggregator --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=jungle_synthesizer/building-permits-national-aggregator",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Building Permits Scraper - National Permit Aggregator",
        "description": "Aggregate building permits across 30+ US metros via city open-data portals. Normalized schema: permit type, valuation, geocoded address, contractor, owner. Built for construction leads, contractor sales, PropTech, and insurance workflows.",
        "version": "1.0",
        "x-build-id": "sqY2iUWMMMokr031z"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/jungle_synthesizer~building-permits-national-aggregator/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-jungle_synthesizer-building-permits-national-aggregator",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/jungle_synthesizer~building-permits-national-aggregator/runs": {
            "post": {
                "operationId": "runs-sync-jungle_synthesizer-building-permits-national-aggregator",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/jungle_synthesizer~building-permits-national-aggregator/run-sync": {
            "post": {
                "operationId": "run-sync-jungle_synthesizer-building-permits-national-aggregator",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "sp_intended_usage",
                    "sp_improvement_suggestions"
                ],
                "properties": {
                    "sp_intended_usage": {
                        "title": "What is the intended usage of this data?",
                        "minLength": 1,
                        "type": "string",
                        "description": "Please describe how you plan to use the data extracted by this crawler."
                    },
                    "sp_improvement_suggestions": {
                        "title": "How can we improve this crawler for you?",
                        "minLength": 1,
                        "type": "string",
                        "description": "Provide any feedback or suggestions for improvements."
                    },
                    "sp_contact": {
                        "title": "Contact Email",
                        "minLength": 1,
                        "type": "string",
                        "description": "Provide your email address so we can get in touch with you."
                    },
                    "jurisdictions": {
                        "title": "Jurisdictions",
                        "type": "array",
                        "description": "City/metro slugs to pull (e.g. 'nyc', 'los-angeles', 'chicago', 'austin'). Leave empty to pull from all supported jurisdictions. See README for full list.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "states": {
                        "title": "States",
                        "type": "array",
                        "description": "Alternative to jurisdictions - two-letter state codes (e.g. 'CA', 'TX', 'NY'). Pulls all supported jurisdictions in each state.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "issuedAfter": {
                        "title": "Issued After",
                        "type": "string",
                        "description": "YYYY-MM-DD. Only include permits issued on or after this date. Leave empty for no lower bound."
                    },
                    "issuedBefore": {
                        "title": "Issued Before",
                        "type": "string",
                        "description": "YYYY-MM-DD. Only include permits issued on or before this date. Leave empty for no upper bound."
                    },
                    "minValuationUsd": {
                        "title": "Minimum Valuation (USD)",
                        "type": "integer",
                        "description": "Only include permits with declared valuation at or above this dollar amount. 0 = no minimum.",
                        "default": 0
                    },
                    "onlyNewConstruction": {
                        "title": "Only New Construction",
                        "type": "boolean",
                        "description": "Filter to new-construction permits only (excludes repairs, alterations, demolitions). Heuristic based on permit_type and work_class.",
                        "default": false
                    },
                    "largeProjectThresholdUsd": {
                        "title": "Large-Project Threshold (USD)",
                        "type": "integer",
                        "description": "Valuation above which a permit is flagged as a 'large project' in the is_large_project output field. Does not filter - just tags.",
                        "default": 100000
                    },
                    "maxItems": {
                        "title": "Max Items",
                        "type": "integer",
                        "description": "Maximum number of permits to return across all jurisdictions.",
                        "default": 100
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Most city open-data portals do not require proxies. Leave disabled unless you see rate-limit errors."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
