# Crunchbase Company API | Funding, Investors & Firmographics (`johnvc/crunchbase-company-api`) Actor

Collect Crunchbase company data as clean, structured JSON. Send one or many organization URLs and get funding, investors, industries, HQ location, employee count, rank, and status. Reliable, pay per company, MCP-ready for Claude and AI agents.

- **URL**: https://apify.com/johnvc/crunchbase-company-api.md
- **Developed by:** [John](https://apify.com/johnvc) (community)
- **Categories:** Lead generation, AI
- **Stats:** 46 total users, 30 monthly users, 100.0% runs succeeded, 6 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $7.72 / 1,000 company scrapeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## 🏢 Crunchbase Company API | Funding, Investors & Firmographics

The **Crunchbase Company API** turns public [Crunchbase](https://www.crunchbase.com) organization pages into clean, structured JSON. Use it as a **Crunchbase API** alternative or a **Crunchbase data export** tool: collect funding rounds, investors, founders, industries, HQ location, employee count, Crunchbase rank, growth score, and operating status for any organization, on reliable infrastructure and billed per company. No Crunchbase account, proxies, or scraping setup required.

Send one or many Crunchbase organization URLs, or just **company names or website domains** (no URL needed): each name resolves to its top-matching organization via `companyNames`, so you can chain straight from tools that output names, like the [LinkedIn Company API](https://apify.com/johnvc/linkedin-company-api?fpr=9n7kx3). Either way you get one row per company, collected in parallel and ready to export as JSON, CSV, or Excel. It works as a straightforward **Crunchbase scraper** for company enrichment, firmographics, B2B sales intelligence, lead enrichment, CRM enrichment, startup research, competitor analysis, and venture capital research. Built API-first and MCP-ready, so Claude, Cursor, ChatGPT, and other AI agents can call it as a tool to look up company data in-conversation.

***

### 📋 What this API returns

| Field | Description |
|---|---|
| `name`, `legalName` | Company name and registered legal name. |
| `description` | The company overview text. |
| `website` | Company website URL. |
| `hqLocation`, `region`, `country` | Where the company is headquartered. |
| `employeeCount` | Employee-count band (e.g. "1001-5000"). |
| `industries` | Industry tags. |
| `numFundingRounds`, `numInvestors`, `numLeadInvestors` | Funding-round and investor counts. |
| `fundingRounds` | Per-round detail: round label (Seed, Series A, ...), stage, investors, and lead investors. |
| `totalFunding` | Total raised in USD, only when the source exposes a company-level total (often unavailable; omitted rather than guessed). |
| `investors` | Distinct investor names. |
| `founders`, `keyPeople`, `advisors` | Founders, current executives with titles, and board members. |
| `contacts`, `numContacts` | Named contacts with job title, departments, and LinkedIn handle, plus the total contact count. |
| `numAcquisitions`, `acquisitions`, `subOrganizations` | Acquisitions made and subsidiaries or joint ventures. |
| `products` | Named products and services with short descriptions. |
| `similarCompanies` | Similar or competing companies with profile URLs. |
| `recentNews` | Up to 5 recent news mentions with date, publisher, and URL. |
| `cbRank`, `growthScore`, `growthTrend`, `heatScore`, `heatTrend` | Crunchbase rank plus growth and heat signals. |
| `monthlyVisits`, `monthlyVisitsGrowth` | Website traffic and month-over-month trend. |
| `techStack`, `techStackCount` | Detected website technologies. |
| `patentsGranted`, `trademarksRegistered`, `itSpendEstimateUsd`, `monthlyAppDownloads` | IP counts, estimated IT spend, and app-download signal. |
| `operatingStatus`, `companyType`, `ipoStatus`, `stockSymbol` | Status and structure. |
| `contactEmail`, `contactPhone`, `socialMediaLinks`, `logoUrl` | Public contact info, social profiles, and logo. |
| `hqRegions`, `continent` | Broader headquarters geography. |
| `searchTerm` | On name-lookup rows: the name or domain from `companyNames` that produced the row, so you can join results back to your input list. |
| `summary` | A plain-language one-line interpretation of the company. |

***

### 📤 Example output

One JSON row per company, and every row is deep: per-round funding detail, key people, named contacts, products, news, and growth signals. This is real output for OpenAI, trimmed for length:

```json
{
  "result_type": "company",
  "name": "OpenAI",
  "legalName": "OpenAI OpCo, LLC",
  "cbRank": 10,
  "description": "OpenAI is an AI research and deployment company that develops advanced AI models, including ChatGPT.",
  "website": "https://www.openai.com/",
  "logoUrl": "https://images.crunchbase.com/image/upload/jjykwqqhsscreywea4gb",
  "hqLocation": "San Francisco, California, United States, North America",
  "region": "California",
  "country": "United States",
  "hqRegions": ["San Francisco Bay Area", "West Coast", "Western US"],
  "continent": "North America",
  "employeeCount": "1001-5000",
  "operatingStatus": "active",
  "companyType": "for_profit",
  "ipoStatus": "private",
  "industries": ["Artificial Intelligence (AI)", "Generative AI", "Machine Learning", "SaaS"],
  "numFundingRounds": 14,
  "numInvestors": 104,
  "numLeadInvestors": 18,
  "numAcquisitions": 22,
  "fundingRounds": [
    {"round": "Corporate Round", "investors": ["Microsoft"]},
    {"round": "Venture Round", "investors": ["SoftBank", "Thrive Capital", "NVIDIA", "MGX", "T. Rowe Price"]},
    {"round": "Secondary Market", "investors": ["Sequoia Capital", "Andreessen Horowitz", "Thrive Capital", "K2 Global"]}
  ],
  "investors": ["Microsoft", "Thrive Capital", "SoftBank", "Sequoia Capital"],
  "founders": ["Sam Altman", "Greg Brockman", "Ilya Sutskever", "Elon Musk"],
  "keyPeople": [
    {"name": "Sam Altman", "title": "Co-Founder and CEO"},
    {"name": "Sarah Friar", "title": "CFO"},
    {"name": "Brad Lightcap", "title": "COO"}
  ],
  "advisors": [
    {"name": "Bret Taylor", "role": "Board Member"},
    {"name": "Adam D'Angelo", "role": "Board Member"}
  ],
  "contacts": [
    {
      "name": "Aliisa Rosenthal",
      "title": "Head of Enterprise and Public Sector Accounts",
      "departments": ["management", "sales"],
      "linkedinId": "aliisa-rosenthal"
    }
  ],
  "numContacts": 1384,
  "products": [
    {"name": "ChatGPT", "description": "An AI conversational agent designed to generate human-like text responses."},
    {"name": "OpenAI API Platform", "description": "A cloud-based API service providing access to OpenAI's AI models."}
  ],
  "similarCompanies": [
    {"name": "Anthropic", "url": "https://www.crunchbase.com/organization/anthropic"},
    {"name": "Mistral AI", "url": "https://www.crunchbase.com/organization/mistral-ai"}
  ],
  "recentNews": [
    {"date": "2026-07-06", "title": "Tenable joins OpenAI Daybreak Cyber Partner Program", "publisher": "Zawya.com", "url": "https://www.zawya.com/en/press-release/companies-news/example"}
  ],
  "acquisitions": ["Global Illumination", "Promptfoo", "Torch Health"],
  "subOrganizations": ["The Stargate Project", "Global Illumination"],
  "monthlyVisits": 561019484,
  "monthlyVisitsGrowth": 0.1509,
  "growthScore": 82,
  "growthTrend": 5,
  "heatScore": 90,
  "heatTrend": -7,
  "techStackCount": 97,
  "techStack": ["Cloudflare CDN", "HSTS", "DNSSEC"],
  "patentsGranted": 70,
  "trademarksRegistered": 26,
  "itSpendEstimateUsd": 285484278,
  "contactEmail": "support@openai.com",
  "contactPhone": "+1 800-242-8478",
  "socialMediaLinks": ["https://www.linkedin.com/company/openai", "https://x.com/OpenAI"],
  "companyUrl": "https://www.crunchbase.com/organization/openai",
  "summary": "OpenAI, Artificial Intelligence (AI), 1001-5000 employees, San Francisco, California, United States, North America"
}
```

A `totalFunding` dollar amount appears only when the source exposes a company-level total. If a URL cannot be collected you get an error row (`result_type: "error"`) for that URL instead of a failed run.

***

### 🎯 Use cases

- **VC and PE research.** Pull funding, investors, and firmographics for a list of target companies.
- **Sales intelligence.** Enrich account lists with company size, industry, HQ, and funding stage.
- **Market mapping.** Compare companies across a sector by funding, headcount, and growth signals.
- **CRM enrichment.** Append structured company data to records from a Crunchbase URL.
- **Competitive intelligence.** Track competitors' funding rounds, acquisitions, and investor networks.
- **AI agent workflows.** Drive this API over MCP from Claude to look up and summarize companies in-conversation.

***

### 🔁 Use it as a Crunchbase scraper at scale

Paste a batch of Crunchbase organization URLs and this Crunchbase scraper collects them in budget-capped chunks, one row per company, so a large Crunchbase scraping run never overshoots the cap you set. Every company comes back with the same flat, predictable fields, which is what makes the output easy to load into a sheet, a database, or a CRM.

The result is ready-to-use company enrichment and venture capital data: funding rounds, investors, industries, HQ, headcount, and rank. If a URL cannot be collected, you get a clear error row for that URL instead of a failed run, so one bad link never sinks the batch. Whether you need Crunchbase data for one company or ten thousand, the shape of the output stays the same.

***

### ⚙️ Input examples

#### One company

```json
{
  "companyUrls": ["https://www.crunchbase.com/organization/openai"]
}
```

#### Several companies at once (collected in parallel)

```json
{
  "companyUrls": [
    "https://www.crunchbase.com/organization/openai",
    "https://www.crunchbase.com/organization/anthropic"
  ]
}
```

#### Look up by company name (no URL needed)

```json
{
  "companyNames": ["OpenAI", "Basecamp", "stripe.com"]
}
```

Each name or website domain resolves to the single top-matching Crunchbase organization and returns the same full company row, with a `searchTerm` field carrying the name you sent. Name lookups take a few minutes longer than URL collection. You can mix `companyUrls` and `companyNames` in one run.

#### Chain from the LinkedIn Company API

Run the [LinkedIn Company API](https://apify.com/johnvc/linkedin-company-api?fpr=9n7kx3) on your accounts, then feed its `name` (or `website` domain) output straight into `companyNames` to add funding rounds, investors, and firmographics; no Crunchbase URLs needed anywhere in the pipeline:

```json
{
  "companyNames": ["Microsoft", "Anthropic", "Basecamp"]
}
```

URLs that are not Crunchbase `/organization/` URLs are skipped with a warning. The API returns one row per company; see the [example output](#-example-output) above for the full shape.

***

### 💰 Pricing (pay-per-event)

You pay per company returned. There is no per-run setup fee. The current per-event price is shown on the Store card and in the Actor's Monetization details. Because billing is per company, you only pay for the companies actually delivered.

***

### 🔌 Use the Crunchbase Company API from Claude (MCP)

This Actor is MCP-server-compatible, so [Claude Code](https://claude.ai/referral/uIlpa7nPLg) (free trial), Claude (desktop and web), Cursor, and other MCP clients can call it as a tool through Apify's hosted MCP server.

Add it with this Actor-specific URL:

`https://mcp.apify.com/?tools=actors,docs,johnvc/crunchbase-company-api`

Apify MCP integration docs: https://docs.apify.com/platform/integrations/mcp

Setup walkthrough:

https://www.youtube.com/watch?v=jREWahDGhJM

**New to Claude Code or Claude Cowork?** Start a [free trial](https://claude.ai/referral/uIlpa7nPLg).

Then ask Claude:

> *"Use the Crunchbase Company API to look up OpenAI and summarize its funding and investors."*

***

### 💸 Pay per run with crypto (x402)

The Crunchbase Company API supports agentic payments via the [x402 protocol](https://docs.apify.com/platform/integrations/x402).
AI agents and MCP clients can pay for runs in USDC (on Base) with no Apify account or API token needed:
point your agent at the [Apify MCP server](https://mcp.apify.com/?tools=actors,docs,johnvc/crunchbase-company-api) and it can
discover, pay for, and run this Actor autonomously. Read the
[Apify x402 announcement](https://apify.com/change-log/pay-for-apify-actors-with-x402?fpr=9n7kx3) for details.

### 🔌 Integrations: run company enrichment on a schedule

This API is most useful as a recurring step in a pipeline, not a one-off run:

- **Tasks and Schedules.** Save a set of Crunchbase URLs as a Task, then attach a Schedule to refresh that company dataset daily, weekly, or monthly with no code.
- **n8n, Make, and Zapier.** Trigger a run when a new company lands in your CRM, then push the enriched funding and firmographics back. Apify has native connectors for each.
- **Supabase, Google Sheets, and databases.** Send the dataset straight to storage with a webhook or the Apify API so the rows land where your team already works.
- **MCP.** Call the API as a tool from Claude and other AI agents (see the section above) to enrich companies inside an agent workflow.
- **Webhooks.** Fire a webhook on run completion to kick off the next step in your own system, such as deal scoring or investor research.

#### n8n

Run this actor from n8n without writing code: the [Collect Crunchbase funding data into Google Sheets template](https://n8n.io/workflows/17353-collect-crunchbase-funding-data-into-google-sheets-using-apify/) pastes a list of Crunchbase organization URLs and appends funding, investor, and firmographic data to Google Sheets. Works on n8n Cloud via the official Apify node; self-hosters can also use the [n8n-nodes-crunchbase-company-api](https://www.npmjs.com/package/n8n-nodes-crunchbase-company-api) community node.

***

### 🔗 Related Tools

Build a full picture of a company, its funding, and the people behind it by pairing this with related tools:

- [PitchBook Company API](https://apify.com/johnvc/pitchbook-company-api?fpr=9n7kx3) - private-company and deal data from PitchBook.
- [LinkedIn Company API](https://apify.com/johnvc/linkedin-company-api?fpr=9n7kx3) - LinkedIn firmographics for the same accounts. Pipe its `name` or `website` output into `companyNames` here to add funding data with no URL matching.

Comparison point: some Crunchbase scrapers on the Store are unmaintained or low-rated (for example [pratikdani/crunchbase-companies-bulk-scraper-no-cookies](https://apify.com/pratikdani/crunchbase-companies-bulk-scraper-no-cookies?fpr=9n7kx3), rated 1 star). This API is built for reliability, pay-per-company billing, and MCP access from AI agents.

***

### 📎 Applications

Ready-made task pages for common jobs. Open one, run it, or duplicate it as a starting point:

#### [Scrape Crunchbase Company Data to Structured JSON](https://apify.com/johnvc/crunchbase-company-api/examples/scrape-crunchbase-company-data-to-structured-json?fpr=9n7kx3)

Turn a Crunchbase organization URL into clean JSON: name, industries, funding rounds, employee count, HQ, and rank.

#### [Extract Funding & Investor Data from Crunchbase](https://apify.com/johnvc/crunchbase-company-api/examples/extract-funding-investor-data-from-crunchbase?fpr=9n7kx3)

Pull number of funding rounds, investor count, investor names, and IPO status from a company URL.

#### [Collect Venture Capital Data from Crunchbase](https://apify.com/johnvc/crunchbase-company-api/examples/collect-venture-capital-data-from-crunchbase?fpr=9n7kx3)

Collect funding rounds, investors, acquisitions, and growth score for a set of companies.

#### [Enrich Accounts with Crunchbase Company Data](https://apify.com/johnvc/crunchbase-company-api/examples/enrich-accounts-with-crunchbase-company-data?fpr=9n7kx3)

Turn a company URL into CRM-ready fields for account scoring and routing.

#### [Bulk Collect Crunchbase Companies from a URL List](https://apify.com/johnvc/crunchbase-company-api/examples/bulk-collect-crunchbase-companies-from-a-url-list?fpr=9n7kx3)

Paste up to 1000 Crunchbase organization URLs and get one clean row each.

#### [Crunchbase Company Data API for Python](https://apify.com/johnvc/crunchbase-company-api/examples/crunchbase-company-data-api-for-python?fpr=9n7kx3)

Call the API from Python: a company URL in, structured funding and firmographics out.

#### [Get Crunchbase Company Data in Claude via MCP](https://apify.com/johnvc/crunchbase-company-api/examples/get-crunchbase-company-data-in-claude-via-mcp?fpr=9n7kx3)

Use company lookup as a tool in Claude and other AI agents over MCP.

#### [List a Company's Board Members and Key People](https://apify.com/johnvc/crunchbase-company-api/examples/list-company-board-members-and-key-people?fpr=9n7kx3)

Board members and advisors with roles, executives with titles, and founders from a company URL.

#### [Look Up Any Company's Tech Stack from Crunchbase](https://apify.com/johnvc/crunchbase-company-api/examples/look-up-company-tech-stack-from-crunchbase?fpr=9n7kx3)

Detected website technologies with a count, plus web traffic and firmographics per company.

#### [Find Competitors of Any Company from Crunchbase](https://apify.com/johnvc/crunchbase-company-api/examples/find-competitors-of-any-company-from-crunchbase?fpr=9n7kx3)

Similar and competing companies with names and profile URLs, plus industries and growth score.

#### [Get a Company's Funding Round History from Crunchbase](https://apify.com/johnvc/crunchbase-company-api/examples/get-company-funding-round-history-from-crunchbase?fpr=9n7kx3)

Every listed round with its label, stage, investors, and lead investors, one row per company.

***

### 🚀 How to get started

1. Open the Actor and paste one or more Crunchbase organization URLs into `companyUrls`.
2. Run it and read the results from the dataset (JSON, CSV, Excel, or API).

[View on Apify Store](https://apify.com/johnvc/crunchbase-company-api?fpr=9n7kx3)

**Example code:** [Python quick-start + MCP setup on GitHub](https://github.com/johnisanerd/Apify-Crunchbase-Company-API) - call the API from Python, or install it as a tool in Claude, Cursor, and ChatGPT.

***

### ❓ FAQ

#### What URL should I provide?

A Crunchbase organization URL, for example `https://www.crunchbase.com/organization/openai`. Pass one or many in `companyUrls`. No URL handy? Pass the company name or website domain in `companyNames` instead.

#### Can I look up companies by name instead of URL?

Yes. Put names or website domains in `companyNames` (for example `"OpenAI"` or `"basecamp.com"`) and each resolves to its top-matching Crunchbase organization, returned as the same full company row at the same per-company price. The row's `searchTerm` field carries the name you sent so you can join results back to your list. This is the easiest way to chain from tools that output company names, such as the [LinkedIn Company API](https://apify.com/johnvc/linkedin-company-api?fpr=9n7kx3). Two tips for clean results: prefer the website domain for ambiguous or generic names (it disambiguates far better than a short name), and sanity-check the returned `name` and `website` against your `searchTerm` downstream, because the lookup always returns the closest match it can find, even for misspelled or unknown names.

#### What does the Crunchbase Company API return?

Each row includes firmographics (name, industries, HQ location, employee count), funding data (per-round detail with stages and lead investors, investor names and counts, plus a total-funding amount when the source exposes one), key people and advisors, named contacts with titles and LinkedIn handles, products, similar companies, recent news, acquisitions, IPO status, Crunchbase rank, growth and heat signals, web traffic, tech stack, and a plain-language summary.

#### Is this a Crunchbase scraper too?

Yes. You call it like an interface (a Crunchbase organization URL in, structured JSON out), and under the hood it works as a Crunchbase scraper that reads public organization pages. You never touch scraping infrastructure; you get clean, one-row-per-company data back.

#### Can I collect many companies at once?

Yes. Provide a list in `companyUrls`; they are collected in parallel and returned one row per company, up to 1000 per run.

#### Do you return funding and investor data?

Yes. Each row includes per-round detail in `fundingRounds` (round label, stage, investors, and lead investors), the number of rounds, investor counts, and distinct investor names, where Crunchbase lists them. A `totalFunding` dollar amount is included only when the source exposes a company-level total; when it does not, the field is omitted rather than estimated. Switch to the `funding` dataset view for a funding-first table.

#### Is it legal to scrape public Crunchbase data?

This actor collects only public company data. Public-data scraping has been addressed in court cases such as [hiQ Labs v. LinkedIn](https://en.wikipedia.org/wiki/HiQ_Labs_v._LinkedIn), but you are responsible for your own use, including [GDPR](https://en.wikipedia.org/wiki/General_Data_Protection_Regulation) and platform terms. Consult your own counsel for your use case.

#### Can I run it from Claude or another AI agent over MCP?

Yes. The Actor is MCP-server-compatible, so [Claude Code](https://claude.ai/referral/uIlpa7nPLg) (free trial) and other MCP clients call it as a tool. See the MCP section above for the setup URL.

#### Can I schedule it or connect it to my other apps?

Yes. Save your Crunchbase URLs as a Task and attach a Schedule for recurring runs, and connect the output to n8n, Make, Zapier, Supabase, or your own system by webhook. See the Integrations section above.

#### What if a company cannot be collected?

The API returns a clear error row for that URL explaining why, so a single bad URL does not fail the whole run.

***

### 🌐 About Alpha OSINT

This Actor is part of [Alpha OSINT](https://www.alphaosint.com), toolset of financial and operations data sources and APIs.
See the [Crunchbase Company API source page](https://www.alphaosint.com/sources/crunchbase-company-api/) for related tools and use cases.
For support or requests for this actor, please start a ticket [directly on our support page](https://apify.com/johnvc/crunchbase-company-api/issues/open?fpr=9n7kx3).

Last Updated: 2026.09.10

# Actor input Schema

## `companyUrls` (type: `array`):

One or more Crunchbase organization URLs, e.g. https://www.crunchbase.com/organization/openai. URLs that are not Crunchbase /organization/ URLs are skipped. Up to 1000 per run. Need larger batches? Contact us and we can raise this limit for your account.

## `companyNames` (type: `array`):

Look companies up by name or website domain, e.g. "OpenAI" or "basecamp.com". Each entry resolves to the single top-matching Crunchbase organization and returns the same full company row as a URL, at the same per-company price; the row's searchTerm field carries the name you sent. Perfect for chaining from tools that output company names, like the LinkedIn Company API. Name lookups take a few minutes longer than URLs.

## Actor input object example

```json
{
  "companyUrls": [
    "https://www.crunchbase.com/organization/openai"
  ]
}
```

# Actor output Schema

## `allResults` (type: `string`):

Every dataset item from this run: collected companies and any error rows.

## `overview` (type: `string`):

Tabular overview of every dataset item using the dataset schema's default view. Columns: type, company, industries, total funding (when available), employees, HQ, CB rank, summary.

## `funding` (type: `string`):

Funding rounds, investor names, acquisitions, and growth score (plus total raised when the source exposes it).

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "companyUrls": [
        "https://www.crunchbase.com/organization/openai"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("johnvc/crunchbase-company-api").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "companyUrls": ["https://www.crunchbase.com/organization/openai"] }

# Run the Actor and wait for it to finish
run = client.actor("johnvc/crunchbase-company-api").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "companyUrls": [
    "https://www.crunchbase.com/organization/openai"
  ]
}' |
apify call johnvc/crunchbase-company-api --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,johnvc/crunchbase-company-api"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/u4XY17ykVgWgt2Wv2/builds/UxXbjeDqh4gslMMjt/openapi.json
