# Leboncoin Scraper — France Classifieds Listings & Prices (`bovi/leboncoin-listings`) Actor

Scrape Leboncoin (France #1 classifieds): title, price, category, location, published date, images, and attributes. Uses the Next.js data route. Requires a residential proxy (DataDome protection — buyer provides via Bright Data or similar). Pay per result.

- **URL**: https://apify.com/bovi/leboncoin-listings.md
- **Developed by:** [Vitalii Bondarev](https://apify.com/bovi) (community)
- **Categories:** E-commerce, Lead generation
- **Stats:** 2 total users, 0 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 listings

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

## Leboncoin Scraper — France Classifieds, Real Estate & Vehicles | from $1.50/1K

**Built for French market researchers, real-estate analysts, vehicle pricing teams, and lead-gen professionals** who need structured data from France's largest classifieds site. 59 fields per ad — GPS, price-drop detection, DPE energy class, vehicle specs, seller SIREN. DataDome-aware with Apify Residential proxy — no external accounts needed.

Scrape listings from **Leboncoin.fr**, France's #1 classifieds marketplace. Search by keyword, location, category, price range and seller type, then export clean, structured data for every matching ad: title, full description, price (with price-drop detection), category, GPS location, publication dates, seller info, image URLs, and every category-specific attribute. Built for price monitoring, market and competitor research, real-estate and vehicle intelligence, and lead generation — at scale, with pay-per-result pricing.

This scraper reads Leboncoin's own Next.js data layer (`__NEXT_DATA__` + the `/_next/data` JSON route), so the output is structured JSON, not brittle scraped HTML. A resilient fallback chain keeps it producing data even when Leboncoin redeploys (rotating `buildId`) or shifts its page structure, and every record carries a `parse_confidence` score so you can spot drift instantly.

### What you can do with it

- **Price monitoring** — track how listing prices move over time across any keyword, category, or region; the `old_price` and `price_dropped` fields flag reductions automatically.
- **Market & competitor research** — pull every Renault Clio in a price band, every T3 apartment in a city, or every listing from professional sellers, with one filtered run.
- **Real-estate intelligence** — surface, rooms, bedrooms, DPE energy class and GES greenhouse rating are lifted into dedicated columns plus GPS coordinates.
- **Vehicle intelligence** — brand, model, mileage, fuel, gearbox and registration year are extracted into structured fields.
- **Lead generation** — filter to professional or private sellers, capture seller name, store ID, SIREN and whether a phone number is published.

### Key features

- **Search filters that actually filter** — keyword, location slug, category ID, min/max price, seller type (private vs professional), and sort order are applied server-side, so you only pay for the listings you want (no mixed-category noise).
- **Rich schema (59 fields)** — far more than thin incumbents: full description, price-drop detection, subcategory, region/department IDs, expiration date, seller SIREN, image thumbnail, a flat `attributes_map` for one-step filtering, and structural real-estate / vehicle columns.
- **Automatic pagination** — walks every results page via Leboncoin's fast JSON route; `maxItems` caps the volume (and your spend).
- **Resilient by design** — guarded fallback chain (`__NEXT_DATA__` → `/_next/data` JSON → HTML re-extraction → structural card parse) with a per-record `parse_confidence` and machine-readable `warnings`, so silent breakage is impossible.
- **DataDome-aware** — sticky residential session with cookie continuity and automatic fresh-IP rotation on a block, the right shape for Leboncoin's anti-bot.
- **No external accounts** — uses Apify's built-in Residential proxy, billed to your run. Nothing else to sign up for.

### Proxy requirement

Leboncoin uses **DataDome** anti-bot protection. Datacenter IPs can receive a 403 challenge, so **Apify Residential proxy is required** — set country to **France (FR)** for the best pass rate. The scraper carries the DataDome session cookie across pages and automatically rotates to a fresh residential IP if it ever hits a block. The buyer's proxy usage is billed at Apify's residential rate; the actor itself charges only per listing returned.

### Input

| Field | Type | Description |
|-------|------|-------------|
| `searchText` | string | Keyword(s) to search (required), e.g. `vélo`, `iphone 14`, `clio 4`. |
| `locations` | string | City/region slug from a Leboncoin URL, e.g. `Bordeaux_33000`, `paris_75`. Blank = all France. |
| `category` | string | Numeric category ID to restrict results, e.g. `9` real estate, `2` cars, `17` phones. |
| `priceMin` / `priceMax` | integer | Price range in euros. |
| `ownerType` | enum | `all`, `private`, or `pro`. |
| `sort` | enum | Relevance, newest/oldest first, cheapest/most expensive. |
| `maxItems` | integer | Max listings (0 = all; default 100). You are charged per listing. |
| `proxyConfiguration` | object | Apify Residential proxy (FR) — required. |

### Output fields (selection)

| Field | Description |
|-------|-------------|
| `ad_id` | Leboncoin listing ID |
| `title` / `description` | Ad title and full body text (HTML stripped) |
| `price` / `price_cents` / `price_currency` | Price in EUR / cents / `EUR` |
| `old_price` / `price_dropped` | Previous price and a derived price-reduction flag |
| `category` / `category_id` / `subcategory` | Taxonomy |
| `location_city` / `_region` / `_department` / `_zipcode` | Location hierarchy (with IDs) |
| `location_lat` / `location_lng` | GPS coordinates |
| `published_date` / `index_date` / `expiration_date` | ISO 8601 dates |
| `owner_type` / `owner_name` / `owner_store_id` / `owner_siren` | Seller info |
| `has_phone` | Whether a phone number is published |
| `images` / `image_count` / `thumbnail` | Image URLs and preview |
| `attributes` / `attributes_map` | Full attribute list and a flat key→value map |
| `surface_m2` / `rooms` / `bedrooms` / `energy_rate` / `ges` | Real-estate fields |
| `vehicle_brand` / `vehicle_model` / `mileage` / `fuel` / `gearbox` / `registration_year` | Vehicle fields |
| `urgency_level` / `is_boosted` / `status` | Listing flags |
| `parse_confidence` / `warnings` / `source` / `scraped_at` | Data-quality provenance |

The dataset ships with three preset views — **Listings Overview**, **Real Estate**, and **Vehicles** — so the right columns surface for whatever you're scraping.

### How it works (technical)

Leboncoin is a Next.js SSR site with no public API. Page 1 is fetched as HTML and the `__NEXT_DATA__` blob is parsed for the first page of ads plus the deploy-specific `buildId`. Pages 2+ are pulled from the fast `/_next/data/{buildId}/recherche.json` endpoint. The `buildId` is re-extracted on every run (it rotates on each Leboncoin deploy — never hardcoded), and if it rotates mid-run the scraper transparently re-mints it from the HTML route. Search filters are plain query parameters on the same route, so filtering adds zero extra anti-bot exposure.

### Pricing

Pay-per-result: **from $1.50 per 1,000 listings**. You are charged once per listing returned. You separately pay Apify's residential proxy bandwidth for your run. There is no charge for failed runs or for the actor starting.

| Volume | Actor fee | Estimated proxy (FR residential) | Total est. |
|--------|-----------|----------------------------------|------------|
| 100 listings | ~$0.15 | ~$0.05 | ~$0.20 |
| 1,000 listings | ~$1.50 | ~$0.20 | ~$1.70 |
| 10,000 listings | ~$15.00 | ~$1.50 | ~$16.50 |

---

### FAQ

**Do I need my own proxy account?**
No. The actor uses Apify's built-in Residential proxy billed to your Apify account — no external proxy subscription needed. Just set `proxyConfiguration` to use Apify Residential (France) as shown in the default input.

**What output formats are available?**
JSON, CSV, and Excel — downloadable from the Apify dataset UI or via the REST API. The dataset ships with three preset views: Listings Overview, Real Estate, and Vehicles.

**Can I schedule this to run automatically for price monitoring?**
Yes. Use Apify's scheduler to run daily or hourly and push new listings to your pipeline via webhook. The `price_dropped` and `old_price` fields are designed exactly for this use case.

**What if Leboncoin blocks the scraper?**
The actor automatically rotates to a fresh residential IP on a block and retries. If a page consistently fails, the `parse_confidence` on affected records drops below 1.0 and `warnings` is populated — so breakage is never silent.

---

### Use with AI agents (MCP)

This actor is available as an MCP tool for Claude, GPT-4, and other AI agents that support the Model Context Protocol:

````

https://mcp.apify.com/?tools=bovi/leboncoin-listings

````

Search French classifieds by keyword, location, and category — ideal for AI price-monitoring assistants, real-estate analytics pipelines, and vehicle arbitrage bots.

---

### vs. competitors

| | **This actor** | Typical Leboncoin scraper |
|---|---|---|
| Fields per listing | 59 | 5–15 |
| Price-drop detection | ✓ (`old_price`, `price_dropped`) | No |
| Real-estate fields (DPE, surface) | ✓ | Rarely |
| Vehicle fields (brand, mileage, fuel) | ✓ | Rarely |
| GPS coordinates | ✓ | No |
| `parse_confidence` | ✓ | No |
| DataDome handling | Residential proxy + cookie continuity | Often breaks |
| Price | from $1.50/1K | $3–10/1K |

### Integrations

Built for French market researchers, real-estate analysts, and vehicle-pricing teams extracting classifieds data with price-drop detection — the JSON/dataset output drops into the tools you already run, no glue code:

- **n8n / Make / Zapier** — trigger a run or pipe every new dataset item into 500+ apps (Google Sheets, Airtable, Slack, HubSpot, your database) with no code: [n8n](https://docs.apify.com/platform/integrations/n8n), [Make](https://docs.apify.com/platform/integrations/make), [Zapier](https://docs.apify.com/platform/integrations/zapier).
- **Webhooks** — fire your own endpoint the moment a run finishes, to push results straight into your pipeline ([docs](https://docs.apify.com/platform/integrations/webhooks)).
- **MCP server** — expose this actor as a tool to Claude, Cursor, or any [MCP client](https://mcp.apify.com) so an AI agent can pull this data mid-conversation ([guide](https://blog.apify.com/how-to-use-mcp/)).
- **API & SDKs** — fetch the dataset as JSON, CSV, or Excel through the Apify REST API or the Python / JS SDKs.

See all [Apify integrations](https://apify.com/integrations).

# Actor input Schema

## `searchText` (type: `string`):

Keyword(s) to search on Leboncoin (e.g. 'vélo', 'iphone 14', 'appartement', 'clio 4'). Maps to the 'text' query parameter on leboncoin.fr/recherche. Required unless you paste a Search URL below.
## `searchUrl` (type: `string`):

Paste a complete Leboncoin search URL straight from your browser address bar (e.g. 'https://www.leboncoin.fr/recherche?text=clio&locations=Bordeaux_33000&price=2000-8000'). When set, it overrides Search text and the individual filters below — the URL already encodes every filter you picked on the site. Leave blank to use keyword + filters instead.
## `locations` (type: `string`):

City or region slug exactly as it appears in Leboncoin URLs (e.g. 'Paris_75000', 'paris_75', 'ile-de-france_r12', 'lyon_69000'). Open a search on leboncoin.fr, pick a location, and copy the 'locations' value from the address bar. Leave blank for all of France.
## `category` (type: `string`):

Optional Leboncoin numeric category ID to restrict results (e.g. '9' = Real estate, '2' = Cars, '17' = Phones, '31' = Sports & hobbies). Leave blank to search all categories. Find the ID in the 'category' query param of a filtered Leboncoin URL.
## `priceMin` (type: `integer`):

Only return listings priced at or above this amount in euros. Leave blank for no lower bound.
## `priceMax` (type: `integer`):

Only return listings priced at or below this amount in euros. Leave blank for no upper bound.
## `ownerType` (type: `string`):

Restrict to private sellers or professional sellers. Leave as 'all' for both.
## `sort` (type: `string`):

How to order results. 'Relevance' is Leboncoin's default; 'Newest first' is best for monitoring fresh listings; price sorts help find cheapest/most expensive.
## `maxItems` (type: `integer`):

Maximum number of listings to return across all pages. Set to 0 for all available results (can be thousands — you are charged per listing returned). Default 100.
## `proxyConfiguration` (type: `object`):

REQUIRED. Leboncoin uses DataDome anti-bot protection that blocks datacenter IPs. Use Apify Residential proxy with country France (FR) for the best pass rate. No external proxy account is needed — Apify's built-in residential proxy is billed to your run. Without a residential proxy, runs return 403.

## Actor input object example

```json
{
  "searchText": "vélo",
  "ownerType": "all",
  "sort": "relevance",
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "FR"
  }
}
````

# Actor output Schema

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

Dataset containing Leboncoin ad records (ad\_id, title, price, price\_currency, category, location\_city, location\_region, url, published\_date, owner\_type, images, etc.)

# 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 = {
    "searchText": "vélo",
    "maxItems": 100,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "FR"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("bovi/leboncoin-listings").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 = {
    "searchText": "vélo",
    "maxItems": 100,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "FR",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("bovi/leboncoin-listings").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 '{
  "searchText": "vélo",
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "FR"
  }
}' |
apify call bovi/leboncoin-listings --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Leboncoin Scraper — France Classifieds Listings & Prices",
        "description": "Scrape Leboncoin (France #1 classifieds): title, price, category, location, published date, images, and attributes. Uses the Next.js data route. Requires a residential proxy (DataDome protection — buyer provides via Bright Data or similar). Pay per result.",
        "version": "0.1",
        "x-build-id": "dBjnE7BYfCGmA4cbg"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/bovi~leboncoin-listings/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-bovi-leboncoin-listings",
                "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/bovi~leboncoin-listings/runs": {
            "post": {
                "operationId": "runs-sync-bovi-leboncoin-listings",
                "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/bovi~leboncoin-listings/run-sync": {
            "post": {
                "operationId": "run-sync-bovi-leboncoin-listings",
                "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": {
                    "searchText": {
                        "title": "Search text",
                        "type": "string",
                        "description": "Keyword(s) to search on Leboncoin (e.g. 'vélo', 'iphone 14', 'appartement', 'clio 4'). Maps to the 'text' query parameter on leboncoin.fr/recherche. Required unless you paste a Search URL below."
                    },
                    "searchUrl": {
                        "title": "Search URL (optional)",
                        "type": "string",
                        "description": "Paste a complete Leboncoin search URL straight from your browser address bar (e.g. 'https://www.leboncoin.fr/recherche?text=clio&locations=Bordeaux_33000&price=2000-8000'). When set, it overrides Search text and the individual filters below — the URL already encodes every filter you picked on the site. Leave blank to use keyword + filters instead."
                    },
                    "locations": {
                        "title": "Location filter",
                        "type": "string",
                        "description": "City or region slug exactly as it appears in Leboncoin URLs (e.g. 'Paris_75000', 'paris_75', 'ile-de-france_r12', 'lyon_69000'). Open a search on leboncoin.fr, pick a location, and copy the 'locations' value from the address bar. Leave blank for all of France."
                    },
                    "category": {
                        "title": "Category ID",
                        "type": "string",
                        "description": "Optional Leboncoin numeric category ID to restrict results (e.g. '9' = Real estate, '2' = Cars, '17' = Phones, '31' = Sports & hobbies). Leave blank to search all categories. Find the ID in the 'category' query param of a filtered Leboncoin URL."
                    },
                    "priceMin": {
                        "title": "Minimum price (EUR)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Only return listings priced at or above this amount in euros. Leave blank for no lower bound."
                    },
                    "priceMax": {
                        "title": "Maximum price (EUR)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Only return listings priced at or below this amount in euros. Leave blank for no upper bound."
                    },
                    "ownerType": {
                        "title": "Seller type",
                        "enum": [
                            "all",
                            "private",
                            "pro"
                        ],
                        "type": "string",
                        "description": "Restrict to private sellers or professional sellers. Leave as 'all' for both.",
                        "default": "all"
                    },
                    "sort": {
                        "title": "Sort order",
                        "enum": [
                            "relevance",
                            "time-desc",
                            "time-asc",
                            "price-asc",
                            "price-desc"
                        ],
                        "type": "string",
                        "description": "How to order results. 'Relevance' is Leboncoin's default; 'Newest first' is best for monitoring fresh listings; price sorts help find cheapest/most expensive.",
                        "default": "relevance"
                    },
                    "maxItems": {
                        "title": "Max listings to scrape",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum number of listings to return across all pages. Set to 0 for all available results (can be thousands — you are charged per listing returned). Default 100.",
                        "default": 100
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "REQUIRED. Leboncoin uses DataDome anti-bot protection that blocks datacenter IPs. Use Apify Residential proxy with country France (FR) for the best pass rate. No external proxy account is needed — Apify's built-in residential proxy is billed to your run. Without a residential proxy, runs return 403.",
                        "default": {
                            "useApifyProxy": true,
                            "apifyProxyGroups": [
                                "RESIDENTIAL"
                            ],
                            "apifyProxyCountry": "FR"
                        }
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
