# Visitrome Category Scraper (`getdataforme/visitrome-category-scraper`) Actor

Extract comprehensive accommodation data from Visitrome for Rome, including names, ratings, prices, geolocation, and booking links. Perfect for market research, travel planning, and business intelligence....

- **URL**: https://apify.com/getdataforme/visitrome-category-scraper.md
- **Developed by:** [GetDataForMe](https://apify.com/getdataforme) (community)
- **Categories:** Agents, Lead generation, E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.05 / actor start

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

## Visitrome Category Scraper

### Introduction

The Visitrome Category Scraper is a powerful Apify Actor designed to extract comprehensive accommodation data from Visitrome, a leading tourism platform for Rome. It efficiently scrapes hotel listings, including details like names, locations, ratings, and booking links, enabling users to gather valuable insights for travel planning, market research, and business intelligence. This tool ensures reliable, structured data extraction with minimal setup, making it ideal for developers and analysts seeking high-quality tourism data.

### Features

- **Comprehensive Data Extraction**: Scrapes detailed accommodation information including names, descriptions, prices, ratings, and geolocation data.
- **High Reliability**: Built on Apify's CheerioCrawler for robust web scraping with error handling and retry mechanisms.
- **Structured Output**: Delivers data in clean JSON format, ready for integration into databases, analytics tools, or applications.
- **Customizable Limits**: Allows users to set maximum requests per crawl to control data volume and avoid rate limits.
- **Fast Performance**: Optimized for speed, processing multiple pages efficiently without overloading target servers.
- **Booking Integration**: Includes direct links to Agoda and Booking.com for seamless reservation access.
- **Scalable**: Suitable for small queries or large-scale data collection across Rome's accommodation categories.

### Input Parameters

| Parameter | Type | Required | Description | Example |
|-----------|------|----------|-------------|---------|
| maxRequestsPerCrawl | integer | No | Maximum number of requests that can be made by this crawler. Helps control the scope of the crawl to prevent excessive data extraction. | 100 |

### Example Usage

To run the Visitrome Category Scraper, provide the input parameters in JSON format. Here's an example:

```json
{
  "maxRequestsPerCrawl": 50
}
```

This will limit the crawl to 50 requests. The Actor will then scrape accommodation data and output it as a JSON array. An example output snippet is shown below:

```json
[
  {
    "accommodation_id": "0847c817-1f6b-42b4-855d-2c6fac7198e9",
    "accommodation_name": "La Chiave di Roma",
    "accommodation_slug": "la-chiave-di-roma",
    "short_description": "Conveniently situated in the <a href=\"/rome/neighborhoods/san-giovanni\" class=\"internal-link\">San Giovanni</a> part of Rome, this property puts you close to attractions and interesting dining options. This 3-star property is packed with in-house facilities to improv...",
    "city_id": "a231c6d8-725b-4552-b7d9-e7cf85492b36",
    "city_name": "Rome",
    "city_slug": "rome",
    "neighborhood_id": null,
    "accommodation_type_id": "68c57658-bf88-4ab9-887c-99edb6de0e88",
    "accommodation_type_name": "Hotel",
    "accommodation_type_slug": "hotels",
    "price_from": null,
    "price_currency": "EUR",
    "review_score": 10,
    "star_rating": 3,
    "is_featured": false,
    "image_quality_approved": null,
    "featured_image_url": "https://visitrome.b-cdn.net/accommodation/la-chiave-di-roma.jpg",
    "address": "Via Cuma",
    "postal_code": "00183",
    "latitude": 41.88223267,
    "longitude": 12.50920677,
    "agoda_hotel_id": "954417",
    "booking_com_id": null,
    "booking_com_url": "https://www.booking.com/searchresults.html?ss=La+Chiave+di+Roma%2C+Rome&dest_id=-126693&dest_type=city&latitude=41.88223267&longitude=12.50920677&checkin=2025-11-01&checkout=2025-11-02&group_adults=2&no_rooms=1",
    "agoda_url": "https://www.agoda.com/la-chiave-di-roma/hotel/rome-it.html?ds=v5JM5yDb7lNcM5kf",
    "facility_count": 0,
    "matched_facilities": [],
    "total_count": 3327
  }
]
```

### Use Cases

- **Market Research**: Analyze accommodation trends, pricing, and ratings to inform tourism strategies.
- **Competitive Intelligence**: Monitor competitors' listings and offerings in Rome's hotel market.
- **Price Monitoring**: Track price fluctuations and availability for dynamic pricing models.
- **Content Aggregation**: Build databases for travel blogs, apps, or directories featuring Rome accommodations.
- **Academic Research**: Study tourism patterns, such as star ratings and geographic distribution.
- **Business Automation**: Integrate data into CRM systems or booking platforms for automated workflows.

### Installation and Usage

1. Search for "Visitrome Category Scraper" 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 an accommodation listing. Key fields include:

- `accommodation_id`: Unique identifier for the property.
- `accommodation_name` and `slug`: Name and URL-friendly version.
- `short_description`: Brief overview with HTML links.
- `city_name`, `neighborhood_id`: Location details.
- `accommodation_type_name`: Category like "Hotel".
- `price_from`, `price_currency`: Pricing information.
- `review_score`, `star_rating`: Quality metrics.
- `featured_image_url`: Image link.
- `address`, `latitude`, `longitude`: Geospatial data.
- `agoda_url`, `booking_com_url`: Direct booking links.
- `total_count`: Total listings scraped.

Data is structured for easy parsing and integration.

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

## `maxRequestsPerCrawl` (type: `integer`):

Maximum number of requests that can be made by this crawler.

## Actor input object example

```json
{
  "maxRequestsPerCrawl": 100
}
```

# Actor output Schema

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

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,getdataforme/visitrome-category-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/FyXlZoOxHQgMc7CR0/builds/5Prwahw3UdtLeJLHo/openapi.json
