{
  "openapi": "3.0.1",
  "info": {
    "title": "France New Companies Feed: SIRENE Leads, Opt-Outs Removed",
    "description": "A small, opt-out-respecting feed of new French companies (SAS, SARL, SA, SCI): only companies that did not object to commercial reuse, usually 1 to 7 weeks after their creation date. SIREN, NAF, legal form, address. Filter by NAF, department. No sole traders, e-mails or phones.",
    "version": "1.0",
    "x-build-id": "7GyqHjQ0ih5afdEbt"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/atesen-software~france-new-companies-feed/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-atesen-software-france-new-companies-feed",
        "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/atesen-software~france-new-companies-feed/runs": {
      "post": {
        "operationId": "runs-sync-atesen-software-france-new-companies-feed",
        "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/atesen-software~france-new-companies-feed/run-sync": {
      "post": {
        "operationId": "run-sync-atesen-software-france-new-companies-feed",
        "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": {
          "daysBack": {
            "title": "Announced in the last N days",
            "minimum": 1,
            "maximum": 60,
            "type": "integer",
            "description": "Companies whose registration was announced in the official gazette (BODACC) during the last N days. The gazette announces a company some weeks after its creation date (median about 2.5 weeks in our November 2026 sample), so the newest registrations are not in the feed yet. Ignored when \"Creation date from\" is set. 1 to 60.",
            "default": 7
          },
          "creationDateFrom": {
            "title": "Creation date from (optional)",
            "type": "string",
            "description": "Keep only companies whose register creation date is on or after this day (YYYY-MM-DD). The gazette is read from this day on, up to 90 days back."
          },
          "creationDateTo": {
            "title": "Creation date to (optional)",
            "type": "string",
            "description": "Keep only companies whose register creation date is on or before this day (YYYY-MM-DD)."
          },
          "nafCodes": {
            "title": "NAF / APE activity codes (optional)",
            "type": "array",
            "description": "Keep only companies with one of these activity codes. A full code (62.01Z), a class (62.01) or a division (62) works. Applied after the register lookup, so a narrow code on a wide window reads many companies; see \"Max register lookups\".",
            "items": {
              "type": "string"
            }
          },
          "departments": {
            "title": "Departments (optional)",
            "type": "array",
            "description": "Keep only companies with their registered office in these departments, for example 75, 69, 2A or 974. Also narrows the gazette search, which makes the run faster.",
            "items": {
              "type": "string"
            }
          },
          "postalCodes": {
            "title": "Postal codes (optional)",
            "type": "array",
            "description": "Keep only companies with their registered office in these 5-digit postal codes. Also narrows the gazette search.",
            "items": {
              "type": "string"
            }
          },
          "legalForms": {
            "title": "Legal forms (optional)",
            "type": "array",
            "description": "Keep only these kinds of company. SAS includes the single-shareholder SAS (SASU); SARL includes the single-member SARL (EURL). Sole traders and micro-entrepreneurs are never returned, whatever you choose.",
            "items": {
              "type": "string",
              "enum": [
                "SAS",
                "SARL",
                "SA",
                "SCI",
                "SNC",
                "COMMANDITE",
                "PROFESSIONAL_COMPANY",
                "OTHER_CIVIL"
              ],
              "enumTitles": [
                "SAS / SASU",
                "SARL / EURL",
                "SA (public limited company)",
                "SCI (property holding company)",
                "SNC (general partnership)",
                "Limited partnership (SCS / SCA)",
                "Professional practice company (SEL / SPFPL)",
                "Other civil companies (SCP, SCM, ...)"
              ]
            }
          },
          "employeeBands": {
            "title": "Employee band (optional)",
            "type": "array",
            "description": "Keep only companies in these headcount bands as recorded in the register. Brand-new companies mostly have none or unknown.",
            "items": {
              "type": "string",
              "enum": [
                "none",
                "1-9",
                "10-49",
                "50-249",
                "250+",
                "unknown"
              ],
              "enumTitles": [
                "No employees",
                "1 to 9",
                "10 to 49",
                "50 to 249",
                "250 or more",
                "Not recorded yet"
              ]
            }
          },
          "activeOnly": {
            "title": "Active companies only",
            "type": "boolean",
            "description": "Return only companies that are active in the register. Turn off to include companies already ceased.",
            "default": true
          },
          "onlyNewSinceLastRun": {
            "title": "Only new since the last run",
            "type": "boolean",
            "description": "For daily or weekly schedules: remember delivered companies (SIREN numbers only) and deliver each company once. The first run delivers everything in the window.",
            "default": false
          },
          "stateName": {
            "title": "State name (optional)",
            "type": "string",
            "description": "Name of the memory used by \"Only new\". Leave empty to use one per filter set; set a name to share or reset it. Letters, digits, dots, dashes, underscores."
          },
          "stateStore": {
            "title": "Memory store (pick one)",
            "type": "string",
            "description": "Key-value store that keeps the 'already delivered' memory between runs. Pick or create a store here to use the only-new mode. This works with the Actor's limited permissions. Leave it empty to use the named store 'france-new-companies-state' in your account, or to run without memory."
          },
          "maxResults": {
            "title": "Maximum companies",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Stop after this many companies (you are charged for each delivered company). 1 to 10,000. Hard cap: the run never writes or charges more rows than this.",
            "default": 25
          },
          "maxLookups": {
            "title": "Max register lookups",
            "minimum": 10,
            "maximum": 5000,
            "type": "integer",
            "description": "Upper limit of companies the run checks in the register (about five per second). Raise it for narrow filters on wide windows. 10 to 5,000.",
            "default": 1000
          },
          "maxRuntimeSeconds": {
            "title": "Max run time (seconds)",
            "minimum": 30,
            "maximum": 7200,
            "type": "integer",
            "description": "The run stops cleanly after this time and keeps what it found. 30 to 7,200.",
            "default": 240
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}