# Avis Details Spider (`getdataforme/avis-details-spider`) Actor

Extract real-time vehicle availability and pricing from Avis car rental pages with the Avis Details Spider. Supports multiple URLs for batch scraping, delivers structured JSON data, and powers market research, price monitoring, and travel planning decisions.

- **URL**: https://apify.com/getdataforme/avis-details-spider.md
- **Developed by:** [GetDataForMe](https://apify.com/getdataforme) (community)
- **Categories:** AI, Automation, E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $9.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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

### Description

Extract real-time vehicle availability and pricing from Avis car rental pages with the Avis Details Spider. Supports multiple URLs for batch scraping, delivers structured JSON data, and powers market research, price monitoring, and travel planning decisions.

***

## Avis Details Spider

### Introduction

The Avis Details Spider is a powerful Apify Actor designed to extract detailed vehicle availability and pricing information from Avis car rental reservation pages. By scraping real-time data from specified URLs, it provides structured insights into vehicle options, helping users make informed decisions for travel planning. This tool is ideal for businesses and individuals needing automated, reliable data extraction from Avis' dynamic web interfaces.

### Features

- **Comprehensive Vehicle Data Extraction**: Captures total vehicle counts, detailed vehicle lists including models, pricing, and availability from Avis reservation pages.
- **Flexible URL Input**: Supports multiple URLs for batch processing, allowing users to scrape data from various Avis locations and dates.
- **Real-Time Scraping**: Fetches live data directly from Avis websites, ensuring up-to-date information on vehicle options and rates.
- **Structured JSON Output**: Delivers clean, parseable JSON data with actor and run identifiers for easy integration into workflows.
- **Error Handling and Logging**: Includes robust error management to handle invalid URLs or network issues, with detailed logs for troubleshooting.
- **High Performance**: Optimized for speed and efficiency, processing multiple URLs concurrently to minimize runtime.
- **Apify Integration**: Seamlessly runs on the Apify platform, supporting scalable cloud execution and data export options.

### Input Parameters

| Parameter | Type    | Required | Description                                                                 | Example |
|-----------|---------|----------|-----------------------------------------------------------------------------|---------|
| Urls      | array   | Yes      | An array of URLs pointing to Avis reservation pages to scrape vehicle details from. Each URL should be a valid HTTP/HTTPS link to an Avis make-reservation page. | \["https://www.avis.com/en/reservation/make-reservation?dropoff\_suggestion\_type\_code=AIRPORT\&pickup\_hour=12\&pickup\_location\_region=NAM\&pickup\_minute=00\&pickup\_am\_pm=PM\&pickup\_day=03\&pickup\_month=04\&pickup\_suggestion\_type\_code=AIRPORT\&pickup\_year=2026\&residency\_value=US\&return\_hour=12\&return\_minute=00\&return\_am\_pm=PM\&return\_day=06\&return\_month=04\&return\_year=2026\&pickup\_location\_code=EWR\&return\_location\_code=EWR\&age=25\&country=us\&locale=en-US\&brand=avis"] |

### Example Usage

To run the Avis Details Spider, provide input parameters in JSON format. Below is an example input:

```json
{
  "Urls": [
    "https://www.avis.com/en/reservation/make-reservation?dropoff_suggestion_type_code=AIRPORT&pickup_hour=12&pickup_location_region=NAM&pickup_minute=00&pickup_am_pm=PM&pickup_day=03&pickup_month=04&pickup_suggestion_type_code=AIRPORT&pickup_year=2026&residency_value=US&return_hour=12&return_minute=00&return_am_pm=PM&return_day=06&return_month=04&return_year=2026&pickup_location_code=EWR&return_location_code=EWR&age=25&country=us&locale=en-US&brand=avis"
  ]
}
```

Example output in JSON format:

```json
[
  {
    "total_vehicles": 0,
    "vehicles": [],
    "actor_id": "3sRzeNO6Rgr6KUhJa",
    "run_id": "ONWUnRxx47VEjGlac"
  }
]
```

### Use Cases

- **Market Research and Analysis**: Analyze vehicle availability and pricing trends across different Avis locations to inform market strategies.
- **Competitive Intelligence**: Compare Avis offerings with competitors by extracting data on vehicle types and rates.
- **Price Monitoring**: Track rental prices over time for specific dates and locations to identify deals or fluctuations.
- **Content Aggregation**: Build databases of vehicle options for travel websites or apps integrating rental services.
- **Academic Research**: Study transportation patterns by collecting data on vehicle availability in various regions.
- **Business Automation**: Automate data collection for travel agencies to provide clients with up-to-date rental options.

### Installation and Usage

1. Search for "Avis Details Spider" in the Apify Store
2. Click "Try for free" or "Run"
3. Configure input parameters
4. Click "Start" to begin extraction
5. Monitor progress in the log
6. Export results in your preferred format (JSON, CSV, Excel)

### Output Format

The output is a JSON array of objects, each representing data scraped from a single URL. Key fields include:

- `total_vehicles`: An integer indicating the total number of available vehicles.
- `vehicles`: An array of vehicle objects (may be empty if no vehicles are available), containing details like model, price, etc.
- `actor_id`: A unique identifier for the Apify Actor.
- `run_id`: A unique identifier for the specific run instance.

This structure ensures easy parsing and integration with downstream applications.

### Support

For custom/simplified outputs or bug reports, please contact:

- Email: support@getdataforme.com
- Subject line: "custom support"
- Contact form: https://getdataforme.com/contact/

We're here to help you get the most out of this Actor!

***

# Actor input Schema

## `Urls` (type: `array`):

The urls for the spider.

## Actor input object example

```json
{
  "Urls": [
    "https://www.avis.com/en/reservation/make-reservation?dropoff_suggestion_type_code=AIRPORT&pickup_hour=12&pickup_location_region=NAM&pickup_minute=00&pickup_am_pm=PM&pickup_day=03&pickup_month=04&pickup_suggestion_type_code=AIRPORT&pickup_year=2026&residency_value=US&return_hour=12&return_minute=00&return_am_pm=PM&return_day=06&return_month=04&return_year=2026&pickup_location_code=EWR&return_location_code=EWR&age=25&country=us&locale=en-US&brand=avis"
  ]
}
```

# 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("getdataforme/avis-details-spider").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("getdataforme/avis-details-spider").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 '{}' |
apify call getdataforme/avis-details-spider --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,getdataforme/avis-details-spider"
        }
    }
}

```

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/3sRzeNO6Rgr6KUhJa/builds/vlCcrmNdMRb4oHxP2/openapi.json
