# Fast Pappers / Sirene Scraper — French Companies API (`rbbscrap/fast-pappers-sirene-scraper`) Actor

Scrape 26M+ French companies via official Sirene / Recherche Entreprises API. SIREN, SIRET, computed EU VAT, dirigeants, NAF codes, GPS coordinates on 256MB micro-container.

- **URL**: https://apify.com/rbbscrap/fast-pappers-sirene-scraper.md
- **Developed by:** [Hector](https://apify.com/rbbscrap) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.80 / 1,000 company scrapeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

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

<p align="center">
  <img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/y0h5Xh4ZLYL8d8YO7-actor-iNWRPXKLzG4b7FjYt-M4L90Reflq-icon.png" width="128" height="128" style="border-radius: 28px;" alt="Pappers / Sirene Scraper: 26M French Companies API Logo" />
</p>

## Pappers / Sirene Scraper: 26M French Companies API

> ⚡ **3x Moins Cher que le N°1 du Store :** $0.0025 / company ($2.50/1K) — 3.2x cheaper *(contre $0.008 / company ($8.00/1K) chez la concurrence)*.
> 🚀 **Architecture Micro-Conteneur 256MB RAM :** Moteur Zero-Browser ultra-rapide et sub-seconde sans surcharge de navigateur.

Scrape 26M+ French companies via official Sirene API: SIREN, SIRET, EU VAT, dirigeants, NAF codes. 3x cheaper ($0.0025/co vs $0.008). 256MB RAM.

***

### 🌟 Points Forts & Avantages Compétitifs

- **Tarification Imbattable (3x moins cher) :** Seulement **$2.50 pour 1 000 items**, soit une économie immédiate de plus de 66% par rapport aux acteurs leaders du marché.
- **Vitesse Sub-Seconde :** Requêtes natives directes HTTP/2, sans les latences ni les coûts de serveurs de navigateurs lourds (Playwright/Puppeteer).
- **Consommation Minimale :** Fonctionne parfaitement avec **256 Mo de RAM**, permettant d'exécuter des milliers de requêtes gratuites avec les crédits Apify offerts.
- **Prêt pour l'Automatisation :** Compatible à 100% avec Make.com, Zapier, n8n, Google Sheets, Airbyte et webhooks temps réel.

***

### 💰 Modèle Tarifaire Pay-Per-Event (PPE)

| Événement | Description | Prix Unitaire |
| :--- | :--- | :--- |
| **Company scraped** | Charged for each French company profile extracted with SIREN, SIRET and computed VAT | **$0.0025** |

***

### 💻 Intégration Rapide

#### Node.js (Apify Client)

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('iNWRPXKLzG4b7FjYt').call({
  maxResults: 50
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log('Données extraites :', items);
```

#### Python

```python
from apify_client import ApifyClient

client = ApifyClient('YOUR_APIFY_TOKEN')
run = client.actor('iNWRPXKLzG4b7FjYt').call(run_input={
    'maxResults': 50
})

for item in client.dataset(run['defaultDatasetId']).iterate_items():
    print(item)
```

***

### 🛡️ Support & Garantie de Service

Développé et maintenu par **@RBBscrap** — Leader des solutions de web scraping professionnelles, éco-conçues et ultra-économiques.

# Actor input Schema

## `mode` (type: `string`):

Mode of extraction: 'search' for keyword/filter discovery, 'siren' for batch SIREN lookup, 'count' for free total count preview.

## `query` (type: `string`):

Search term: company name, trade name, keyword, or manager name (e.g. 'boulangerie Paris', 'Doctolib', 'Bernard Arnault').

## `sirens` (type: `array`):

List of 9-digit SIREN or 14-digit SIRET numbers for batch enrichment (used in 'siren' mode).

## `departement` (type: `string`):

Two-digit department code (e.g. '75' for Paris, '69' for Rhône, '13' for Bouches-du-Rhône).

## `code_postal` (type: `string`):

5-digit French postal code (e.g. '75001', '69002', '33000').

## `activite_principale` (type: `string`):

Principal activity code (e.g. '62.01Z' for software, '56.10A' for restaurants, '47.11D' for supermarkets).

## `etat_administratif` (type: `string`):

Filter by status: 'A' for active companies only, 'C' for ceased/dissolved companies.

## `maxResults` (type: `integer`):

Maximum number of companies to extract (1 - 5000).

## Actor input object example

```json
{
  "mode": "search",
  "sirens": [],
  "etat_administratif": "A",
  "maxResults": 50
}
```

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

// Run the Actor and wait for it to finish
const run = await client.actor("rbbscrap/fast-pappers-sirene-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("rbbscrap/fast-pappers-sirene-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 rbbscrap/fast-pappers-sirene-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rbbscrap/fast-pappers-sirene-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/iNWRPXKLzG4b7FjYt/builds/tcgzq7HItqv8lHRzr/openapi.json
