# Scrape and Analyze Airbnb Data with Firecrawl and E2B

![Scrape and Analyze Airbnb Data with Firecrawl and E2B image](https://www.firecrawl.dev/images/blog/firecrawl-e2b-airbnb.png)

This cookbook demonstrates how to scrape Airbnb data and analyze it using [Firecrawl](https://www.firecrawl.dev/) and the [Code Interpreter SDK](https://github.com/e2b-dev/code-interpreter) from E2B.

Feel free to clone the [Github Repository](https://github.com/e2b-dev/e2b-cookbook) or follow along with the steps below.

## Prerequisites

- Node.js installed on your machine
- Get [E2B API key](https://e2b.dev/docs/getting-started/api-key)
- Get [Firecrawl API key](https://firecrawl.dev/)
- Get [Anthropic API key](https://anthropic.com/)

## Setup

Start by creating a new directory and initializing a new Node.js typescript project:

```bash
mkdir airbnb-analysis
cd airbnb-analysis
npm init -y

```

Next, install the required dependencies:

```bash
npm install @anthropic-ai/sdk @e2b/code-interpreter @mendable/firecrawl-js

```

And dev dependencies:

```bash
npm install --save-dev @types/node prettier tsx typescript dotenv zod

```

## Create a `.env` file

Create a `.env` file in the root of your project and add the following environment variables:

```bash