# Accor ALL Hotel Scraper (`rl1987/accor-api-scraper`) Actor

Searches Accor ALL (Sofitel, Novotel, Mercure, ibis, …) for hotels in a destination with live cash rates, ratings, location and photos, via the reversed Accor mobile GraphQL API. Read-only public hotel data; no account needed.

- **URL**: https://apify.com/rl1987/accor-api-scraper.md
- **Developed by:** [R.L.](https://apify.com/rl1987) (community)
- **Categories:**
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 hotels

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## Accor ALL Hotel Scraper

Search **Accor ALL** hotels (Sofitel, Pullman, Novotel, Mercure, ibis, and the rest of the group)
for a destination and get structured results with **live cash rates**, star and guest ratings,
location, distance and photos. The actor talks to Accor's mobile **BFF GraphQL API** directly
(reversed from the Accor Android app), using the public (no-account) tier.

### Input

| Field | Type | Notes |
|-------|------|-------|
| `destination` | string | City or area, e.g. `Paris`. Resolved via Accor's own location search. |
| `checkIn` / `checkOut` | date | Absolute (`YYYY-MM-DD`) or relative (`30 days`). Empty → +30d / +3 nights. |
| `adults` | integer | Adult guests. |
| `currency` | string | ISO currency (EUR, USD, GBP, …). |
| `countryMarket` | string | Two-letter market used for pricing (FR, GB, US, …). |
| `includeDetails` | boolean | Add amenities, photos and reviews per hotel (extra calls, billed separately). |
| `maxItems` | integer | `0` = all hotels for the destination. |
| `proxyConfiguration` | proxy | **Residential proxy required** — defaults to Apify RESIDENTIAL. |

### Output

One row per hotel: id, name, brand, stars, guest rating + review count, member and standard price,
currency, meal plan, availability, distance from the search point, GPS, country and a hero image.
With `includeDetails`, each row also carries `description`, `amenities`, `images`, `reviews` and a
maps URL.

### Why a residential proxy is required

Accor's BFF stalls requests from datacenter IP ranges, so the actor routes through a residential
proxy (Apify RESIDENTIAL by default). A datacenter proxy or no proxy will hang.

### Pricing

Pay-per-event: **$0.001 per hotel**, plus **$0.001 per hotel** enriched when `includeDetails` is on.

### Notes

- Public cash rates only; loyalty-point pricing needs an Accor member login and is out of scope.
- Unofficial client, not affiliated with or endorsed by Accor.

# Actor input Schema

## `destination` (type: `string`):

A place name, e.g. "Paris" or "London". Resolved through Accor's own location search.

## `checkIn` (type: `string`):

Check-in date. Pick a date or use a relative value like "30 days". Empty = 30 days from today.

## `checkOut` (type: `string`):

Check-out date. Empty = 3 nights after check-in.

## `adults` (type: `integer`):

Number of adult guests.

## `currency` (type: `string`):

ISO currency for prices, e.g. EUR, USD, GBP.

## `countryMarket` (type: `string`):

Two-letter market code used for pricing/availability, e.g. FR, GB, US.

## `includeDetails` (type: `boolean`):

Fetch amenities, photo gallery and the maps URL per hotel. Extra API calls each, so slower (billed as a separate hotel-details event).

## `maxItems` (type: `integer`):

0 = all hotels for the destination.

## `proxyConfiguration` (type: `object`):

Accor stalls datacenter IPs, so a residential proxy is required. Apify Proxy (RESIDENTIAL) is selected by default.

## `includeReviews` (type: `boolean`):

Also fetch guest reviews per hotel (author, date, rating, title, text). Billed separately at $0.10 per 1000 reviews.

## Actor input object example

```json
{
  "destination": "Paris",
  "adults": 2,
  "currency": "EUR",
  "countryMarket": "FR",
  "includeDetails": false,
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "includeReviews": false
}
```

# Actor output Schema

## `results` (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 = {
    "destination": "Paris",
    "checkIn": "",
    "checkOut": "",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("rl1987/accor-api-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 = {
    "destination": "Paris",
    "checkIn": "",
    "checkOut": "",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("rl1987/accor-api-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 '{
  "destination": "Paris",
  "checkIn": "",
  "checkOut": "",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call rl1987/accor-api-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rl1987/accor-api-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/mlIuPQdha1zgY6eNR/builds/itOBkcz99Suu9AJKN/openapi.json
