# Societe.com Recherche Scraper

Extract the first result of a company information search from societe.com using keywords as input

- Template page: [https://www.octoparse.com/template/societe-recherche-scraper](https://www.octoparse.com/template/societe-recherche-scraper)
- Categories: Lead Generation
- Status: `PUBLISHED`
- Run mode: `BOTH`

## Pricing

Free.

## What is an Octoparse template?

An Octoparse template is a ready-to-use scraping workflow with predefined inputs and structured outputs. Use the exact parameter keys below; do not invent parameters.

## Overview

This ready-to-use template collects structured data from search-results pages.

## Output

The current workflow extracts 6 fields, including `Adresse`, `Input`, `Nom`, `SIREN`, `Type`, `Url_de_l_entreprise`.

## Use Cases

- Use structured results for research, comparison, and monitoring.
- Collect rows without building the extraction workflow from scratch.
- Combine results with other templates for downstream enrichment.
- Review a representative result before starting a large batch.

## Why Octoparse

- **No coding required:** complete Keywords (up to 10000) and start the template in local or cloud mode.
- **Flexible export:** review and export results as CSV, Excel, or JSON.

## Input

### Keywords (up to 10000)

Required. Keywords (up to 10000) Constraints: minItems=1; maxItems=10000; items.minLength=1.

## How to Use

# Societe.com Recherche Scraper

Collects the first result of a company information search from [societe.com](https://www.societe.com/) using keywords as input.

## Input

- **Keywords (up to 10000)** (required): Enter one or more values, one per line.

## Output

The template returns these fields:

- `Input`
- `Nom`
- `Type`
- `SIREN`
- `Adresse`
- `Url_de_l_entreprise`

Fields such as `SIREN`, `Adresse`, and `Url_de_l_entreprise` can be empty when the source record does not provide them.

## How to Use

1. Open the template and select **Try it** or **Start**.
2. Complete the input fields listed above.
3. Choose a local or cloud run.
4. Review the output rows and export or process the structured data.

You can schedule recurring runs, export the collected data, and reuse it through Octoparse OpenAPI or the [AgentTools API](https://www.octoparse.com/docs/en/api-reference/agenttools-api/search-templates). Scheduling and API access may require a paid Octoparse plan. For local scheduled runs, keep your computer and Octoparse open.

## Limitations

- Collects only the fields listed in Output from search results pages; it does not add data that Societe does not display.
- Fields can be empty when the source record does not provide them.

## Tips

- Start with one or a few inputs and review the returned rows before scaling the task.
- Use the most specific valid Keywords (up to 10000) to reduce unrelated or duplicate records.
- Use a stable URL or identifier from `Input`, `Nom`, `Type`, `SIREN`, `Adresse`, or `Url_de_l_entreprise` as the deduplication key when available.

## Limitations

Results depend on what the source site exposes at run time. Fields may be empty when a source page does not provide a value. The template enforces the input limits shown above.

## Tips

Use specific, valid inputs and review a representative result before starting a large batch. Remove duplicate inputs when repeated records are not needed.

## FAQ

### What do I need to enter?

Use the exact inputs and limits listed above.

### What data does this template return?

See Output Schema below; availability can vary by source record.

### How is usage billed?

See the Pricing section above for current pricing and billing details.

## Related Templates

- [Societe.com Info Scraper](https://www.octoparse.com/template/societe-scraper)
- [Yahoo Recherche Scraper](https://www.octoparse.com/template/yahoo-recherche-scraper)
- [Kompass Recherche Scraper](https://www.octoparse.com/template/kompass-recherche-scraper)
- [eBay Listing Page Scraper (by keyword)](https://www.octoparse.com/template/ebay-product-list-scraper-by-keyword)
- [eBay Scraper](https://www.octoparse.com/template/ebay-scraper)

## Input Schema

```json
{
  "title": "Societe.com Recherche Scraper input",
  "description": "Input parameters configured for the current published template version.",
  "type": "object",
  "schemaVersion": 1,
  "additionalProperties": false,
  "properties": {
    "keywords": {
      "title": "Keywords (up to 10000)",
      "description": "Keywords (up to 10000)",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "minItems": 1,
      "maxItems": 10000,
      "x-octoparse": {
        "apiEnabled": true
      }
    }
  },
  "required": [
    "keywords"
  ]
}
```

## Input JSON Example

Example 1

```json
{
  "keywords": [
    "FRANCAISE DISTRIBUTION",
    "ROUTIERE EST",
    "FRANCILIANE",
    "ENEDIS",
    "ENGIE"
  ]
}
```

Example 2

```json
{
  "keywords": [
    "LVMH",
    "TotalEnergies",
    "Carrefour",
    "Christian Dior",
    "Sanofi"
  ]
}
```

Example 3

```json
{
  "keywords": [
    "LVMH",
    "TotalEnergies",
    "Carrefour",
    "Christian Dior",
    "Sanofi"
  ]
}
```

Example 4

```json
{
  "keywords": [
    "LVMH",
    "TotalEnergies",
    "Carrefour",
    "Christian Dior",
    "Sanofi"
  ]
}
```

Example 5

```json
{
  "keywords": [
    "LVMH",
    "TotalEnergies",
    "Carrefour",
    "Christian Dior",
    "Sanofi"
  ]
}
```


## Output Schema

```json
{
  "schemaVersion": 1,
  "type": "object",
  "properties": {
    "Adresse": {
      "type": "string",
      "description": ""
    },
    "Input": {
      "type": "string",
      "description": ""
    },
    "Nom": {
      "type": "string",
      "description": ""
    },
    "SIREN": {
      "type": "string",
      "description": ""
    },
    "Type": {
      "type": "string",
      "description": ""
    },
    "Url_de_l_entreprise": {
      "type": "string",
      "description": ""
    }
  },
  "title": "Societe.com Recherche Scraper output",
  "description": "Initial output fields derived from the current published implementation. Field descriptions are maintained by Data Center; production field names and types should be refreshed from recent successful runs.",
  "additionalProperties": false
}
```

## Output Example

Example 1

```json
{
  "Adresse": "CEREST 317 944 692",
  "Input": "ROUTIERE EST",
  "Nom": "06 - PV - AD - AA",
  "SIREN": "317944692",
  "Type": "26/10/2005 (contenant \"ROUTIERE EST\")",
  "Url_de_l_entreprise": "https://www.societe.com/societe/cerest-317944692.html#__documents"
}
```

Example 2

```json
{
  "Adresse": "75017 PARIS ",
  "Input": "Sanofi",
  "Nom": "SANOFI",
  "SIREN": "395030844",
  "Type": "Siège Social - 395 030 844 00124",
  "Url_de_l_entreprise": "https://www.societe.com/societe/sanofi-395030844.html#__establishments"
}
```

Example 3

```json
{
  "Adresse": "91300 MASSY ",
  "Input": "Carrefour",
  "Nom": "CARREFOUR (ASSURANCES CARREFOUR - SERVICES FIN)",
  "SIREN": "652014051",
  "Type": "Activités des sociétés holding (64.20Z)",
  "Url_de_l_entreprise": "https://www.societe.com/societe/carrefour-652014051.html"
}
```

Example 4

```json
{
  "Adresse": "35 RUE DES SABLONS, 95310 SAINT-OUEN-L'AUMONE France",
  "Input": "LVMH",
  "Nom": "LVMH",
  "SIREN": "908836505",
  "Type": "Location de terrains et d'autres biens immobiliers (68.20B)",
  "Url_de_l_entreprise": "https://www.societe.com/societe/lvmh-908836505.html"
}
```

Example 5

```json
{
  "Adresse": "3 AVENUE JACQUES PREVERT RIVIERE DES GALETS, 97420 LE PORT France",
  "Input": "TotalEnergies",
  "Nom": "TOTALENERGIES",
  "SIREN": "780060406",
  "Type": "Siège Social - 780 060 406 00045",
  "Url_de_l_entreprise": "https://www.societe.com/societe/totalenergies-marketing-reunion-780060406.html#__establishments"
}
```

## API

`POST https://openapi.octoparse.com/api/agentTools/executeTask`

This is the OpenAPI Agent Tools `executeTask` endpoint. Authenticate with a Bearer token.

Request body:

`templateName` is the template slug; `parameters` is a JSON object string whose keys match Input Schema; `taskName`, `idempotencyKey`, and `maxCollectedRows` are optional.

Obtain a token:

```http
POST https://openapi.octoparse.com/token
Content-Type: application/json

{
  "username": "YOUR_USERNAME",
  "password": "YOUR_PASSWORD",
  "grant_type": "password"
}
```

Use `data.access_token` as `Authorization: Bearer <token>`. After starting, poll `getTaskStatus` and export with `exportData`.

```json
{
  "templateName": "societe-recherche-scraper",
  "taskName": "Societe.com Recherche Scraper",
  "parameters": "{\"keywords\":[\"FRANCAISE DISTRIBUTION\",\"ROUTIERE EST\",\"FRANCILIANE\",\"ENEDIS\",\"ENGIE\"]}"
}
```

## Python Example

```python
import json
import requests

OPENAPI_BASE = "https://openapi.octoparse.com"
ACCESS_TOKEN = "YOUR_ACCESS_TOKEN"

parameters = json.loads("{\"keywords\":[\"FRANCAISE DISTRIBUTION\",\"ROUTIERE EST\",\"FRANCILIANE\",\"ENEDIS\",\"ENGIE\"]}")

response = requests.post(
    f"{OPENAPI_BASE}/api/agentTools/executeTask",
    headers={
        "Authorization": f"Bearer {ACCESS_TOKEN}",
        "Content-Type": "application/json",
    },
    json={
        "templateName": "societe-recherche-scraper",
        "taskName": "Societe.com Recherche Scraper",
        "parameters": json.dumps(parameters, ensure_ascii=False),
    },
    timeout=60,
)
print(response.status_code)
print(response.json())
```

## HTTP/cURL Example

```bash
curl -X POST "https://openapi.octoparse.com/api/agentTools/executeTask" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "templateName": "societe-recherche-scraper",
  "taskName": "Societe.com Recherche Scraper",
  "parameters": "{\"keywords\":[\"FRANCAISE DISTRIBUTION\",\"ROUTIERE EST\",\"FRANCILIANE\",\"ENEDIS\",\"ENGIE\"]}"
}
JSON
```

## MCP Setup

Connect an MCP-compatible AI client to `https://mcp.octoparse.com` using browser OAuth or an Octoparse API key. Find `societe-recherche-scraper`, inspect its inputs, create a cloud task with the exact Input Schema keys, and export JSON results.

## Machine-readable Resources

- [Template contract](https://www.octoparse.com/templates/societe-recherche-scraper.json)
- [Manifest](https://www.octoparse.com/templates/societe-recherche-scraper-manifest.json)
