{
  "openapi": "3.0.1",
  "info": {
    "title": "Company Name to Website Finder: LEI & CIK",
    "description": "Company name to website finder and enrichment from Wikidata (CC0): HQ, employees, industry, parent, ticker, LEI and SEC CIK for notable companies, or find by industry and country. Firm-level only; weak for small businesses. $2/1,000 rows. Not affiliated with Wikidata.",
    "version": "0.1",
    "x-build-id": "lV4YuCeqsp5AYkfnL"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/infocomp~wikidata-company-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-infocomp-wikidata-company-finder",
        "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/infocomp~wikidata-company-finder/runs": {
      "post": {
        "operationId": "runs-sync-infocomp-wikidata-company-finder",
        "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/infocomp~wikidata-company-finder/run-sync": {
      "post": {
        "operationId": "run-sync-infocomp-wikidata-company-finder",
        "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": {
          "mode": {
            "title": "Mode",
            "enum": [
              "find",
              "enrich"
            ],
            "type": "string",
            "description": "Find = list notable companies that match your filters. Enrich = look up the companies you give in \"Company names\" / \"Domains\" / \"Companies\" and return website, HQ, employees, founded year, industry, parent, ticker, LEI and SEC CIK.",
            "default": "find"
          },
          "companyNames": {
            "title": "Company names (enrich mode)",
            "type": "array",
            "description": "Enrich mode. One company name per line, e.g. \"Tesla\" or \"Siemens AG\". Matching uses Wikidata English labels and aliases and tolerates case and legal suffixes (Inc, Ltd, ...). Max 300 companies per run.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "domains": {
            "title": "Website domains (enrich mode)",
            "type": "array",
            "description": "Enrich mode. Optional. One website per line, e.g. \"shopify.com\", to find the company whose official website in Wikidata is that domain.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "companies": {
            "title": "Companies as name + domain pairs (enrich mode)",
            "type": "array",
            "description": "Enrich mode. Optional JSON list such as [{\"name\": \"Siemens\", \"domain\": \"siemens.com\"}]. Giving both name and domain raises match confidence when they agree.",
            "default": []
          },
          "industries": {
            "title": "Industries (find mode)",
            "type": "array",
            "description": "Find mode. Companies whose Wikidata \"industry\" is one of these (sub-industries included). Empty = no industry filter. If industries, countries and Wikidata ids are all empty, a demo run uses Software in the United States.",
            "items": {
              "type": "string",
              "enum": [
                "business_services",
                "aerospace_defense",
                "agriculture",
                "aviation_airlines",
                "automotive",
                "banking",
                "chemicals",
                "construction",
                "consumer_goods",
                "internet_ecommerce",
                "education",
                "utilities",
                "financial_services",
                "food_beverage",
                "healthcare",
                "information_technology",
                "insurance",
                "media_entertainment",
                "medical_devices",
                "mining_metals",
                "oil_gas_energy",
                "pharma_biotech",
                "publishing",
                "real_estate",
                "renewable_energy",
                "retail",
                "semiconductors_electronics",
                "software",
                "telecommunications",
                "transport_logistics",
                "travel_hospitality",
                "video_games"
              ],
              "enumTitles": [
                "Advertising & consulting",
                "Aerospace, space & defense",
                "Agriculture",
                "Airlines & aviation",
                "Automotive",
                "Banking",
                "Chemicals",
                "Construction",
                "Consumer goods, cosmetics & fashion",
                "E-commerce & online retail",
                "Education",
                "Electric, water & waste utilities",
                "Financial services, investment & asset management",
                "Food, beverages & restaurants",
                "Health care",
                "IT services & AI",
                "Insurance",
                "Media, film, music & broadcasting",
                "Medical technology & devices",
                "Mining",
                "Oil, gas, coal & energy",
                "Pharmaceuticals & biotechnology",
                "Publishing & newspapers",
                "Real estate",
                "Renewable energy",
                "Retail, supermarkets & department stores",
                "Semiconductors & electronics",
                "Software, SaaS & cloud",
                "Telecommunications",
                "Transport & logistics",
                "Travel, tourism & hospitality",
                "Video games"
              ]
            },
            "default": []
          },
          "industryWikidataIds": {
            "title": "Extra industry Wikidata ids (find mode)",
            "type": "array",
            "description": "Find mode. Optional advanced filter: Wikidata item ids of industries, e.g. Q880371 (software industry). Only companies listing exactly that industry item are matched.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "Countries (find mode, ISO codes)",
            "type": "array",
            "description": "Find mode. Two-letter ISO 3166-1 country codes such as US, GB, DE, IN. A company matches when its country or its headquarters country is one of them. Max 30.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "minEmployees": {
            "title": "Minimum employees (find mode)",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "Find mode. Optional. Keep companies whose latest employee count in Wikidata is at least this. Companies without an employee count are dropped when this is set."
          },
          "foundedFrom": {
            "title": "Founded from year (find mode)",
            "minimum": 1000,
            "maximum": 2100,
            "type": "integer",
            "description": "Find mode. Optional. Earliest founding (inception) year."
          },
          "foundedTo": {
            "title": "Founded to year (find mode)",
            "minimum": 1000,
            "maximum": 2100,
            "type": "integer",
            "description": "Find mode. Optional. Latest founding (inception) year."
          },
          "listedOnly": {
            "title": "Only listed companies (find mode)",
            "type": "boolean",
            "description": "Find mode. Keep only companies with a stock exchange listing or ticker in Wikidata.",
            "default": false
          },
          "requireWebsite": {
            "title": "Only companies with an official website",
            "type": "boolean",
            "description": "Skip companies that have no official website in Wikidata (rows without a website are less useful as leads).",
            "default": true
          },
          "includeDefunct": {
            "title": "Include dissolved companies",
            "type": "boolean",
            "description": "By default companies with a \"dissolved or abolished\" date in Wikidata are skipped.",
            "default": false
          },
          "minSitelinks": {
            "title": "Minimum Wikidata sitelinks (find mode)",
            "minimum": 0,
            "maximum": 300,
            "type": "integer",
            "description": "Find mode. A notability floor: the number of Wikimedia project pages linked to the company's Wikidata item (a count only, no article text is used). Higher = only well-known companies. Lower it to reach smaller companies; there are far fewer of them.",
            "default": 3
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Stop after this many saved company rows (each is one billed \"Company\" event, $0.002). Find mode returns the most notable companies first.",
            "default": 20
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}