# eInforma Spain Company Scraper (`automation-lab/einforma-spain-company-scraper`) Actor

Extract public company profiles from eInforma.com — Spain's largest business directory. Get name, address, CNAE code, legal form, balance year, geo coordinates and more for any Spanish company by NIF/CIF or name search.

- **URL**: https://apify.com/automation-lab/einforma-spain-company-scraper.md
- **Developed by:** [Stas Persiianenko](https://apify.com/automation-lab) (community)
- **Categories:** Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## eInforma Spain Company Scraper

Extract public company profile data from [eInforma.com](https://www.einforma.com) — Spain's largest business information directory covering over 3 million Spanish companies and self-employed individuals. Get company names, registered addresses, CNAE industry codes, legal forms, business activity descriptions, balance sheet years, shareholder counts, and geographic coordinates — all in one structured dataset.

### What does it do?

eInforma Spain Company Scraper fetches publicly available company profiles from eInforma.com using two modes:

- **NIF/CIF mode** — provide a list of Spanish company tax identifiers and get instant profile data for each
- **Search mode** — provide company name keywords and let the actor find and scrape matching profiles

The actor handles latin-1 encoding, session cookies, and retry logic automatically. It works without authentication and extracts all publicly accessible fields from each company card.

### Who is it for?

🏦 **Credit analysts and risk teams** who need to verify Spanish company identities, legal forms, and registered addresses before extending credit or signing contracts.

📊 **Market researchers and business intelligence analysts** who need structured data on Spanish companies for sector analysis, competitive landscape mapping, or prospect databases.

🔍 **Due diligence professionals** running background checks on Spanish companies — the actor extracts CNAE industry codes, legal forms, and balance sheet availability in seconds.

🤝 **Sales and procurement teams** building lead lists or supplier databases of Spanish companies filtered by province, industry, or legal form.

🧑‍💻 **Developers and data engineers** integrating Spanish company data into CRM systems, ERP platforms, or data pipelines that need structured JSON output.

### Why use it?

eInforma is the reference data source used by Spanish banks, insurance companies, and government bodies. It aggregates data from the Mercantile Registry (Registro Mercantil), INE (Instituto Nacional de Estadística), and other official sources. The actor gives you programmatic access to this data without manual lookups.

- ✅ No login required — works with publicly available data
- ✅ Supports bulk NIF/CIF processing — hundreds of companies per run
- ✅ Clean structured JSON output with parsed fields
- ✅ Geographic coordinates included for mapping and GIS integration
- ✅ Handles company names in Spanish with correct UTF-8 encoding

### What data does it extract?

| Field | Description | Example |
|---|---|---|
| `nif` | Spanish company tax ID (NIF/CIF) | `A28015865` |
| `companyName` | Official registered name | `TELEFONICA, SA` |
| `tradeName` | Commercial trade name(s) | `COMPAÑIA TELEFONICA NACIONAL DE ESPAÑA, S.A.` |
| `address` | Registered office street address | `CALLE GRAN VIA, 28 - 5` |
| `postalCode` | Spanish 5-digit postal code | `28013` |
| `city` | City of registration | `MADRID` |
| `province` | Spanish province | `Madrid` |
| `phone` | Phone number (when publicly listed) | `912345678` |
| `legalForm` | Legal entity type | `Sociedad anónima` |
| `activity` | Informa activity description | `Sociedades de cartera (holdings)` |
| `cnae2009Code` | CNAE 2009 industry code | `6420` |
| `cnae2009Description` | CNAE 2009 description | `Actividades de las sociedades holding` |
| `cnae2025Code` | Updated CNAE 2025 code | `6421` |
| `cnae2025Description` | Updated CNAE 2025 description | `Actividades de sociedades holding` |
| `businessPurpose` | Corporate object from registry | `Se dedica a la instalacion y explotacion...` |
| `lastDataDate` | Date of most recent data update | `12 de Mayo de 2026` |
| `lastBalanceYear` | Most recent balance sheet year | `2025` |
| `shareholdersCount` | Number of registered shareholders | `119` |
| `subsidiariesCount` | Number of subsidiary companies | `48` |
| `latitude` | GPS latitude of registered office | `40.4202` |
| `longitude` | GPS longitude of registered office | `-3.70204` |
| `url` | Profile page URL on eInforma | `https://www.einforma.com/...` |

### How much does it cost to scrape Spanish company data?

💰 This actor uses **Pay Per Event (PPE)** pricing — you only pay for what you actually extract.

| Plan | Cost per company profile |
|---|---|
| FREE | $0.0058 |
| BRONZE | $0.0050 |
| SILVER | $0.0039 |
| GOLD | $0.0030 |
| PLATINUM | $0.0020 |
| DIAMOND | $0.0014 |

Plus a small one-time run start fee of $0.005 per run.

**Example costs:**
- 100 company profiles → ~$0.50 on BRONZE
- 1,000 company profiles → ~$5.00 on BRONZE (or ~$2.00 on GOLD)
- 10,000 company profiles → ~$50 on BRONZE

On the Apify free plan you get $5 of platform credit monthly — enough for ~1,000 company profiles per month at no charge.

### How to scrape Spanish companies — step by step

1. **Sign in to Apify** — create a free account at [apify.com](https://apify.com)
2. **Open the actor** — navigate to [eInforma Spain Company Scraper](https://apify.com/automation-lab/einforma-spain-company-scraper)
3. **Choose your input mode:**
   - For known NIFs: paste company tax IDs in the **Company NIFs/CIFs** field (one per line)
   - For name search: type company name keywords in the **Company name searches** field
4. **Set limits** — use **Max results per query** and **Max total results** to control costs
5. **Run the actor** — click Start and wait for results (fast: ~1-2 seconds per company)
6. **Export data** — download as JSON, CSV, or Excel from the dataset view

### Input parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `nifs` | string[] | `[]` | List of Spanish NIF/CIF identifiers to scrape |
| `searchQueries` | string[] | `[]` | Company name search terms |
| `maxResultsPerQuery` | integer | `10` | Max profiles per search query |
| `maxResults` | integer | `50` | Total profile limit across all inputs |
| `maxRequestRetries` | integer | `3` | HTTP retry attempts on failed requests |

**Input example — NIF mode:**
```json
{
    "nifs": ["A28015865", "A78374725", "B80182407"],
    "maxResults": 100
}
````

**Input example — search mode:**

```json
{
    "searchQueries": ["Mercadona", "Inditex", "Zara"],
    "maxResultsPerQuery": 5,
    "maxResults": 50
}
```

### Output example

```json
{
    "url": "https://www.einforma.com/servlet/app/portal/ENTP/prod/ETIQUETA_EMPRESA/nif/A28015865",
    "nif": "A28015865",
    "companyName": "TELEFONICA, SA",
    "tradeName": "COMPAÑIA TELEFONICA NACIONAL DE ESPAÑA, S.A.",
    "address": "CALLE GRAN VIA, 28 - 5",
    "postalCode": "28013",
    "city": "MADRID",
    "province": "Madrid",
    "phone": "",
    "legalForm": "Sociedad anónima",
    "activity": "Sociedades de cartera (holdings)",
    "cnae2009Code": "6420",
    "cnae2009Description": "Actividades de las sociedades holding",
    "cnae2025Code": "6421",
    "cnae2025Description": "Actividades de sociedades holding",
    "businessPurpose": "Se dedica a la instalacion y explotacion de servicios telefonicos",
    "lastDataDate": "12 de Mayo de 2026",
    "lastBalanceYear": "2025",
    "shareholdersCount": 119,
    "subsidiariesCount": 48,
    "latitude": 40.4202,
    "longitude": -3.70204
}
```

### Tips and best practices

💡 **NIF mode is faster and more reliable** — if you have a list of NIFs, use NIF mode. It fetches one page per company with no search overhead and no deduplication needed.

💡 **Search mode returns the top 20 results per query** — eInforma displays up to 20 companies per search page. Set `maxResultsPerQuery` to match how many you actually need.

💡 **Combine both modes** — you can provide both `nifs` and `searchQueries` in the same run. The actor processes NIFs first, then searches.

💡 **Use `maxResults` to cap total spending** — each result costs ~$0.005. Setting `maxResults: 100` caps spending at ~$0.50 per run.

💡 **Province filtering** — the site's search filters by province via AJAX; use separate queries per province if you need region-specific data (e.g., "Mercadona Valencia").

💡 **CNAE code lookups** — the `cnae2009Code` and `cnae2025Code` fields follow Spain's official industry classification system. Use them to filter and group results by sector.

### Integrations

🔗 **Google Sheets** — export results directly to a spreadsheet via Apify's Google Sheets integration. Map NIF, company name, address, and CNAE code columns for instant lookup tables.

🔗 **Make (Integromat)** — trigger the actor when a new company is added to your CRM (HubSpot, Pipedrive). Auto-enrich contact records with address, legal form, and CNAE sector data.

🔗 **Zapier** — run company lookups as part of onboarding workflows. When a new B2B customer signs up, automatically pull their eInforma profile and attach it to a Salesforce opportunity.

🔗 **Airtable** — build a Spanish company intelligence base. Schedule weekly runs on your NIF watchlist and update base records with the latest balance year and shareholder counts.

🔗 **Webhooks** — use Apify's dataset webhooks to push results to your internal API or data warehouse (BigQuery, Snowflake, PostgreSQL) in real time.

### API usage

#### Node.js

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

const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });

const run = await client.actor('automation-lab/einforma-spain-company-scraper').call({
    nifs: ['A28015865', 'A78374725'],
    maxResults: 100,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

#### Python

```python
from apify_client import ApifyClient

client = ApifyClient('YOUR_API_TOKEN')

run = client.actor('automation-lab/einforma-spain-company-scraper').call(run_input={
    'nifs': ['A28015865', 'A78374725'],
    'maxResults': 100,
})

for item in client.dataset(run['defaultDatasetId']).iterate_items():
    print(item['companyName'], item['cnae2009Code'])
```

#### cURL

```bash
curl -X POST \
  "https://api.apify.com/v2/acts/automation-lab~einforma-spain-company-scraper/runs?token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "nifs": ["A28015865"],
    "maxResults": 10
  }'
```

### Using with Claude (MCP)

Add this actor to Claude Code or Claude Desktop for AI-powered Spanish company lookups:

**Claude Code:**

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=automation-lab/einforma-spain-company-scraper"
```

**Claude Desktop / Cursor / VS Code** — add to your MCP settings:

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com?tools=automation-lab/einforma-spain-company-scraper",
            "headers": { "Authorization": "Bearer YOUR_APIFY_TOKEN" }
        }
    }
}
```

**Example prompts once connected:**

- "Look up the eInforma profile for NIF A28015865 and tell me the CNAE code and legal form."
- "Search eInforma for companies named Inditex and give me their registered addresses."
- "Get the last balance year and shareholder count for these 5 NIFs: ..."

### Legality and data usage

eInforma.com publishes company profiles sourced from Spain's official Mercantile Registry (Registro Mercantil) and other public registries. This data is legally in the public domain under Spanish law. The actor only accesses publicly available pages that do not require authentication.

This actor is intended for legitimate business intelligence, due diligence, market research, and data enrichment use cases. Users are responsible for complying with applicable data protection laws (GDPR, LOPDGDD) when processing scraped data, particularly if they combine it with personal data.

### FAQ

**What is a NIF/CIF?**
NIF (Número de Identificación Fiscal) and CIF (Código de Identificación Fiscal) are Spain's company tax identifiers. They follow the pattern: one letter + 8 digits (e.g., A28015865 for Telefónica). You can find a company's NIF on its invoices, contracts, or on the eInforma search page.

**Why are phone numbers sometimes empty?**
Phone numbers on eInforma require a registered user account to view in full. The actor correctly returns an empty string when the number is paywalled, rather than returning a truncated placeholder.

**Why is the NIF truncated to "A280..." for some results?**
This happens in search mode when the actual NIF wasn't in your input. In NIF mode, the full NIF is always available from your input. In search mode, eInforma truncates the NIF display for non-logged-in users.

**The actor returned 0 results for my NIF — why?**
Some NIF codes either don't exist in eInforma's database or belong to self-employed individuals (autónomos) rather than companies. Try searching by company name instead, or verify the NIF format is correct (must start with a letter followed by 8 digits, e.g. A28015865).

**Can I scrape all 3 million Spanish companies?**
The actor can process any number of NIFs given as input. For large-scale extraction, supply NIFs from an official registry extract (CIRCE, INE, or Registro Mercantil) and run the actor in batches.

**The address looks incorrect — why?**
eInforma shows the registered office address (domicilio social), which may differ from the actual operating address. For large corporations, the registered address is often a legal or financial headquarters.

**The actor times out or returns fewer results than expected — what should I do?**
The actor includes automatic retry logic with exponential backoff for rate limiting. If you see timeouts, try reducing `maxResults` per run or increasing the `maxRequestRetries` setting. For bulk scraping of thousands of companies, consider splitting your NIF list into smaller batches of 100-200 NIFs per run.

**How fresh is the data?**
eInforma updates company records from the Mercantile Registry and other official sources. The `lastDataDate` field in each result shows when that company's data was last updated on eInforma. Most active companies are refreshed within the last few weeks.

### Related scrapers

- [Google Maps Scraper](https://apify.com/automation-lab/crawler-google-places) — scrape business contact details, reviews, and location data from Google Maps for Spanish businesses
- [Yelp Scraper](https://apify.com/automation-lab/yelp-scraper) — extract business listings, ratings, and reviews from Yelp

# Actor input Schema

## `nifs` (type: `array`):

List of Spanish company NIFs or CIFs to scrape directly (e.g. A28015865, B86298628). The fastest mode — use when you already know the company identifiers.

## `searchQueries` (type: `array`):

List of company name search terms (e.g. Inditex, Mercadona). The actor will search eInforma and scrape the top results for each term.

## `maxResultsPerQuery` (type: `integer`):

Maximum number of company profiles to scrape for each search query term.

## `maxResults` (type: `integer`):

Maximum total number of company profiles to extract across all inputs.

## `maxRequestRetries` (type: `integer`):

Number of retry attempts for failed HTTP requests.

## Actor input object example

```json
{
  "nifs": [
    "A28015865"
  ],
  "searchQueries": [],
  "maxResultsPerQuery": 10,
  "maxResults": 10,
  "maxRequestRetries": 3
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

## `defaultDatasetId` (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 = {
    "nifs": [
        "A28015865"
    ],
    "searchQueries": [],
    "maxResultsPerQuery": 10,
    "maxResults": 10,
    "maxRequestRetries": 3
};

// Run the Actor and wait for it to finish
const run = await client.actor("automation-lab/einforma-spain-company-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 = {
    "nifs": ["A28015865"],
    "searchQueries": [],
    "maxResultsPerQuery": 10,
    "maxResults": 10,
    "maxRequestRetries": 3,
}

# Run the Actor and wait for it to finish
run = client.actor("automation-lab/einforma-spain-company-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 '{
  "nifs": [
    "A28015865"
  ],
  "searchQueries": [],
  "maxResultsPerQuery": 10,
  "maxResults": 10,
  "maxRequestRetries": 3
}' |
apify call automation-lab/einforma-spain-company-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "eInforma Spain Company Scraper",
        "description": "Extract public company profiles from eInforma.com — Spain's largest business directory. Get name, address, CNAE code, legal form, balance year, geo coordinates and more for any Spanish company by NIF/CIF or name search.",
        "version": "0.1",
        "x-build-id": "3t9IOxZzrXJnpHkY7"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/automation-lab~einforma-spain-company-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-automation-lab-einforma-spain-company-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/automation-lab~einforma-spain-company-scraper/runs": {
            "post": {
                "operationId": "runs-sync-automation-lab-einforma-spain-company-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/automation-lab~einforma-spain-company-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-automation-lab-einforma-spain-company-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": {
                    "nifs": {
                        "title": "🏢 Company NIFs / CIFs",
                        "type": "array",
                        "description": "List of Spanish company NIFs or CIFs to scrape directly (e.g. A28015865, B86298628). The fastest mode — use when you already know the company identifiers.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "searchQueries": {
                        "title": "🔍 Company name searches",
                        "type": "array",
                        "description": "List of company name search terms (e.g. Inditex, Mercadona). The actor will search eInforma and scrape the top results for each term.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxResultsPerQuery": {
                        "title": "Max results per search query",
                        "minimum": 1,
                        "maximum": 100,
                        "type": "integer",
                        "description": "Maximum number of company profiles to scrape for each search query term.",
                        "default": 10
                    },
                    "maxResults": {
                        "title": "Max total results",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Maximum total number of company profiles to extract across all inputs.",
                        "default": 50
                    },
                    "maxRequestRetries": {
                        "title": "Max request retries",
                        "minimum": 1,
                        "maximum": 10,
                        "type": "integer",
                        "description": "Number of retry attempts for failed HTTP requests.",
                        "default": 3
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
