Skip to main content
Piloterr
Back to blog
October 9, 2024

How to Scrape a Startup's Investor Count

This article explains how to extract the number of a startup's investors using the Piloterr API to assess its attractiveness and compare its market position, providing a Python code example.

Use the Crunchbase Scraping API or Crunchbase Company API for structured data.

Why extract a startup's investor count?

Traction assessment: A high number of investors can indicate strong confidence and interest in the startup, which can be a sign of traction and growth.

Benchmarking: Comparing a startup's number of investors to those of its competitors can offer insights into its relative position in the market.

Assessing financial stability: A high number of investors may suggest greater financial stability, making the startup more attractive to customers, suppliers and other stakeholders.

Market trends: Analyzing investment trends can help identify emerging sectors and promising technologies.

In short, scraping this information can provide valuable data for various strategic and decision-making analyses.

How to retrieve the number of investors?

Easy, I'll take you through it step by step. Let's take the following example: my objective is to recover the number of Openai investors.

Create your account

  • Register on piloterr.com.
  • Create your subscription.
  • Create and copy your API key.

Case study

For our case study, let's take the example given above. This section will be divided into several themes:

  • Basic code: Very simple code that you can reproduce by copying and pasting our example.
  • Result obtained: Presentation of the result obtained by executing the code.
  • Code explanation: A general explanation of how the code works.
  • Possible improvements: Suggestions for improvements you can make yourself.

Python basic code

Don't forget to replace PILOTERR_API_KEY with your real API key. The script assumes that the Piloterr API responses are in a format specific to our API, so it may need to be adjusted depending on the provider you choose.

  • Copy the code
  • Create a new file get_the_number_of_investors.py
  • Replace the API token with your own
  • Replace variable COMPANY by your need
  • Run the script with python get_the_number_of_investors.py
Python
import requests
import pandas as pd
import json

PILOTERR_API_KEY = #'YOUR-API-KEY-HERE'
COMPANY = 'openai'

def get_number_investors_from_crunchbase(query: str):
    crunchbase_company_info_api_url = "https://piloterr.com/api/v2/crunchbase/company/info"
    headers = {
        "x-api-key": PILOTERR_API_KEY
    }
    data = {
        "query": query
    }
    response = requests.get(
        url=crunchbase_company_info_api_url,
        headers=headers,
        params=data
    )
    
    if response.status_code == 200:
        return response.json()
    else:
        response.raise_for_status()

# Usage
try:
    data = get_number_investors_from_crunchbase(COMPANY)

    if data:
        name = data.get("name", "N/A")
        founded = data.get("founded", "N/A")
        num_investors = data.get("company_financials_highlights", {}).get("num_investors", "N/A")
        
        df = pd.DataFrame({
            "Name": [name],
            "Founded": [founded],
            "Num_Investors": [num_investors]
        })

        print(df)
    else:
        print("No data returned from API.")

except requests.exceptions.RequestException as e:
    print(f"An error occurred: {e}")

More to read

Guides and news about web scraping, proxies, and data extraction.

Scraping

Migrating from NetNut: what to do after the network takedown

Google took action against the NetNut/Popa proxy network alongside the FBI and Lumen. How to rethink your scraping stack without managing proxies yourself.

Josselin Liebe
Josselin Liebe
Read
Scraping

€17.99 in France, €29.99 in Germany: monitoring prices by country

Same ERP reference, different prices by country: promos, currencies, and assortment vary from one shop to the next. Data model, API examples, and a Python script for reliable price monitoring.

Josselin Liebe
Josselin Liebe
Read
Scraping

Best Leboncoin Scraper 2026

Piloterr vs Apify vs lobstr.io for Leboncoin scraping in 2026. Pricing, endpoints, and product data verified from official sources on June 29, 2026 — including the legal gap between public and authenticated scraping.

Josselin Liebe
Josselin Liebe
Read

Ready to get started?

Your web scraping API is one click away. Start with +500 credits, no infrastructure to set up, no proxies to manage, and no credit card required.

  • +500 credits
  • No credit card required
  • All endpoints included