{
  "openapi": "3.0.1",
  "info": {
    "title": "Private Market Data API - Companies, Funding, Acquisitions",
    "description": "Search a private market database of companies, funding transactions, investors and acquisitions by sector feed, country, founding year, total raised, round type and investor. Returns company profiles, funding history and investor lists as flat rows. Pay per result. Bring your own API key.",
    "version": "0.1",
    "x-build-id": "2mFpXhF0fcr1YbzbR"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/nabeelbaghoor~private-market-data-api/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-nabeelbaghoor-private-market-data-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~private-market-data-api/runs": {
      "post": {
        "operationId": "runs-sync-nabeelbaghoor-private-market-data-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~private-market-data-api/run-sync": {
      "post": {
        "operationId": "run-sync-nabeelbaghoor-private-market-data-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": {
          "dataset": {
            "title": "Dataset",
            "enum": [
              "companies",
              "transactions",
              "investors",
              "acquisitions"
            ],
            "type": "string",
            "description": "Which dataset to search. All four share the same filter language, so a filter set written for companies mostly carries over to transactions. Which datasets you may query depends on your subscription.",
            "default": "companies"
          },
          "feedNames": {
            "title": "Sector feeds",
            "type": "array",
            "description": "The provider's sector taxonomy, for example Cybersecurity, Fintech or Cloud Infrastructure. This is the primary way to scope a search, and feed names come from your own account's taxonomy.",
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "Country names to restrict the search to, for example United States or India.",
            "items": {
              "type": "string"
            }
          },
          "cities": {
            "title": "Cities",
            "type": "array",
            "description": "City names to restrict the search to.",
            "items": {
              "type": "string"
            }
          },
          "foundedYears": {
            "title": "Founding years",
            "type": "array",
            "description": "Years the company was founded. Several values match any of them, which is how you isolate a founding cohort.",
            "items": {
              "type": "string"
            }
          },
          "domains": {
            "title": "Domains",
            "type": "array",
            "description": "Company domains to look up directly. A pasted URL is reduced to its domain automatically.",
            "items": {
              "type": "string"
            }
          },
          "names": {
            "title": "Company names",
            "type": "array",
            "description": "Company names to look up directly.",
            "items": {
              "type": "string"
            }
          },
          "totalRaisedMin": {
            "title": "Total raised from (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Lower bound on the total funding the company has raised across all rounds."
          },
          "totalRaisedMax": {
            "title": "Total raised to (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Upper bound on the total funding the company has raised across all rounds."
          },
          "roundCategories": {
            "title": "Funding round types",
            "type": "array",
            "description": "Round categories to match, for example Seed, Series A or Series B, using the names from your own account's taxonomy.",
            "items": {
              "type": "string"
            }
          },
          "roundAmountMin": {
            "title": "Round amount from (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Lower bound on the amount raised in a single round."
          },
          "roundAmountMax": {
            "title": "Round amount to (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Upper bound on the amount raised in a single round."
          },
          "roundDateFrom": {
            "title": "Round date from",
            "type": "string",
            "description": "Earliest funding round date, as an ISO date such as 2026-01-01."
          },
          "roundDateTo": {
            "title": "Round date to",
            "type": "string",
            "description": "Latest funding round date, as an ISO date such as 2026-08-01."
          },
          "investorNames": {
            "title": "Investor names",
            "type": "array",
            "description": "Only return companies backed by these investors. Useful for mapping a fund's portfolio or finding co-investment patterns.",
            "items": {
              "type": "string"
            }
          },
          "advancedFilter": {
            "title": "Advanced filter",
            "type": "string",
            "description": "A raw JSON filter object merged into the filter above, for any filter your subscription supports that has no dedicated field here. List filters take arrays, numeric and date filters take a min and max object. Keys given here win. Example: {\"feedName\": [\"Fintech\"], \"totalMoneyRaised\": {\"min\": 10000000}}"
          },
          "sortBy": {
            "title": "Sort by",
            "type": "string",
            "description": "A field name to sort by, for example totalMoneyRaised. Leave empty for the provider's own ordering."
          },
          "sortDirection": {
            "title": "Sort direction",
            "enum": [
              "desc",
              "asc"
            ],
            "type": "string",
            "description": "Direction for the sort field.",
            "default": "desc"
          },
          "usePlayground": {
            "title": "Use the playground environment",
            "type": "boolean",
            "description": "Send every request to the provider's playground, which answers with sample data. The right place to check a filter set before spending entitlement on a real run.",
            "default": false
          },
          "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": 20,
            "type": "integer",
            "description": "How many records to request per call. The provider documents 20 per call as the maximum, so this is capped there and a large run is simply many small pages."
          },
          "apiKey": {
            "title": "API key",
            "type": "string",
            "description": "Your own access token for the data provider, generated on the API token page of your provider account. Required. Sent as a request header and never logged or placed in a URL."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}