# USA Clinic Scraper (`knobby_nudge/clinic-scraper`) Actor

Scrapes Yelp clinic listings and enriches them with email and social data from clinic websites.

- **URL**: https://apify.com/knobby\_nudge/clinic-scraper.md
- **Developed by:** [Darshan Patel](https://apify.com/knobby_nudge) (community)
- **Categories:** Lead generation
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## 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

### What does USA Clinic Scraper do?
This Actor searches [Yelp](https://www.yelp.com/) for clinic businesses in selected U.S. cities and specialties, then enriches each listing with contact details from the clinic website. It is built for lead generation workflows where you need **clinic name**, **phone**, **address**, **website**, **emails**, and **social profiles** in one dataset.

You can run it directly on Apify and immediately connect outputs to API-based systems, schedules, webhooks, integrations, monitoring, and proxy rotation. If you are testing locally, run with `apify run`; for production automation, deploy with `apify push`.

### Why use USA Clinic Scraper?
- Build targeted local outreach lists for healthcare marketing teams.
- Find clinics with missing or outdated contact details and enrich records.
- Track regional clinic coverage by specialty (for example, dermatology vs mental health).
- Reduce manual research time by combining listing-page and website-level extraction.
- Use one dataset output that can be consumed by sales ops, CRM imports, BI tools, and internal dashboards.

### How to use USA Clinic Scraper
1. Open the Actor in Apify Console and go to the **Input** tab.
2. Add one or more `cities` (for example, `"New York, NY"`).
3. Add one or more `specialties` (for example, `"dermatologist"`).
4. Set `maxPages` to control Yelp pagination depth per city/specialty combination.
5. Keep `maxRequestsPerCrawl` as a safety limit (or set `0` for no hard cap).
6. Configure `proxyConfiguration` (Apify Proxy is recommended for stable runs).
7. Click **Start** and wait for completion.
8. Open the **Output** tab and download or consume data via API.

### Input
Configure everything in the Actor **Input** tab.

```json
{
  "cities": ["New York, NY", "Los Angeles, CA"],
  "specialties": ["dermatologist", "mental health clinic"],
  "maxPages": 3,
  "maxRequestsPerCrawl": 500,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
````

Input field notes:

- `cities` (array of strings, required): U.S. city/state search locations. Default is preloaded with one major city from each U.S. state (50 total).
- `specialties` (array of strings, required): Yelp search keywords.
- `maxPages` (integer): Number of Yelp pages to scan for each city/specialty pair.
- `maxRequestsPerCrawl` (integer): Global request cap for run safety.
- `proxyConfiguration` (object): Proxy settings for better reliability.

### Output

Each dataset item represents one clinic record with Yelp listing data and optional website enrichment.

```json
[
  {
    "name": "Hudson Dermatology Center",
    "city": "New York, NY",
    "specialty": "dermatologist",
    "phone": "(212) 555-1111",
    "address": "123 Main St, New York, NY",
    "website": "https://hudsonderm.com",
    "emails": ["info@hudsonderm.com"],
    "ownerEmails": ["dr.jane@hudsonderm.com"],
    "facebook": "https://www.facebook.com/hudsonderm",
    "instagram": "https://www.instagram.com/hudsonderm",
    "twitter": null,
    "linkedin": null,
    "facebookProfiles": ["https://www.facebook.com/hudsonderm"],
    "instagramProfiles": ["https://www.instagram.com/hudsonderm"],
    "twitterProfiles": [],
    "linkedinProfiles": [],
    "youtubeProfiles": [],
    "tiktokProfiles": [],
    "allSocialProfiles": [
      "https://www.facebook.com/hudsonderm",
      "https://www.instagram.com/hudsonderm"
    ],
    "source": "https://hudsonderm.com/contact"
  },
  {
    "name": "MindBridge Wellness Clinic",
    "city": "Los Angeles, CA",
    "specialty": "mental health clinic",
    "phone": "(310) 555-2222",
    "address": "456 Ocean Ave, Los Angeles, CA",
    "website": null,
    "emails": [],
    "ownerEmails": [],
    "facebook": null,
    "instagram": null,
    "twitter": null,
    "linkedin": null,
    "facebookProfiles": [],
    "instagramProfiles": [],
    "twitterProfiles": [],
    "linkedinProfiles": [],
    "youtubeProfiles": [],
    "tiktokProfiles": [],
    "allSocialProfiles": [],
    "source": "https://www.yelp.com/search?find_desc=mental%20health%20clinic"
  }
]
```

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

### Data table

| Field | Type | Description |
| --- | --- | --- |
| `name` | string | Clinic business name |
| `city` | string | City used in search |
| `specialty` | string | Specialty keyword used |
| `phone` | string/null | Phone parsed from listing |
| `address` | string/null | Address parsed from listing |
| `website` | string/null | Clinic website URL if found |
| `emails` | array | Unique emails detected on website body |
| `ownerEmails` | array | Likely owner/decision-maker emails (best-effort heuristic) |
| `facebook` | string/null | First Facebook URL found |
| `instagram` | string/null | First Instagram URL found |
| `twitter` | string/null | First Twitter/X URL found |
| `linkedin` | string/null | First LinkedIn URL found |
| `facebookProfiles` | array | All discovered Facebook profile/page links |
| `instagramProfiles` | array | All discovered Instagram profile links |
| `twitterProfiles` | array | All discovered Twitter/X profile links |
| `linkedinProfiles` | array | All discovered LinkedIn profile links |
| `youtubeProfiles` | array | All discovered YouTube links |
| `tiktokProfiles` | array | All discovered TikTok profile links |
| `allSocialProfiles` | array | De-duplicated union of all social links found |
| `source` | string | URL where enrichment data was captured |

### Pricing / Cost estimation

How much does it cost to scrape Yelp clinic data? Cost depends mostly on:

- Number of `cities` and `specialties`
- `maxPages` value
- Number of clinic websites visited for enrichment
- Proxy usage and retries

For small runs (single city, 1-2 specialties, low page depth), usage is typically low and often fits within free-tier experimentation. For larger lead-generation batches, start with smaller test runs, validate output quality, then scale gradually.

### Tips or Advanced options

- Start with `maxPages: 1` to validate keyword quality before scaling.
- Use precise specialty terms to reduce irrelevant businesses.
- Keep `maxRequestsPerCrawl` enabled as a budget guardrail.
- Schedule recurring runs (daily/weekly) to keep outreach data fresh.
- If contact details are critical, keep proxy enabled and run during off-peak hours for better response stability.

### FAQ, disclaimers, and support

#### Is scraping clinic data legal?

This Actor is a technical tool. You are responsible for complying with applicable laws, website Terms of Service, and privacy requirements in your jurisdiction and target market.

#### Why are some fields empty?

Not all listings publish full contact data. Some clinics hide email addresses, do not link websites, or block automated requests.

#### Does local `apify run` upload output to Apify Console?

No. Local storage remains in the local `storage/` folder. To verify Cloud output in Console, deploy and run on Apify platform.

#### Need help or customizations?

Use the Actor **Issues** tab for bugs/feedback. For custom extraction logic, CRM mapping, or private deployments, you can request a tailored version.

# Actor input Schema

## `cities` (type: `array`):

City names to search in Yelp. Defaults to one major city from each U.S. state.

## `specialties` (type: `array`):

Clinic specialties to search for in each city.

## `maxPages` (type: `integer`):

How many Yelp pagination pages to scrape for each city and specialty pair.

## `maxRequestsPerCrawl` (type: `integer`):

Global crawl limit. Set to 0 for no limit.

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

Proxy settings used for Yelp and clinic site requests.

## Actor input object example

```json
{
  "cities": [
    "Birmingham, AL",
    "Anchorage, AK",
    "Phoenix, AZ",
    "Little Rock, AR",
    "Los Angeles, CA",
    "Denver, CO",
    "Bridgeport, CT",
    "Wilmington, DE",
    "Jacksonville, FL",
    "Atlanta, GA",
    "Honolulu, HI",
    "Boise, ID",
    "Chicago, IL",
    "Indianapolis, IN",
    "Des Moines, IA",
    "Wichita, KS",
    "Louisville, KY",
    "New Orleans, LA",
    "Portland, ME",
    "Baltimore, MD",
    "Boston, MA",
    "Detroit, MI",
    "Minneapolis, MN",
    "Jackson, MS",
    "Kansas City, MO",
    "Billings, MT",
    "Omaha, NE",
    "Las Vegas, NV",
    "Manchester, NH",
    "Newark, NJ",
    "Albuquerque, NM",
    "New York, NY",
    "Charlotte, NC",
    "Fargo, ND",
    "Columbus, OH",
    "Oklahoma City, OK",
    "Portland, OR",
    "Philadelphia, PA",
    "Providence, RI",
    "Charleston, SC",
    "Sioux Falls, SD",
    "Nashville, TN",
    "Houston, TX",
    "Salt Lake City, UT",
    "Burlington, VT",
    "Richmond, VA",
    "Seattle, WA",
    "Charleston, WV",
    "Milwaukee, WI",
    "Cheyenne, WY"
  ],
  "specialties": [
    "dermatologist",
    "mental health clinic"
  ],
  "maxPages": 3,
  "maxRequestsPerCrawl": 500,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

No description

## `run` (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 = {
    "cities": [
        "Birmingham, AL",
        "Anchorage, AK",
        "Phoenix, AZ",
        "Little Rock, AR",
        "Los Angeles, CA",
        "Denver, CO",
        "Bridgeport, CT",
        "Wilmington, DE",
        "Jacksonville, FL",
        "Atlanta, GA",
        "Honolulu, HI",
        "Boise, ID",
        "Chicago, IL",
        "Indianapolis, IN",
        "Des Moines, IA",
        "Wichita, KS",
        "Louisville, KY",
        "New Orleans, LA",
        "Portland, ME",
        "Baltimore, MD",
        "Boston, MA",
        "Detroit, MI",
        "Minneapolis, MN",
        "Jackson, MS",
        "Kansas City, MO",
        "Billings, MT",
        "Omaha, NE",
        "Las Vegas, NV",
        "Manchester, NH",
        "Newark, NJ",
        "Albuquerque, NM",
        "New York, NY",
        "Charlotte, NC",
        "Fargo, ND",
        "Columbus, OH",
        "Oklahoma City, OK",
        "Portland, OR",
        "Philadelphia, PA",
        "Providence, RI",
        "Charleston, SC",
        "Sioux Falls, SD",
        "Nashville, TN",
        "Houston, TX",
        "Salt Lake City, UT",
        "Burlington, VT",
        "Richmond, VA",
        "Seattle, WA",
        "Charleston, WV",
        "Milwaukee, WI",
        "Cheyenne, WY"
    ],
    "specialties": [
        "dermatologist",
        "mental health clinic"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("knobby_nudge/clinic-scraper").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 = {
    "cities": [
        "Birmingham, AL",
        "Anchorage, AK",
        "Phoenix, AZ",
        "Little Rock, AR",
        "Los Angeles, CA",
        "Denver, CO",
        "Bridgeport, CT",
        "Wilmington, DE",
        "Jacksonville, FL",
        "Atlanta, GA",
        "Honolulu, HI",
        "Boise, ID",
        "Chicago, IL",
        "Indianapolis, IN",
        "Des Moines, IA",
        "Wichita, KS",
        "Louisville, KY",
        "New Orleans, LA",
        "Portland, ME",
        "Baltimore, MD",
        "Boston, MA",
        "Detroit, MI",
        "Minneapolis, MN",
        "Jackson, MS",
        "Kansas City, MO",
        "Billings, MT",
        "Omaha, NE",
        "Las Vegas, NV",
        "Manchester, NH",
        "Newark, NJ",
        "Albuquerque, NM",
        "New York, NY",
        "Charlotte, NC",
        "Fargo, ND",
        "Columbus, OH",
        "Oklahoma City, OK",
        "Portland, OR",
        "Philadelphia, PA",
        "Providence, RI",
        "Charleston, SC",
        "Sioux Falls, SD",
        "Nashville, TN",
        "Houston, TX",
        "Salt Lake City, UT",
        "Burlington, VT",
        "Richmond, VA",
        "Seattle, WA",
        "Charleston, WV",
        "Milwaukee, WI",
        "Cheyenne, WY",
    ],
    "specialties": [
        "dermatologist",
        "mental health clinic",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("knobby_nudge/clinic-scraper").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 '{
  "cities": [
    "Birmingham, AL",
    "Anchorage, AK",
    "Phoenix, AZ",
    "Little Rock, AR",
    "Los Angeles, CA",
    "Denver, CO",
    "Bridgeport, CT",
    "Wilmington, DE",
    "Jacksonville, FL",
    "Atlanta, GA",
    "Honolulu, HI",
    "Boise, ID",
    "Chicago, IL",
    "Indianapolis, IN",
    "Des Moines, IA",
    "Wichita, KS",
    "Louisville, KY",
    "New Orleans, LA",
    "Portland, ME",
    "Baltimore, MD",
    "Boston, MA",
    "Detroit, MI",
    "Minneapolis, MN",
    "Jackson, MS",
    "Kansas City, MO",
    "Billings, MT",
    "Omaha, NE",
    "Las Vegas, NV",
    "Manchester, NH",
    "Newark, NJ",
    "Albuquerque, NM",
    "New York, NY",
    "Charlotte, NC",
    "Fargo, ND",
    "Columbus, OH",
    "Oklahoma City, OK",
    "Portland, OR",
    "Philadelphia, PA",
    "Providence, RI",
    "Charleston, SC",
    "Sioux Falls, SD",
    "Nashville, TN",
    "Houston, TX",
    "Salt Lake City, UT",
    "Burlington, VT",
    "Richmond, VA",
    "Seattle, WA",
    "Charleston, WV",
    "Milwaukee, WI",
    "Cheyenne, WY"
  ],
  "specialties": [
    "dermatologist",
    "mental health clinic"
  ]
}' |
apify call knobby_nudge/clinic-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=knobby_nudge/clinic-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "USA Clinic Scraper",
        "description": "Scrapes Yelp clinic listings and enriches them with email and social data from clinic websites.",
        "version": "1.0",
        "x-build-id": "qb7MQDaRJ6r2474eO"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/knobby_nudge~clinic-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-knobby_nudge-clinic-scraper",
                "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/knobby_nudge~clinic-scraper/runs": {
            "post": {
                "operationId": "runs-sync-knobby_nudge-clinic-scraper",
                "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/knobby_nudge~clinic-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-knobby_nudge-clinic-scraper",
                "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": [
                    "cities",
                    "specialties"
                ],
                "properties": {
                    "cities": {
                        "title": "Cities",
                        "type": "array",
                        "description": "City names to search in Yelp. Defaults to one major city from each U.S. state.",
                        "items": {
                            "type": "string"
                        },
                        "default": [
                            "Birmingham, AL",
                            "Anchorage, AK",
                            "Phoenix, AZ",
                            "Little Rock, AR",
                            "Los Angeles, CA",
                            "Denver, CO",
                            "Bridgeport, CT",
                            "Wilmington, DE",
                            "Jacksonville, FL",
                            "Atlanta, GA",
                            "Honolulu, HI",
                            "Boise, ID",
                            "Chicago, IL",
                            "Indianapolis, IN",
                            "Des Moines, IA",
                            "Wichita, KS",
                            "Louisville, KY",
                            "New Orleans, LA",
                            "Portland, ME",
                            "Baltimore, MD",
                            "Boston, MA",
                            "Detroit, MI",
                            "Minneapolis, MN",
                            "Jackson, MS",
                            "Kansas City, MO",
                            "Billings, MT",
                            "Omaha, NE",
                            "Las Vegas, NV",
                            "Manchester, NH",
                            "Newark, NJ",
                            "Albuquerque, NM",
                            "New York, NY",
                            "Charlotte, NC",
                            "Fargo, ND",
                            "Columbus, OH",
                            "Oklahoma City, OK",
                            "Portland, OR",
                            "Philadelphia, PA",
                            "Providence, RI",
                            "Charleston, SC",
                            "Sioux Falls, SD",
                            "Nashville, TN",
                            "Houston, TX",
                            "Salt Lake City, UT",
                            "Burlington, VT",
                            "Richmond, VA",
                            "Seattle, WA",
                            "Charleston, WV",
                            "Milwaukee, WI",
                            "Cheyenne, WY"
                        ]
                    },
                    "specialties": {
                        "title": "Specialties",
                        "type": "array",
                        "description": "Clinic specialties to search for in each city.",
                        "items": {
                            "type": "string"
                        },
                        "default": [
                            "dermatologist",
                            "mental health clinic"
                        ]
                    },
                    "maxPages": {
                        "title": "Max Yelp Result Pages per City/Specialty",
                        "minimum": 1,
                        "maximum": 20,
                        "type": "integer",
                        "description": "How many Yelp pagination pages to scrape for each city and specialty pair.",
                        "default": 3
                    },
                    "maxRequestsPerCrawl": {
                        "title": "Max Requests per Crawl",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Global crawl limit. Set to 0 for no limit.",
                        "default": 500
                    },
                    "proxyConfiguration": {
                        "title": "Proxy Configuration",
                        "type": "object",
                        "description": "Proxy settings used for Yelp and clinic site requests.",
                        "default": {
                            "useApifyProxy": true
                        }
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
