# Standvirtual Scraper (`dadhalfdev/standvirtual-scraper`) Actor

Want to find the perfect car or analyze the used car market in Portugal? This scraper makes it super easy! Just paste a Standvirtual URL (with your desired filters for make, model, year, etc.), and the scraper will extract up to 2000 car listings.

- **URL**: https://apify.com/dadhalfdev/standvirtual-scraper.md
- **Developed by:** [Marco Rodrigues](https://apify.com/dadhalfdev) (community)
- **Categories:** Other, Automation
- **Stats:** 33 total users, 6 monthly users, 72.0% runs succeeded, 0 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $1.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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

## 🚗 Standvirtual Scraper

Want to find the perfect car or analyze the used car market in Portugal? This scraper makes it super easy!

Just **paste a Standvirtual URL** (with your desired filters for make, model, year, etc.), and the scraper will extract up to 2000 car listings, neatly packing all the technical specifications, pricing, and seller details into a CSV or JSON file.

### 💡 Perfect for...

- **Car Buyers:** Monitor the market for the best deals on your dream car.
- **Dealerships:** Keep an eye on competitors' pricing and inventory to stay competitive.
- **Market Research:** Analyze trends in the Portuguese used car market (average prices, most popular models, mileage vs. price depreciation).
- **Data Analysts:** Download clean, structured data for visualizations, dashboards, or predictive pricing models.
- **🤖 OpenClaw & AI Agents:** Power your autonomous agents with real-time car listings. Perfect for OpenClaw workflows and bots tracking specific vehicles.
- **📚 RAG Systems:** Feed detailed car specifications and pricing into Retrieval-Augmented Generation pipelines to answer complex queries about the automotive market.
- **🔗 AI Workflows:** Integrate seamlessly with LangChain, AutoGPT, CrewAI, and other AI frameworks that need structured automotive data.

### ✨ Why you'll love this scraper

- 🎯 **Pinpoint Accuracy:** Start from any Standvirtual search URL. Apply your filters on the website, copy the link, and let the scraper do the rest.
- ⚙️ **Deep Specifications:** Extracts not just the price, but detailed specs like engine power, capacity, fuel type, gearbox, mileage, and registration year.
- ⏱️ **Sorting Options:** Control how you traverse the results—from the newest listings to the lowest price or lowest mileage.
- 👤 **Seller Insights:** Distinguish between professional dealerships and private sellers.

### 📦 What's inside the data?

For every single car listing, you will get:
- **Core Details:** `id`, `title`, `url`, `image`, `created_at`, `short_description`
- **Location:** `location_city`, `location_region`
- **Technical Specs:** `make`, `model`, `fuel_type`, `gearbox`, `mileage`, `engine_capacity`, `engine_power`, `first_registration_year`
- **Pricing & Seller:** `price`, `seller_type`
- **Promotional Status:** `is_premium_top_ad`, `is_highlighted`, `is_promoted`

### 🛠️ Sort options

You can tell the scraper what order to read the listings in using the `filter_by` parameter:
- **Featured** – Top promoted ads
- **Most Recent** – Newest listings first
- **Lowest / Highest Price**
- **Lowest / Highest KM Distance**
- **Lowest / Highest Power**

### 🚀 Quick start

1. **Go to [Standvirtual](https://www.standvirtual.com/)** and perform a search (e.g., Mercedes-Benz, max price 9000€).
2. **Copy the URL** from your browser's address bar.

![Filtered page on Standvirtual](https://i.postimg.cc/2jjMHN5s/Screenshot-From-2026-03-16-17-36-12.png)

3. **Paste the URL** into the `input_url` field of the scraper.
4. **Choose your `filter_by`** sorting method.
5. **Set `max_cars`** (how many listings you want, up to 2000).
6. **Click Start** and let it run! 🏎️ Once it's done, you can export your data as a CSV, Excel spreadsheet, or JSON file.

---

#### Tech details for developers 🧑‍💻

**Input Example:**
```json
{
  "input_url": "https://www.standvirtual.com/carros/mercedes-benz?search%5Bfilter_float_price%3Ato%5D=9000",
  "filter_by": "Most Recent",
  "max_cars": 500
}
````

**Output Example:**

```json
{
  "id": "8097373143",
  "title": "Peugeot 2008 1.2 PureTech Active Pack",
  "url": "https://www.standvirtual.com/carros/anuncio/peugeot-2008-ver-1-2-puretech-active-pack-ID8PZKED.html",
  "image": "https://ireland.apollo.olxcdn.com/v1/files/bhgdo59ox8k3-STDVTLPT/image;s=320x240",
  "created_at": "2026-03-16T16:08:17Z",
  "short_description": "peugeot 2008",
  "location_city": "Setúbal",
  "location_region": "Setúbal",
  "make": "peugeot",
  "model": "2008",
  "engine_code": null,
  "fuel_type": "gaz",
  "gearbox": "manual",
  "mileage": "30564",
  "engine_capacity": "1199",
  "engine_power": "102",
  "first_registration_year": "2024",
  "price": "17990",
  "seller_type": "ProfessionalSeller",
  "is_premium_top_ad": null,
  "is_highlighted": false,
  "is_promoted": false
}
```

**Parameters:**

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `input_url` | string | Yes | The URL of the listings to scrape with your given filters from Standvirtual. |
| `filter_by` | string | No | Sort order for the listings (e.g., `Featured`, `Most Recent`, `Lowest Price`, etc.). |
| `max_cars` | integer | No | Max cars to scrape (20–2000, default: 500). |

# Actor input Schema

## `filter_by` (type: `string`):

Filter the listings by the given criteria.

## `input_url` (type: `string`):

The URL of the listings to scrape with the given filters.

## `max_cars` (type: `integer`):

The maximum number of cars to scrape.

## Actor input object example

```json
{
  "filter_by": "Featured",
  "input_url": "https://www.standvirtual.com/carros/mercedes-benz?search%5Bfilter_float_price%3Ato%5D=9000&search%5Border%5D=created_at_first%3Adesc",
  "max_cars": 500
}
```

# Actor output Schema

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

Table view of scraped Standvirtual car listings using the dataset 'overview' view.

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

All scraped Standvirtual car listings from the default dataset without view transformation.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("dadhalfdev/standvirtual-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("dadhalfdev/standvirtual-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 '{}' |
apify call dadhalfdev/standvirtual-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Standvirtual Scraper",
        "description": "Want to find the perfect car or analyze the used car market in Portugal? This scraper makes it super easy! Just paste a Standvirtual URL (with your desired filters for make, model, year, etc.), and the scraper will extract up to 2000 car listings.",
        "version": "0.1",
        "x-build-id": "qTIWZbYG9Ctu6Q7r4"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/dadhalfdev~standvirtual-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-dadhalfdev-standvirtual-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/dadhalfdev~standvirtual-scraper/runs": {
            "post": {
                "operationId": "runs-sync-dadhalfdev-standvirtual-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/dadhalfdev~standvirtual-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-dadhalfdev-standvirtual-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "input_url"
                ],
                "properties": {
                    "filter_by": {
                        "title": "Filter by",
                        "enum": [
                            "Featured",
                            "Most Recent",
                            "Lowest Price",
                            "Highest Price",
                            "Lowest KM",
                            "Highest KM",
                            "Lowest Power",
                            "Highest Power"
                        ],
                        "type": "string",
                        "description": "Filter the listings by the given criteria.",
                        "default": "Featured"
                    },
                    "input_url": {
                        "title": "Input URL",
                        "type": "string",
                        "description": "The URL of the listings to scrape with the given filters.",
                        "default": "https://www.standvirtual.com/carros/mercedes-benz?search%5Bfilter_float_price%3Ato%5D=9000&search%5Border%5D=created_at_first%3Adesc"
                    },
                    "max_cars": {
                        "title": "Max Cars",
                        "minimum": 20,
                        "maximum": 2000,
                        "type": "integer",
                        "description": "The maximum number of cars to scrape.",
                        "default": 500
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
