# Citysquares Scraper (`happitap/citysquares-scraper`) Actor

A high-performance Apify Actor for scraping local business listings from CitySquares.com.

- **URL**: https://apify.com/happitap/citysquares-scraper.md
- **Developed by:** [HappiTap](https://apify.com/happitap) (community)
- **Categories:** Lead generation, Developer tools, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.36 / 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/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

## 🏢 CitySquares Scraper - Extract Local Business Data

**Powerful Apify Actor for scraping comprehensive local business listings from CitySquares.com**

![CitySquares Scraper](https://img.shields.io/badge/CitySquares-Local%20Data%20Extraction-blue?style=for-the-badge&logo=data-extraction)
![Apify Actor](https://img.shields.io/badge/Apify-Actor-green?style=for-the-badge&logo=apify)
![Performance](https://img.shields.io/badge/Performance-High-orange?style=for-the-badge)

### 🎯 What is CitySquares Scraper?

CitySquares Scraper is a professional-grade web scraping tool designed to extract detailed local business information from [CitySquares.com](https://citysquares.com/). Perfect for lead generation, market research, competitive analysis, and business intelligence gathering.

#### ✨ Key Benefits

- 🚀 **High-Speed Extraction**: Scrape up to 100+ businesses per minute
- 🛡️ **Anti-Detection Technology**: Built-in stealth mode with fingerprint rotation
- 📊 **Comprehensive Data**: Extract 20+ data points including reviews, ratings, and contact info
- 🌍 **Geographic Targeting**: Search by city, state, or specific locations
- 💰 **Cost-Effective**: Only $2.80 per 1,000 businesses extracted
- 🔧 **Easy to Use**: Simple JSON configuration with no coding required

### 📋 What Data Can You Extract?

#### 🏪 Business Information
- **Business Name & Category** - Complete business identification
- **Contact Details** - Phone, website, email (when available)
- **Address** - Full formatted address with individual components
- **Business Hours** - Operating schedules for each day
- **Services & Description** - Business offerings and specialties

#### ⭐ Customer Insights
- **Ratings & Reviews** - Customer feedback with ratings and text
- **Review Count** - Total number of customer reviews
- **Review Dates** - Temporal analysis of customer sentiment

#### 🎁 Marketing Data
- **Deals & Promotions** - Current offers and discount codes
- **Social Media Links** - Connected social profiles
- **Images & Media** - Business photos and visual content

### 🚀 Quick Start Guide

#### 1️⃣ Basic Search by Category & Location

Perfect for finding specific types of businesses in target areas:

```json
{
    "searchTerms": ["restaurants", "dentists", "plumbers"],
    "locations": ["New York", "Chicago", "Los Angeles"],
    "maxItems": 100,
    "maxReviews": 10
}
````

#### 2️⃣ Scrape Specific Business Pages

Ideal for targeted data extraction from known URLs:

```json
{
    "startUrls": [
        { "url": "https://citysquares.com/b/new-york-ny" },
        { "url": "https://citysquares.com/s/restaurants/chicago" }
    ],
    "maxItems": 200,
    "scrapeBusinessDetails": true
}
```

#### 3️⃣ Fast Bulk Extraction

Quickly gather basic business information without detail pages:

```json
{
    "searchTerms": ["electricians"],
    "locations": ["Houston", "Phoenix", "Philadelphia"],
    "scrapeBusinessDetails": false,
    "maxReviews": 0,
    "maxItems": 500,
    "maxConcurrency": 3
}
```

### 📊 Input Configuration

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| **`searchTerms`** | string\[] | `[]` | Business categories or keywords (e.g., "restaurants", "dentists", "lawyers") |
| **`locations`** | string\[] | `[]` | Target cities, states, or regions |
| **`startUrls`** | object\[] | `[]` | Specific CitySquares URLs to process |
| **`maxItems`** | integer | `100` | Maximum number of businesses to extract |
| **`maxReviews`** | integer | `10` | Reviews per business (0 = skip reviews) |
| **`includeDeals`** | boolean | `true` | Extract deals and promotions |
| **`scrapeBusinessDetails`** | boolean | `true` | Navigate to detail pages for full data |
| **`maxConcurrency`** | integer | `2` | Parallel processing (1-20, lower = safer) |
| **`maxRuntimeMinutes`** | integer | `5` | Auto-stop timeout (1-30 minutes) |
| **`proxyConfiguration`** | object | `RESIDENTIAL` | Proxy settings for optimal success rates |

### 📤 Output Data Structure

Each business record includes comprehensive information:

```json
{
    "businessName": "Central Park Restaurant",
    "url": "https://citysquares.com/b/central-park-restaurant-123456",
    "category": "Italian Restaurant",
    "address": {
        "street": "123 Broadway",
        "city": "New York",
        "state": "NY",
        "zipCode": "10001",
        "fullAddress": "123 Broadway, New York, NY 10001"
    },
    "phoneNumber": "(212) 555-0123",
    "website": "https://centralparkrestaurant.com",
    "rating": 4.7,
    "reviewCount": 156,
    "reviews": [
        {
            "author": "Sarah Johnson",
            "rating": 5,
            "date": "2024-02-15",
            "text": "Amazing Italian food! Best pasta in NYC."
        }
    ],
    "businessHours": [
        { "day": "Monday", "hours": "11:00 AM - 10:00 PM" },
        { "day": "Tuesday", "hours": "11:00 AM - 10:00 PM" }
    ],
    "deals": [
        {
            "title": "Weekend Special",
            "description": "20% off dinner for two",
            "code": "WEEKEND20"
        }
    ],
    "extractedAt": "2024-02-21T15:30:00.000Z"
}
```

### 💰 Pricing & Costs

| Feature | Cost |
|---------|------|
| **Actor Start** | $0.00005 per run |
| **Data Extraction** | $0.0028 per business |
| **Bulk Rate** | $2.80 per 1,000 businesses |

\*💡 **Cost-Saving Tips*:*

- Use `scrapeBusinessDetails: false` for 50% faster, cheaper extraction
- Set `maxReviews: 0` to skip review processing
- Lower `maxConcurrency` to reduce proxy costs

### 🛠️ Advanced Features

#### 🕵️ Anti-Detection Technology

- **Browser Fingerprinting** - Randomized browser signatures
- **Residential Proxies** - Real IP addresses for maximum success
- **Session Management** - Intelligent request handling
- **Rate Limiting** - Natural browsing patterns

#### ⚙️ Performance Optimization

- **Parallel Processing** - Configurable concurrency (1-20)
- **Smart Pagination** - Automatic page navigation
- **Memory Management** - Efficient resource usage
- **Error Recovery** - Robust error handling and retries

#### 🔍 Search Flexibility

- **Keyword Search** - Find businesses by category or service
- **Location Targeting** - City, state, or neighborhood specific
- **URL Processing** - Direct page scraping capabilities
- **Mixed Input** - Combine search terms and URLs

### 📈 Use Cases & Applications

#### 🎯 Lead Generation

- Build targeted business databases
- Find potential B2B clients
- Identify sales opportunities by location

#### 📊 Market Research

- Analyze competitive landscapes
- Track business density and trends
- Study pricing and service offerings

#### 🔍 Competitive Intelligence

- Monitor competitor activities
- Analyze customer reviews and ratings
- Track market share and positioning

#### 📱 App Development

- Populate business directories
- Power location-based services
- Enable local search functionality

### 🚨 Best Practices

#### ✅ Recommended Settings

```json
{
    "maxConcurrency": 2,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": ["RESIDENTIAL"]
    },
    "maxRuntimeMinutes": 10
}
```

#### 🛡️ Safety Tips

- **Start Small**: Test with 10-20 items first
- **Use Residential Proxies**: Essential for high success rates
- **Monitor Runtime**: Set appropriate timeouts to control costs
- **Validate Data**: Check sample output before large runs

#### ⚡ Performance Tips

- **Disable Details**: Use `scrapeBusinessDetails: false` for speed
- **Skip Reviews**: Set `maxReviews: 0` for faster extraction
- **Increase Concurrency**: Raise `maxConcurrency` for faster runs (monitor success rate)
- **Target Specific URLs**: More efficient than broad searches

### 🔗 URL Patterns Reference

#### Business Detail Pages

```
https://citysquares.com/b/[business-name]-[id]
Example: https://citysquares.com/b/joes-pizza-123456
```

#### Search Result Pages

```
https://citysquares.com/s/[category]/[location]
Example: https://citysquares.com/s/restaurants/new-york
```

#### City/Location Pages

```
https://citysquares.com/b/[city]-[state]
Example: https://citysquares.com/b/chicago-il
```

### 🆘 Troubleshooting

#### Common Issues & Solutions

| Issue | Cause | Solution |
|-------|-------|----------|
| **Low Success Rate** | Aggressive concurrency | Reduce `maxConcurrency` to 1-2 |
| **Blocked Requests** | Insufficient proxy protection | Ensure residential proxies are enabled |
| **Timeout Errors** | Large data extraction | Increase `maxRuntimeMinutes` or reduce `maxItems` |
| **Missing Data** | Detail scraping disabled | Set `scrapeBusinessDetails: true` |

#### Error Messages

- **"No valid URLs to scrape"**: Add searchTerms + locations or startUrls
- **"Actor reaching timeout"**: Increase `maxRuntimeMinutes` or reduce data scope
- **"High memory usage"**: Lower `maxConcurrency` or enable memory monitoring

### 📞 Support & Documentation

- **📖 Full Documentation**: [Apify Actor Page](https://apify.com/citysquares-scraper)
- **🐛 Bug Reports**: [GitHub Issues](https://github.com/apify/citysquares-scraper/issues)
- **💬 Community Support**: [Apify Discord](https://discord.gg/apify)
- **📧 Direct Support**: support@apify.com

### 📄 License & Terms

This scraper is provided under the [Apify Terms of Service](https://www.apify.com/terms-of-service). Users are responsible for complying with CitySquares.com's terms of service and applicable data protection laws.

***

**🎯 Ready to extract local business data?** [Run the CitySquares Scraper on Apify](https://apify.com/citysquares-scraper) and start building your business database today!

*Last updated: February 2024 | Version: 1.0.0*

# Actor input Schema

## `searchTerms` (type: `array`):

Business types or keywords to search for (e.g., 'restaurants', 'dentists', 'lawyers', 'plumbers')

## `locations` (type: `array`):

Cities or locations to search in (e.g., 'New York', 'Los Angeles', 'Chicago')

## `startUrls` (type: `array`):

Direct CitySquares URLs to scrape (search pages, city pages, or business detail pages)

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

Maximum number of businesses to extract

## `maxReviews` (type: `integer`):

Maximum number of reviews to extract per business (0 to skip reviews)

## `includeDeals` (type: `boolean`):

Extract deal/promotion information if available

## `scrapeBusinessDetails` (type: `boolean`):

Navigate to individual business pages for comprehensive data (slower but more detailed)

## `maxConcurrency` (type: `integer`):

Maximum number of pages to process simultaneously (lower values reduce detection risk, recommended: 1-3)

## `maxRuntimeMinutes` (type: `integer`):

Maximum time the actor will run before auto-aborting (default: 5 min to control costs)

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

Proxy settings for requests (residential proxies recommended for better success rates)

## Actor input object example

```json
{
  "searchTerms": [
    "restaurants",
    "dentists"
  ],
  "locations": [
    "New York",
    "Chicago"
  ],
  "startUrls": [
    {
      "url": "https://citysquares.com/b/new-york-ny"
    }
  ],
  "maxItems": 100,
  "maxReviews": 10,
  "includeDeals": true,
  "scrapeBusinessDetails": true,
  "maxConcurrency": 2,
  "maxRuntimeMinutes": 5,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `businessName` (type: `string`):

Name of the business

## `url` (type: `string`):

URL of the business page on CitySquares

## `category` (type: `string`):

Business category or type

## `address` (type: `string`):

Business address details

## `phoneNumber` (type: `string`):

Business phone number

## `website` (type: `string`):

Business website URL

## `email` (type: `string`):

Business email address

## `rating` (type: `string`):

Average rating (typically 1-5)

## `reviewCount` (type: `string`):

Total number of reviews

## `reviews` (type: `string`):

List of reviews

## `businessHours` (type: `string`):

Operating hours

## `deals` (type: `string`):

Current deals or promotions

## `images` (type: `string`):

Business images

## `description` (type: `string`):

Business description

## `yearEstablished` (type: `string`):

Year the business was established

## `socialMedia` (type: `string`):

Social media links

## `services` (type: `string`):

Services offered by the business

## `paymentMethods` (type: `string`):

Accepted payment methods

## `parking` (type: `string`):

Parking information

## `extractedAt` (type: `string`):

Timestamp when data was extracted

## `searchTerm` (type: `string`):

Search term used to find this business

## `location` (type: `string`):

Location used in search

# 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 = {
    "searchTerms": [
        "restaurants",
        "dentists"
    ],
    "locations": [
        "New York",
        "Chicago"
    ],
    "startUrls": [
        {
            "url": "https://citysquares.com/b/new-york-ny"
        }
    ],
    "maxItems": 100,
    "maxReviews": 10,
    "maxConcurrency": 2,
    "maxRuntimeMinutes": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("happitap/citysquares-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 = {
    "searchTerms": [
        "restaurants",
        "dentists",
    ],
    "locations": [
        "New York",
        "Chicago",
    ],
    "startUrls": [{ "url": "https://citysquares.com/b/new-york-ny" }],
    "maxItems": 100,
    "maxReviews": 10,
    "maxConcurrency": 2,
    "maxRuntimeMinutes": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("happitap/citysquares-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 '{
  "searchTerms": [
    "restaurants",
    "dentists"
  ],
  "locations": [
    "New York",
    "Chicago"
  ],
  "startUrls": [
    {
      "url": "https://citysquares.com/b/new-york-ny"
    }
  ],
  "maxItems": 100,
  "maxReviews": 10,
  "maxConcurrency": 2,
  "maxRuntimeMinutes": 5
}' |
apify call happitap/citysquares-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Citysquares Scraper",
        "description": "A high-performance Apify Actor for scraping local business listings from CitySquares.com.",
        "version": "0.0",
        "x-build-id": "1fcesKlbHi4hjN8QV"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/happitap~citysquares-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-happitap-citysquares-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/happitap~citysquares-scraper/runs": {
            "post": {
                "operationId": "runs-sync-happitap-citysquares-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/happitap~citysquares-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-happitap-citysquares-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",
                "properties": {
                    "searchTerms": {
                        "title": "Search Terms",
                        "type": "array",
                        "description": "Business types or keywords to search for (e.g., 'restaurants', 'dentists', 'lawyers', 'plumbers')",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "locations": {
                        "title": "Locations",
                        "type": "array",
                        "description": "Cities or locations to search in (e.g., 'New York', 'Los Angeles', 'Chicago')",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "startUrls": {
                        "title": "Start URLs",
                        "type": "array",
                        "description": "Direct CitySquares URLs to scrape (search pages, city pages, or business detail pages)",
                        "default": [],
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "maxItems": {
                        "title": "Max Items",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Maximum number of businesses to extract",
                        "default": 100
                    },
                    "maxReviews": {
                        "title": "Max Reviews per Business",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum number of reviews to extract per business (0 to skip reviews)",
                        "default": 10
                    },
                    "includeDeals": {
                        "title": "Include Deals",
                        "type": "boolean",
                        "description": "Extract deal/promotion information if available",
                        "default": true
                    },
                    "scrapeBusinessDetails": {
                        "title": "Scrape Business Details",
                        "type": "boolean",
                        "description": "Navigate to individual business pages for comprehensive data (slower but more detailed)",
                        "default": true
                    },
                    "maxConcurrency": {
                        "title": "Max Concurrency",
                        "minimum": 1,
                        "maximum": 20,
                        "type": "integer",
                        "description": "Maximum number of pages to process simultaneously (lower values reduce detection risk, recommended: 1-3)",
                        "default": 2
                    },
                    "maxRuntimeMinutes": {
                        "title": "Max Runtime (minutes)",
                        "minimum": 1,
                        "maximum": 30,
                        "type": "integer",
                        "description": "Maximum time the actor will run before auto-aborting (default: 5 min to control costs)",
                        "default": 5
                    },
                    "proxyConfiguration": {
                        "title": "Proxy Configuration",
                        "type": "object",
                        "description": "Proxy settings for requests (residential proxies recommended for better success rates)",
                        "default": {
                            "useApifyProxy": true,
                            "apifyProxyGroups": [
                                "RESIDENTIAL"
                            ]
                        }
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
