{
  "openapi": "3.0.1",
  "info": {
    "title": "Startup Database API - Company Search, Funding and Teams",
    "description": "Search a startup and company database by keyword, resolve companies from a domain or LinkedIn URL, find lookalikes, read a saved search, or list a company's founders and team. Returns funding, stage, investors, headcount and contacts. Pay per result. Bring your own API key.",
    "version": "0.1",
    "x-build-id": "7hffaOKjKuIW6bnC8"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/nabeelbaghoor~startup-database-api/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-nabeelbaghoor-startup-database-api",
        "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/nabeelbaghoor~startup-database-api/runs": {
      "post": {
        "operationId": "runs-sync-nabeelbaghoor-startup-database-api",
        "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/nabeelbaghoor~startup-database-api/run-sync": {
      "post": {
        "operationId": "run-sync-nabeelbaghoor-startup-database-api",
        "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": [
              "keyword-search",
              "enrich",
              "similar-companies",
              "saved-search",
              "employees"
            ],
            "type": "string",
            "description": "What this run does. Keyword search discovers companies. Enrich resolves companies you already have from a domain or a profile URL. Similar companies finds lookalikes for a seed company. Saved search reads a list you built in your provider account. People lists a company's team.",
            "default": "keyword-search"
          },
          "keywords": {
            "title": "Keyword query",
            "type": "string",
            "description": "A free-text query describing the companies you want, for example a market, a technology or a product category. Keyword search mode only."
          },
          "keywordsAny": {
            "title": "Contains any of",
            "type": "array",
            "description": "Match a company if any one of these terms is present. Widens a narrow query.",
            "items": {
              "type": "string"
            }
          },
          "keywordsAll": {
            "title": "Contains all of",
            "type": "array",
            "description": "Match a company only if every one of these terms is present. Narrows a broad query.",
            "items": {
              "type": "string"
            }
          },
          "keywordsExclude": {
            "title": "Does not contain",
            "type": "array",
            "description": "Drop companies matching any of these terms. This filters an existing search rather than being a search on its own.",
            "items": {
              "type": "string"
            }
          },
          "companyIdentifiers": {
            "title": "Company identifiers",
            "type": "array",
            "description": "Domains, website URLs or profile URLs to resolve into full company records. Each value is routed automatically: a LinkedIn, Crunchbase, PitchBook, Twitter, Instagram, Facebook, AngelList, Indeed, Glassdoor or StackOverflow URL goes to that source's lookup, a bare domain goes to the domain lookup, and any other URL is treated as the company website. Enrich mode only.",
            "items": {
              "type": "string"
            }
          },
          "enrichMissingCompanies": {
            "title": "Build records the provider does not hold",
            "type": "boolean",
            "description": "Ask the provider to go and build a record for a company it has not profiled yet, rather than returning nothing. Turn this off for a faster run over a list you expect to be well covered already.",
            "default": true
          },
          "skipUnmatched": {
            "title": "Skip unmatched identifiers",
            "type": "boolean",
            "description": "Leave unresolved identifiers out of the dataset entirely. By default they are stored with matched set to false, which is free, so you can see exactly which inputs failed to resolve.",
            "default": false
          },
          "seedCompanies": {
            "title": "Company ids or URNs",
            "type": "array",
            "description": "Companies to work from, as provider ids or URNs. A URN looks like urn:harmonic:company:12345. Used as the seeds in similar companies mode and as the targets in people mode.",
            "items": {
              "type": "string"
            }
          },
          "employeeGroupType": {
            "title": "People group",
            "enum": [
              "ALL",
              "EXECUTIVE",
              "FOUNDER",
              "INVESTOR",
              "ADVISOR"
            ],
            "type": "string",
            "description": "Which group of people to return. People mode only.",
            "default": "ALL"
          },
          "employeeStatus": {
            "title": "People status",
            "enum": [
              "ACTIVE",
              "INACTIVE",
              "ALL"
            ],
            "type": "string",
            "description": "Whether to return current people, past people, or both. People mode only.",
            "default": "ACTIVE"
          },
          "savedSearchId": {
            "title": "Saved search id or URN",
            "type": "string",
            "description": "The id or URN of a search you built and saved in your provider account. Saved search mode only. This is the way to run a complex filter set that this actor's keyword fields do not cover: build it once in the provider interface, then read the results here on a schedule."
          },
          "maxResults": {
            "title": "Maximum results",
            "minimum": 1,
            "maximum": 25000,
            "type": "integer",
            "description": "Stop after this many records (1 to 25,000). You are charged per record returned."
          },
          "pageSize": {
            "title": "Results per request",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "How many records to request per API call (1 to 1,000). Larger pages mean fewer calls. Similar company lookups are capped at 100 per seed by the provider regardless of this setting."
          },
          "apiKey": {
            "title": "API key",
            "type": "string",
            "description": "Your own API key for the data provider. Required. Sent as a request header rather than in the URL, and never logged."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}