# Standvirtual Cars Search Scraper (`ecomscrape/standvirtual-cars-search-scraper`) Actor

Automate vehicle data extraction from StandVirtual.com, Portugal's leading automotive marketplace. Scrape cars, motorcycles, commercial vehicles, boats, and parts with complete specifications, pricing, seller details, and location data for market analysis and dealership intelligence.

- **URL**: https://apify.com/ecomscrape/standvirtual-cars-search-scraper.md
- **Developed by:** [ecomscrape](https://apify.com/ecomscrape) (community)
- **Categories:** Automation, Developer tools, E-commerce
- **Security:** Limited permissions
- **Stats:** 20 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

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

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

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

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Contact

If you encounter any issues or need to exchange information, please feel free to contact us through the following link:
[My profile](https://apify.com/ecomscrape)

## StandVirtual.com Car Scraper: Extract Portuguese Automotive Listings - Market Research & Lead Generation

### Introduction

StandVirtual.com is Portugal's premier online automotive marketplace, serving as the primary platform for buying and selling vehicles across the country. With thousands of listings spanning cars, motorcycles, commercial vehicles, boats, trailers, and parts, StandVirtual provides comprehensive coverage of Portugal's automotive market, connecting private sellers and professional dealerships with potential buyers.

For automotive dealerships, market researchers, price comparison services, and automotive industry analysts, accessing this structured vehicle data is essential for competitive pricing analysis, inventory planning, market trend identification, and lead generation. However, manually collecting vehicle specifications, pricing data, and seller information across hundreds or thousands of listings is impractical and time-consuming.

The StandVirtual.com Car Scraper automates this data extraction process, enabling systematic collection of vehicle listings with complete specifications, pricing information, seller details, and geographic data. Whether analyzing SUV market trends, tracking commercial vehicle inventory, monitoring motorcycle pricing, or building dealership contact databases, this scraper provides the automated data collection capabilities necessary for efficient automotive market intelligence.

### Scraper Overview

The StandVirtual.com Car Scraper is a specialized automotive data extraction tool designed to systematically collect vehicle listings from Portugal's largest automotive marketplace. This scraper employs advanced web automation to navigate search results and extract detailed vehicle specifications, pricing data, seller information, and listing metadata efficiently.

Key advantages include flexible vehicle type filtering (cars, commercial vehicles, motorcycles, parts, boats, trailers, heavy vehicles), condition-based searching (new vs. used), multiple sorting options (price, mileage, engine power, date), and configurable retry mechanisms for reliable data collection. The tool is particularly valuable for automotive dealerships conducting competitive analysis, market researchers tracking pricing trends, automotive industry consultants analyzing market segments, and lead generation specialists building dealer contact databases.

The scraper handles various search parameters including keyword queries, vehicle type selection, condition filters, and sorting preferences. It maintains data accuracy while implementing ethical scraping practices and rate limiting. Users can customize extraction parameters to focus on specific vehicle categories, price ranges, or geographic regions relevant to their automotive market research objectives.

### Input and Output Details

Example url 1: https://www.standvirtual.com/pesados?search%5Border%5D=filter_float_engine_power%3Aasc

Example url 2: https://www.standvirtual.com/carros/aion

Example url 3: https://www.standvirtual.com/carros/aion--audi?page=2

Example Screenshot of automotive list by query page:

![](https://i.ibb.co/W4tfRNyf/Screenshot-from-2026-01-10-16-07-01.png)

#### Input Format

The scraper accepts JSON configuration providing precise control over the vehicle data extraction process from StandVirtual.com.

##### Scrape with URLs:

```json
{
  "proxy": {
    "useApifyProxy": false
  },
  "ignore_url_failures": true,
  "max_retries_per_url": 2,
  "max_items_per_url": 20,
  "urls": [
    "https://www.standvirtual.com/carros/usados/q-suv?search%5Border%5D=created_at_first%3Adesc",
    "https://www.standvirtual.com/comerciais/novos?search%5Border%5D=filter_float_price%3Aasc",
    "https://www.standvirtual.com/motos/usados/bmw"
  ]
}
```

**The `urls` parameter**: Add URLs of vehicle listing pages you want to scrape from StandVirtual.com. Paste URLs individually or use Bulk edit to add prepared lists. Ideal when you have specific search result pages to extract.

**The `ignore_url_failures` parameter**: When `true`, the scraper continues running even if some URLs fail after maximum retries, ensuring one problematic URL doesn't halt your entire extraction job.

*When providing URLs, all "Scrape with search filters" options are disabled. The system collects data only from specified URLs.*

##### Scrape with Search Filters:

```json
{
  "keyword": "bmw x5",
  "vehical_type": "carros",
  "vehical_state": "usados",
  "sort_by": "filter_float_price:asc",
  "page": 1,
  "max_items_per_url": 50,
  "max_retries_per_url": 2,
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "PT"
  }
}
```

**The `keyword` parameter**: Enter search keywords for specific vehicle searches (e.g., "bmw x5", "mercedes sprinter", "yamaha", "ford transit"). Use brand names, models, or vehicle characteristics.

**The `vehical_type` parameter**: Select vehicle category to search:

- `"carros"` - Cars (passenger vehicles)
- `"comerciais"` - Commercial vehicles (vans, trucks)
- `"motos"` - Motorcycles
- `"pecas"` - Parts and accessories
- `"barcos"` - Boats
- `"autocaravanas"` - Trailers/motorhomes
- `"pesados"` - Heavy vehicles

**The `vehical_state` parameter**: Filter by vehicle condition:

- `""` - All vehicles (no filter)
- `"usados"` - Used vehicles
- `"novos"` - New vehicles

**The `sort_by` parameter**: Order results by:

- `""` - Recommended (default)
- `"created_at_first:desc"` - Newest listings first
- `"filter_float_price:asc"` - Price: Low to High
- `"filter_float_price:desc"` - Price: High to Low
- `"filter_float_mileage:asc"` - Mileage: Low to High
- `"filter_float_mileage:desc"` - Mileage: High to Low
- `"filter_float_engine_power:asc"` - Engine Power: Low to High
- `"filter_float_engine_power:desc"` - Engine Power: High to Low

**The `page` parameter**: Specify starting page number for scraping, useful for resuming interrupted scrapes or targeting specific result ranges.

*When using search filters, leave the `urls` field empty in the "Scrape with URLs" configuration.*

##### General Options:

**The `max_items_per_url` parameter**: Limit items per URL or search filter. Default: 20, balancing batch size with comprehensive collection.

**The `max_retries_per_url` parameter**: Limit retries per URL if scraping fails or bot detection occurs. Default: 2, balancing thoroughness with efficiency.

**The `proxy` parameter**: Proxy configuration essential for avoiding detection. For StandVirtual.com (Portuguese platform), Portuguese proxies recommended for optimal access.

#### Output Format

The scraper returns structured vehicle data with each field serving specific purposes for automotive market intelligence:

- **ID**: Unique vehicle listing identifier. *Essential for tracking listings over time, database management, duplicate prevention, and monitoring price changes.*

- **Title**: Vehicle listing headline including make, model, and key features. *Critical for quick vehicle identification, search indexing, and initial listing categorization.*

- **Created At**: Timestamp when listing was published. *Valuable for tracking market freshness, analyzing listing velocity, identifying quick turnaround inventory, and monitoring dealer activity patterns.*

- **Short Description**: Brief vehicle summary highlighting key features. *Provides quick context for listing evaluation, helps with automated categorization, and supports initial filtering.*

- **URL**: Direct link to full vehicle listing page. *Essential for accessing complete details, verifying information, checking updated data, and manual review.*

- **Badges**: Special indicators (e.g., "verified dealer", "reduced price", "featured"). *Signals listing quality, dealer status, pricing changes, and promotional emphasis for lead qualification.*

- **Seller UUID**: Unique seller/dealer identifier. *Critical for tracking dealer inventory patterns, analyzing seller behavior, building dealer contact databases, and identifying multi-listing sellers.*

- **Brand Program**: Manufacturer certification or brand program participation. *Indicates certified pre-owned vehicles, manufacturer warranties, and premium dealer status for quality assessment.*

- **Dealer 4th Package**: Premium dealer package indicator. *Identifies high-investment dealers, suggests larger operations, and indicates serious business presence.*

- **Category**: Vehicle category classification (car type, commercial, motorcycle, etc.). *Essential for market segmentation, competitive set definition, and category-specific analysis.*

- **Thumbnail**: Primary vehicle image URL. *Enables visual vehicle identification, listing quality assessment, and enriched database creation.*

- **Seller Link**: Direct link to seller's profile or inventory page. *Valuable for dealer research, accessing complete inventory, and building dealer contact information.*

- **Parameters**: Complete vehicle specifications object including:

  - Make and model
  - Year of manufacture
  - Mileage/kilometers
  - Engine specifications (displacement, power, fuel type)
  - Transmission type
  - Body style
  - Color
  - Features and options
  - VIN (if available)

  *Comprehensive technical data critical for accurate vehicle valuation, competitive comparisons, market trend analysis, and specification-based filtering.*

- **Location**: Geographic location of vehicle (city, region). *Essential for regional market analysis, logistics planning, geographic pricing trends, and location-based lead targeting.*

- **Price**: Listed vehicle price. *Primary data point for pricing analysis, market valuation, competitive positioning, and price trend tracking.*

- **Value Added Services**: Additional services offered (warranties, financing, delivery). *Indicates dealer service capabilities, value proposition analysis, and competitive service comparison.*

- **Price Evaluation**: Price assessment indicator (e.g., "good price", "below market"). *Provides quick price competitiveness insight, helps identify pricing opportunities, and supports valuation validation.*

##### Example Output:

```json
[
  {
  "id": "8096955905",
  "title": "Nissan Qashqai 1.6 dCi N-Connecta 18",
  "created_at": "2026-01-10T08:42:13Z",
  "short_description": "",
  "url": "https://www.standvirtual.com/carros/anuncio/nissan-qashqai-ver-1-6-dci-n-connecta-18-ID8PY06Z.html",
  "badges": [
    "WARRANTY"
  ],
  "seller_uuid": null,
  "brand_program": null,
  "dealer4th_package": null,
  "category": {
    "__typename": "Category",
    "id": "29"
  },
  "thumbnail": {
    "__typename": "Image",
    "x1": "https://ireland.apollo.olxcdn.com/v1/files/npafnidgke59-STDVTLPT/image;s=320x240",
    "x2": "https://ireland.apollo.olxcdn.com/v1/files/npafnidgke59-STDVTLPT/image;s=640x480"
  },
  "seller_link": {
    "__typename": "AdvertSellerLink",
    "id": "10019223",
    "name": "Trindade Automóveis",
    "website_url": "https://trindadeautomoveis.standvirtual.com",
    "logo": null,
    "is_credit_intermediary": false
  },
  "parameters": [
    {
      "__typename": "AdvertParameter",
      "key": "origin",
      "display_value": "Importado",
      "label": "origin",
      "value": "imported"
    },
    {
      "__typename": "AdvertParameter",
      "key": "make",
      "display_value": "Nissan",
      "label": "make",
      "value": "nissan"
    },
    {
      "__typename": "AdvertParameter",
      "key": "version",
      "display_value": "1.6 dCi N-Connecta 18",
      "label": "version",
      "value": "ver-1-6-dci-n--connecta-18"
    },
    {
      "__typename": "AdvertParameter",
      "key": "model",
      "display_value": "Qashqai",
      "label": "model",
      "value": "qashqai"
    },
    {
      "__typename": "AdvertParameter",
      "key": "fuel_type",
      "display_value": "Diesel",
      "label": "fuel_type",
      "value": "diesel"
    },
    {
      "__typename": "AdvertParameter",
      "key": "gearbox",
      "display_value": "Manual",
      "label": "gearbox",
      "value": "manual"
    },
    {
      "__typename": "AdvertParameter",
      "key": "mileage",
      "display_value": "166300 km",
      "label": "mileage",
      "value": "166300"
    },
    {
      "__typename": "AdvertParameter",
      "key": "engine_capacity",
      "display_value": "1598 cm3",
      "label": "engine_capacity",
      "value": "1598"
    },
    {
      "__typename": "AdvertParameter",
      "key": "engine_power",
      "display_value": "130 cv",
      "label": "engine_power",
      "value": "130"
    },
    {
      "__typename": "AdvertParameter",
      "key": "first_registration_year",
      "display_value": "2017",
      "label": "first_registration_year",
      "value": "2017"
    }
  ],
  "location": {
    "__typename": "Location",
    "city": {
      "__typename": "AdministrativeLevel",
      "name": "Vila Nova de Gaia"
    },
    "region": {
      "__typename": "AdministrativeLevel",
      "name": "Porto"
    }
  },
  "price": {
    "__typename": "Price",
    "badges": [],
    "gross_price": null,
    "net_price": null,
    "amount": {
      "__typename": "Money",
      "units": 14800,
      "nanos": 0,
      "value": "14800",
      "currency_code": "EUR"
    }
  },
  "value_added_services": [
    {
      "__typename": "AdValueAddedService",
      "name": "export_olx",
      "validity": "2026-01-25T08:41:51Z",
      "applied_at": null
    }
  ],
  "price_evaluation": {
    "__typename": "PriceEvaluation",
    "indicator": "IN"
  },
  "from_url": "https://www.standvirtual.com/carros/usados/q-suv?search%5Border%5D=created_at_first%3Adesc&page=1"
}
]
```

### Usage Guide

#### Option 1: Scraping with URLs

Navigate to StandVirtual.com, perform searches using platform filters (vehicle type, condition, price range, location, features), then copy resulting URLs into your `urls` array configuration.

Configure JSON with appropriate retry limits and proxy settings. Set reasonable `max_items_per_url` limits balancing speed with stability. Enable `ignore_url_failures` ensuring problematic URLs don't halt complete jobs.

**Best practices:**

- Test URLs individually before batch processing
- Monitor for blocked requests and adjust proxy settings
- Implement delays between large batches
- Use Portuguese proxies for optimal access
- Keep URL backup lists as structures may change

**Troubleshooting:**

- Adjust proxy settings if encountering access restrictions
- Reduce retry counts for timeout issues
- Verify URL format matches current StandVirtual structure
- Check for platform updates affecting URL parameters

#### Option 2: Scraping with Search Filters

##### Setting Up Vehicle Search Criteria

Use search filters for systematic automated vehicle data collection across categories and conditions.

**Step 1: Select Vehicle Type**

Choose `vehical_type` based on research focus:

- **Cars** (`"carros"`): Passenger vehicles, family cars, sedans, SUVs, hatchbacks
- **Commercial** (`"comerciais"`): Vans, light trucks, delivery vehicles, commercial fleets
- **Motorcycles** (`"motos"`): All motorcycle categories from scooters to sport bikes
- **Parts** (`"pecas"`): Automotive parts and accessories market
- **Boats** (`"barcos"`): Marine vehicles and watercraft
- **Trailers** (`"autocaravanas"`): Motorhomes, caravans, recreational vehicles
- **Heavy** (`"pesados"`): Heavy commercial vehicles, trucks, construction equipment

**Step 2: Filter by Condition**

Set `vehical_state` to target market segment:

- **All** (`""`): Complete market overview including both new and used
- **Used** (`"usados"`): Pre-owned vehicle market analysis
- **New** (`"novos"`): New vehicle inventory and dealership stock

**Step 3: Configure Sorting**

Use `sort_by` to prioritize relevant listings:

- **Newest listings**: Track fresh inventory and market entry rates
- **Price ordering**: Identify pricing patterns, outliers, and value opportunities
- **Mileage sorting**: Find low-mileage vehicles or analyze usage patterns
- **Engine power**: Research performance vehicle markets or efficiency trends

**Step 4: Set Keywords and Pagination**

- Enter specific `keyword` terms for targeted searches (brands, models, features)
- Set `page` parameter for starting position or resuming interrupted scrapes
- Plan pagination strategy based on total expected results

##### Best Practices for Filter-Based Scraping

**Vehicle Type Strategy:**

- Focus on specific categories for targeted market analysis
- Compare across vehicle types for comprehensive market understanding
- Track commercial vehicle trends separate from consumer cars
- Monitor parts market for aftermarket industry intelligence

**Keyword Optimization:**

- Use Portuguese terms when appropriate ("diesel", "automático", "híbrido")
- Combine brand and model for precise targeting ("bmw x5", "mercedes sprinter")
- Include key features for specification-based searches ("4x4", "gps", "pele")
- Test keyword variations to maximize coverage

**Sorting Strategy for Market Intelligence:**

- Sort by newest to track market entry rates and inventory freshness
- Price sorting identifies pricing patterns, premium/budget segments
- Mileage sorting reveals usage patterns and fleet vehicle presence
- Engine power sorting analyzes performance vs. efficiency market split

**Systematic Coverage Planning:**

1. Start with single vehicle type to validate configuration
2. Expand to multiple categories for comprehensive coverage
3. Run regular scrapes tracking market changes over time
4. Store results with timestamps for trend analysis

##### Data Validation and Quality Control

Post-extraction verification:

- Vehicle specifications match search criteria (type, condition, keywords)
- Price data is properly formatted and reasonable
- Location information is complete and accurate
- Seller details are captured consistently
- Parameters object contains expected vehicle specifications
- No duplicate listings within dataset
- Timestamps reflect actual listing dates

##### Common Issue Resolution

**Vehicle Type Filtering:**

- Verify correct `vehical_type` value from enum options
- Ensure spelling matches exact enum values
- Test vehicle type on StandVirtual.com directly first

**Condition State Problems:**

- Confirm `vehical_state` enum value ("usados", "novos", or empty)
- Verify condition filter produces expected results on website
- Check if combining with keywords affects results

**Sorting Issues:**

- Use exact `sort_by` enum values with proper syntax
- Verify sorting produces logical result ordering
- Test if sorting affects total available results

**Keyword Matching:**

- Try both Portuguese and international term variations
- Use brand/model combinations for precision
- Test broad vs. specific keywords for coverage
- Verify keywords on platform before bulk scraping

**Pagination Management:**

- Track page numbers to avoid gaps or overlaps
- Handle end-of-results when page exceeds available data
- Adjust `max_items_per_url` based on results per page
- Resume from last successful page number

##### Advanced Automotive Market Research Techniques

**Competitive Pricing Analysis:**

- Scrape similar vehicles across dealers comparing prices
- Track price changes over time using ID and timestamps
- Identify pricing outliers and value opportunities
- Analyze price vs. specification relationships

**Dealer Intelligence:**

- Track Seller UUID to monitor dealer inventory patterns
- Analyze dealer package levels and brand programs
- Identify high-volume dealers and market leaders
- Monitor dealer listing velocity and turnover rates

**Market Trend Analysis:**

- Compare new vs. used vehicle pricing dynamics
- Track mileage distributions across vehicle age groups
- Monitor fuel type trends (diesel, gasoline, hybrid, electric)
- Analyze feature popularity across price segments

**Geographic Market Mapping:**

- Compare vehicle availability across Portuguese regions
- Identify regional pricing variations
- Track dealer concentration by location
- Analyze urban vs. rural market differences

#### Proxy Configuration Best Practices

**Portuguese Market Optimization:**

- Use Portuguese proxies (PT) for optimal StandVirtual.com access
- Residential proxies recommended for higher success rates
- Rotate proxies for large-volume scraping sessions
- Monitor proxy performance and switch if issues arise

**Access Reliability:**

- Configure appropriate retry limits with proxy rotation
- Implement request delays to avoid rate limiting
- Use proxy pools for distributed scraping
- Monitor for IP blocks and adjust strategy

### Benefits and Applications

The StandVirtual.com Car Scraper eliminates manual automotive data collection, reducing days of research to hours of automated extraction. This efficiency enables businesses to focus on analysis, pricing strategies, and business development rather than data gathering.

**Primary Applications:**

**Automotive Dealership Intelligence:** Analyze competitor inventory, pricing strategies, and market positioning. Track competitor stock levels, identify pricing gaps, and optimize your own inventory and pricing decisions.

**Market Research and Analysis:** Conduct comprehensive Portuguese automotive market studies, track pricing trends across categories and regions, analyze demand patterns by vehicle type and specifications, and identify emerging market segments.

**Price Comparison and Valuation Services:** Build automated vehicle valuation tools, provide market-based pricing recommendations, track price movements and depreciation curves, and offer competitive pricing intelligence to buyers and sellers.

**Inventory Planning and Sourcing:** Identify vehicle sourcing opportunities, track availability of specific makes and models, monitor market supply levels, and plan inventory acquisition based on market data.

**Lead Generation for Automotive Services:** Build dealer contact databases for B2B sales, identify high-volume dealers for partnership opportunities, target specific vehicle segments for service offerings (financing, insurance, warranties), and track dealer activity and market presence.

**The scraper provides competitive advantages through:**

- Comprehensive vehicle specification data including detailed parameters
- Seller identification and dealer intelligence capabilities
- Pricing data with market evaluation context
- Temporal data for tracking market dynamics and listing freshness
- Geographic market segmentation supporting regional analysis
- Category-specific filtering across all vehicle types

Structured output integrates with automotive pricing tools, CRM systems, market analysis platforms, and business intelligence dashboards, enabling immediate application of collected data for competitive positioning, inventory decisions, and market strategy development.

### Conclusion

The StandVirtual.com Car Scraper transforms manual automotive market research into efficient automated data collection. By providing structured access to Portugal's leading automotive marketplace, it empowers dealerships, market researchers, and automotive industry professionals to make data-driven decisions about pricing, inventory, and market positioning.

Whether analyzing competitive pricing across vehicle categories, tracking market trends and inventory patterns, building dealer intelligence databases, or conducting comprehensive automotive market research, this scraper provides the systematic data extraction capabilities essential for modern automotive business intelligence.

Ready to streamline your Portuguese automotive market research? Start extracting valuable vehicle data from StandVirtual.com today and transform your automotive market intelligence capabilities.

## Your feedback

We are always working to improve Actors' performance. So, if you have any technical feedback about standvirtual.com Property Search Scraper or simply found a bug, please create an issue on the Actor's Issues tab in Apify Console.

# Actor input Schema

## `urls` (type: `array`):

Add the URLs of the Cars list page urls you want to scrape. You can paste URLs one by one, or use the Bulk edit section to add a prepared list.

## `ignore_url_failures` (type: `boolean`):

If true, the scraper will continue running even if some URLs fail to be scraped after the maximum number of retries is reached.

## `keyword` (type: `string`):

Enter the keyword to search for items

## `vehical_type` (type: `string`):

Enter the vehical type to search for items

## `vehical_state` (type: `string`):

Enter the vehical state to search for items

## `sort_by` (type: `string`):

Filter items by (e.g., created_at_first:desc, filter_float_price:asc, filter_float_price:desc, filter_float_mileage:asc, filter_float_mileage:desc, filter_float_engine_power:asc, filter_float_engine_power:desc)

## `page` (type: `integer`):

Specify the page number to start scraping from

## `max_items_per_url` (type: `integer`):

Limit the number of items per URL or search filters you want to scrape

## `max_retries_per_url` (type: `integer`):

Limit the number of retries for each URL or search filters if the scrape is detected as a bot or the page fails to load

## `proxy` (type: `object`):

Select proxies to be used by your scraper.

## Actor input object example

```json
{
  "urls": [
    "https://www.standvirtual.com/carros/usados/q-suv?search%5Border%5D=created_at_first%3Adesc"
  ],
  "ignore_url_failures": true,
  "max_items_per_url": 20,
  "max_retries_per_url": 2,
  "proxy": {
    "useApifyProxy": false
  }
}
```

# 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 = {
    "urls": [
        "https://www.standvirtual.com/carros/usados/q-suv?search%5Border%5D=created_at_first%3Adesc"
    ],
    "ignore_url_failures": true,
    "max_items_per_url": 20,
    "max_retries_per_url": 2,
    "proxy": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("ecomscrape/standvirtual-cars-search-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 = {
    "urls": ["https://www.standvirtual.com/carros/usados/q-suv?search%5Border%5D=created_at_first%3Adesc"],
    "ignore_url_failures": True,
    "max_items_per_url": 20,
    "max_retries_per_url": 2,
    "proxy": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("ecomscrape/standvirtual-cars-search-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "urls": [
    "https://www.standvirtual.com/carros/usados/q-suv?search%5Border%5D=created_at_first%3Adesc"
  ],
  "ignore_url_failures": true,
  "max_items_per_url": 20,
  "max_retries_per_url": 2,
  "proxy": {
    "useApifyProxy": false
  }
}' |
apify call ecomscrape/standvirtual-cars-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ecomscrape/standvirtual-cars-search-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/z1E2TgWvb7fNIQHmx/builds/4YkDnlg0utsWdDk9T/openapi.json
