{
  "openapi": "3.0.1",
  "info": {
    "title": "French Company Leads: Directors, Revenue & Size",
    "description": "Search French companies from the official register: directors and managers, revenue, net result, size, industry code, address. Filters for sector, department, size and revenue. No login. $3 per 1,000.",
    "version": "0.0",
    "x-build-id": "uhvlFIpvtiJacQQ39"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/leadgenguy~france-company-leads/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-leadgenguy-france-company-leads",
        "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/leadgenguy~france-company-leads/runs": {
      "post": {
        "operationId": "runs-sync-leadgenguy-france-company-leads",
        "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/leadgenguy~france-company-leads/run-sync": {
      "post": {
        "operationId": "run-sync-leadgenguy-france-company-leads",
        "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": {
          "keywords": {
            "title": "Name or keywords (optional)",
            "type": "string",
            "description": "Company name, brand or words, e.g. <code>logiciel</code> or <code>plomberie</code>."
          },
          "activityCodes": {
            "title": "Industry codes NAF (optional)",
            "type": "array",
            "description": "French NAF/APE codes, e.g. <code>62.01Z</code> (software), <code>43.22A</code> (plumbing), <code>47.11B</code>.",
            "items": {
              "type": "string"
            }
          },
          "departments": {
            "title": "Departments (optional)",
            "type": "array",
            "description": "Department numbers, e.g. <code>75</code> (Paris), <code>69</code> (Rhone), <code>2A</code>. Matches companies with an establishment in the department.",
            "items": {
              "type": "string"
            }
          },
          "postalCodes": {
            "title": "Postal codes (optional)",
            "type": "array",
            "description": "e.g. <code>75008</code>.",
            "items": {
              "type": "string"
            }
          },
          "companySize": {
            "title": "Company category (optional)",
            "enum": [
              "",
              "PME",
              "ETI",
              "GE"
            ],
            "type": "string",
            "description": "PME = small and medium, ETI = mid-size, GE = large group.",
            "default": ""
          },
          "employeeBandCodes": {
            "title": "Employee bands (optional)",
            "type": "array",
            "description": "Official codes: 01 = 1-2, 02 = 3-5, 03 = 6-9, 11 = 10-19, 12 = 20-49, 21 = 50-99, 22 = 100-199, 31 = 200-249, 32 = 250-499, 41 = 500-999, 42 = 1,000-1,999.",
            "items": {
              "type": "string"
            }
          },
          "minRevenueEur": {
            "title": "Minimum revenue (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Only companies with published accounts at or above this revenue."
          },
          "maxRevenueEur": {
            "title": "Maximum revenue (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Only companies with published revenue at or below this."
          },
          "minNetResultEur": {
            "title": "Minimum net result (EUR)",
            "type": "integer",
            "description": "Only companies with at least this net result. Negative values allowed."
          },
          "legalForms": {
            "title": "Legal form codes (optional)",
            "type": "array",
            "description": "e.g. <code>5710</code> (SAS), <code>5499</code> (SARL), <code>1000</code> (sole trader).",
            "items": {
              "type": "string"
            }
          },
          "directorName": {
            "title": "Director name contains (optional)",
            "type": "string",
            "description": "Find companies run by a person, e.g. <code>Dupont</code>."
          },
          "foundedAfterYear": {
            "title": "Founded in or after year (optional)",
            "minimum": 1800,
            "maximum": 2100,
            "type": "integer",
            "description": "Applied to the results the API returns for your filters (the register cannot filter by date itself). Use together with sector or department filters."
          },
          "onlyWithDirectors": {
            "title": "Only companies with a listed director",
            "type": "boolean",
            "description": "Skip companies with no director on record.",
            "default": false
          },
          "onlyWithContact": {
            "title": "Only with phone, email or website",
            "type": "boolean",
            "description": "Few companies publish these in the register.",
            "default": false
          },
          "onlyRGE": {
            "title": "Energy-renovation certified (RGE) only",
            "type": "boolean",
            "description": "Home-renovation installers certified for public subsidies.",
            "default": false
          },
          "onlyQualiopi": {
            "title": "Qualiopi-certified training bodies only",
            "type": "boolean",
            "description": "Training organisations with the Qualiopi quality label.",
            "default": false
          },
          "onlyOrganic": {
            "title": "Organic (bio) only",
            "type": "boolean",
            "description": "Companies in the organic register.",
            "default": false
          },
          "onlySocialEconomy": {
            "title": "Social and solidarity economy only",
            "type": "boolean",
            "description": "ESS companies.",
            "default": false
          },
          "maxItems": {
            "title": "Maximum companies",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Free Apify plans: 25 per run.",
            "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
                  },
                  "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}