{
  "openapi": "3.0.1",
  "info": {
    "title": "France Companies (SIRENE) Scraper",
    "description": "Search 26M+ French companies in the official SIRENE registry — by name, location, NAF code, or SIREN/SIRET — and export to a dataset.",
    "version": "1.0",
    "x-build-id": "6tdHRdehZsNZIRAtL"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/seemuapps~pappers-sirene-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-seemuapps-pappers-sirene-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/seemuapps~pappers-sirene-scraper/runs": {
      "post": {
        "operationId": "runs-sync-seemuapps-pappers-sirene-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/seemuapps~pappers-sirene-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-seemuapps-pappers-sirene-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "title": "Search query",
            "type": "string",
            "description": "Free-text search — company name, brand, address, manager name, etc. Leave blank to search by location, SIREN/SIRET, or filters only."
          },
          "sirenList": {
            "title": "SIREN batch (9-digit identifiers)",
            "type": "array",
            "description": "Look up specific companies by their 9-digit SIREN. Each value is queried individually.",
            "items": {
              "type": "string"
            }
          },
          "siretList": {
            "title": "SIRET batch (14-digit establishment identifiers)",
            "type": "array",
            "description": "Look up specific establishments by their 14-digit SIRET.",
            "items": {
              "type": "string"
            }
          },
          "lat": {
            "title": "Latitude (geographic search)",
            "type": "string",
            "description": "Decimal latitude of the centre point, e.g. 48.8566. Combine with Longitude + Radius."
          },
          "lon": {
            "title": "Longitude (geographic search)",
            "type": "string",
            "description": "Decimal longitude of the centre point, e.g. 2.3522. Combine with Latitude + Radius."
          },
          "radius": {
            "title": "Radius (km)",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Search radius in kilometres for the geographic search. Maximum 50 km.",
            "default": 5
          },
          "departement": {
            "title": "Département code",
            "type": "string",
            "description": "Filter by département (e.g. 75 for Paris, 13 for Bouches-du-Rhône)."
          },
          "region": {
            "title": "Region code",
            "type": "string",
            "description": "Filter by region (INSEE region code, e.g. 11 for Île-de-France, 93 for PACA)."
          },
          "codePostal": {
            "title": "Postal code",
            "type": "string",
            "description": "5-digit French postal code, e.g. 75008."
          },
          "codeNaf": {
            "title": "NAF activity code",
            "type": "string",
            "description": "NAF/APE code (e.g. 62.01Z for software development). Comma-separate to query multiple codes."
          },
          "categorieEntreprise": {
            "title": "Company size category",
            "enum": [
              "",
              "PME",
              "ETI",
              "GE"
            ],
            "type": "string",
            "description": "Filter by INSEE company size category: PME (small/medium), ETI (intermediate), or GE (large enterprise).",
            "default": ""
          },
          "trancheEffectif": {
            "title": "Employee bracket",
            "enum": [
              "",
              "00",
              "01",
              "02",
              "03",
              "11",
              "12",
              "21",
              "22",
              "31",
              "32",
              "41",
              "42",
              "51",
              "52",
              "53"
            ],
            "type": "string",
            "description": "Filter by employee count bracket (INSEE codes — pick a range from the dropdown).",
            "default": ""
          },
          "nomDirigeant": {
            "title": "Manager last name",
            "type": "string",
            "description": "Filter to companies whose dirigeant matches this last name."
          },
          "prenomsDirigeant": {
            "title": "Manager first name(s)",
            "type": "string",
            "description": "Filter to companies whose dirigeant matches this first name."
          },
          "estAssociation": {
            "title": "Only associations (loi 1901)",
            "type": "boolean",
            "description": "Restrict to non-profit associations registered under the French 1901 law.",
            "default": false
          },
          "estBio": {
            "title": "Only bio-certified",
            "type": "boolean",
            "description": "Restrict to companies certified for organic (bio) production by Agence Bio.",
            "default": false
          },
          "estRge": {
            "title": "Only RGE (energy renovation certified)",
            "type": "boolean",
            "description": "Restrict to companies holding the RGE (Reconnu Garant de l'Environnement) energy renovation label.",
            "default": false
          },
          "estQualiopi": {
            "title": "Only Qualiopi-certified training orgs",
            "type": "boolean",
            "description": "Restrict to professional training organizations holding the Qualiopi quality certification.",
            "default": false
          },
          "estEss": {
            "title": "Only ESS (social/solidarity economy)",
            "type": "boolean",
            "description": "Restrict to companies in the Économie Sociale et Solidaire (cooperatives, mutuals, foundations).",
            "default": false
          },
          "estOrganismeFormation": {
            "title": "Only training organizations",
            "type": "boolean",
            "description": "Restrict to declared professional training organizations (organismes de formation).",
            "default": false
          },
          "caMin": {
            "title": "Min revenue (EUR)",
            "type": "integer",
            "description": "Minimum annual revenue (chiffre d'affaires) in euros."
          },
          "caMax": {
            "title": "Max revenue (EUR)",
            "type": "integer",
            "description": "Maximum annual revenue (chiffre d'affaires) in euros."
          },
          "etatAdministratif": {
            "title": "Administrative status",
            "enum": [
              "",
              "A",
              "C"
            ],
            "type": "string",
            "description": "Filter by administrative status: A = active, C = ceased (closed). Default is active only.",
            "default": "A"
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum companies to return (the API caps total results at 10,000).",
            "default": 100
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}