{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn Company Search | X-Ray | No Login | Bulk",
    "description": "Find LinkedIn company pages by name, keyword or LinkedIn URL. No login, no cookies. Multi-country, 4 search patterns, JSON/CSV export. Pay per company, empty searches are free, per-run spend cap. HubSpot, Salesforce, Clay, n8n, Make and Zapier ready. Free plan: 100 results per run.",
    "version": "1.1",
    "x-build-id": "0tpENiS9PH6eEJ7yq"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/b2bdata~linkedin-company-search/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-b2bdata-linkedin-company-search",
        "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/b2bdata~linkedin-company-search/runs": {
      "post": {
        "operationId": "runs-sync-b2bdata-linkedin-company-search",
        "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/b2bdata~linkedin-company-search/run-sync": {
      "post": {
        "operationId": "run-sync-b2bdata-linkedin-company-search",
        "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",
        "required": [
          "keyword"
        ],
        "properties": {
          "keyword": {
            "title": "Company name or LinkedIn company URL",
            "type": "string",
            "description": "Company name or LinkedIn company URL (linkedin.com/company/openai), in the same field. A URL is converted to its company name before searching; anything else is searched as typed. Each row shows what you typed in inputQuery and how it was read in inputRoute (linkedin_url or text). Gotcha: a broad term such as 'AI' returns thousands of unrelated pages, so use 'OpenAI' instead."
          },
          "companyPattern": {
            "title": "Search Pattern",
            "enum": [
              "1",
              "2",
              "3",
              "4"
            ],
            "type": "string",
            "description": "How to construct the company search query. Pattern 4 (broadest) is default for maximum discovery. Gotcha: the strictest pattern returns nothing when your text differs from the page title (e.g. 'Meta' instead of 'Meta Platforms, Inc.'), so widen it if a run comes back empty.",
            "default": "4"
          },
          "companyCountries": {
            "title": "Countries",
            "type": "string",
            "description": "Comma-separated country codes (e.g. uk, us, de, fr). Each country = separate search. 4 countries × 10 results = up to 40 profiles. Duplicates across countries are removed. Leave empty for 1 global search. Use 2-letter codes such as uk, us, de (write 'uk' instead of 'United Kingdom')."
          },
          "companyMaxResults": {
            "title": "Max Results (0 = all, max 100)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum company pages per country. Use 0 for all (hard maximum 100); a value above 100 is rejected with a message instead of being trimmed. You pay per result returned (see Pricing tab); free Apify plans get up to 100 results per run.",
            "default": 100
          },
          "loadAll": {
            "title": "Load All Results",
            "type": "boolean",
            "description": "Automatically paginate to load all results up to your max limit. If OFF, only the first page (up to 10 results) is returned, even when Max Results is higher. Gotcha: leave it OFF and a Max Results of 100 still returns about 10.",
            "default": false
          },
          "bulkDelayMs": {
            "title": "Delay Between Country Searches (ms)",
            "minimum": 500,
            "maximum": 10000,
            "type": "integer",
            "description": "Milliseconds to wait between searches in bulk or multi-country runs, from 500 to 10000. Lower is faster but may hit rate limits; 100 is not accepted, use 500 instead. Does not affect pricing.",
            "default": 1500
          },
          "deltaMode": {
            "title": "Delta mode (only new or changed)",
            "type": "boolean",
            "description": "When on, a run keeps one fingerprint per result in a named key-value store in your account and only returns (and charges for) results that are new or changed since the last run. Gotcha: the first run returns everything because nothing is stored yet.",
            "default": false
          },
          "deltaStoreName": {
            "title": "Delta store name",
            "type": "string",
            "description": "Name of the key-value store that holds the fingerprints, letters, digits and hyphens only (for example company-search-delta). Use a different name per scheduled search, otherwise two searches overwrite each other's history.",
            "default": "linkedin-company-search-delta"
          },
          "outputFormat": {
            "title": "Output format",
            "enum": [
              "default",
              "compatible"
            ],
            "type": "string",
            "description": "default keeps this Actor's field names. compatible renames fields to common LinkedIn scraper names (linkedinUrl, fullName, description, logo, publicIdentifier) so existing pipelines keep working. Gotcha: switching format mid-schedule changes the column names in your dataset.",
            "default": "default"
          },
          "maxChargeUsd": {
            "title": "Max charge for this run (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Stops the run when this run's charges reach this amount. The run ends SUCCEEDED with the data collected so far and one explanation row (status max_charge_reached). 0 means no extra cap beyond Apify's own maximum cost setting.",
            "default": 0
          },
          "sourceTag": {
            "title": "Source tag",
            "maxLength": 100,
            "type": "string",
            "description": "Free text copied onto every result row as sourceTag and into the OUTPUT summary, so you can tell which job or campaign a row came from. Maximum 100 characters.",
            "default": ""
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}