> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zenrows.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Setting Up the Scraper APIs

> Set up ZenRows Scraper APIs by generating API keys, configuring authentication, and making your first data extraction request step by step.

Learn how to set up and integrate ZenRows® Scraper APIs seamlessly. This guide covers everything from generating API credentials to optimizing your configuration for efficient data extraction. Whether you're a beginner or an experienced developer, you'll learn how to generate and access your API credentials, integrate them into your applications, and configure key settings to optimize data extraction.

ZenRows offers multiple APIs tailored for different industries and use cases. You'll be able to retrieve structured data from e-commerce, real estate, travel, and many other websites with minimal effort.

## Initial Setup

To get started with the Scraper APIs, follow these steps:

<Steps>
  <Step title="Sign Up for ZenRows®">
    To get started, create a ZenRows account by visiting the [Registration Page](https://app.zenrows.com/register). Simply provide your email, set a password, and follow the verification steps. If you already have an account, log in to access your dashboard.
  </Step>

  <Step title="Browse Available APIs and Select Your Desired One">
    Once logged in, navigate to the [Playground Page](https://app.zenrows.com/apis/catalog) under the Scraper APIs section. Here, you'll find a variety of APIs tailored for different scraping needs.

    Select the API that best suits your requirements to proceed with integration.

    <Frame>
      <img src="https://static.zenrows.com/content/catalog_page_aae87af483.png" style={{ borderRadius: '0.5rem' }} alt="Catalog Page" />
    </Frame>
  </Step>

  <Step title="Generate and Implement Your API Request Code">
    After selecting an API, configure the necessary parameters such as the target URL, request method, and any additional options required for your use case.

    Click the **"Create Code"** button to generate an API request code tailored to your selections. The system will provide a ready-to-use snippet in multiple programming languages.

    Copy the generated code and integrate it into your application to start extracting data seamlessly.

    <Frame>
      <img src="https://static.zenrows.com/content/Amazon_Scraper_API_Builder_6410e02f48.png" style={{ borderRadius: '0.5rem' }} alt="Amazon API builder page" />
    </Frame>
  </Step>
</Steps>

## How it Works

The core of the ZenRows API is the API Endpoint, which is structured based on the industry, target website, type of request, and query parameters. This modular approach allows you to extract data efficiently from various sources.

```bash theme={null}
https://<INDUSTRY>.api.zenrows.com/v1/targets/<WEBSITE>/<TYPE_OF_REQUEST>/<QUERY_ID_URL>?<YOUR_ZENROWS_API_KEY>
```

Each part of the URL serves a specific purpose:

* `<INDUSTRY>` The industry category (e.g., ecommerce, realestate, serp).
* `<WEBSITE>` The target website (e.g., amazon, idealista, google).
* `<TYPE_OF_REQUEST>`  The type of data you want (e.g., products, reviews, search).
* `<QUERY_ID_URL>` The unique identifier for the request, such as a product ID, property ID, or query.
* `<YOUR_ZENROWS_API_KEY>` Your personal API key for authentication and access.

Here's an example for Amazon Product Information API:

```bash theme={null}
https://ecommerce.api.zenrows.com/v1/targets/amazon/products/{asin}
```

Breaking it down:

* Industry: `ecommerce`
* Website: `amazon`
* Type of Request: `products`
* Query ID: `{asin}` (Amazon Standard Identification Number, used for product lookup)

### Customization with Additional Parameters

Depending on the website, you may include extra parameters to refine your request:

* `.tld` Specify the top-level domain (e.g., `.com`, `.co.uk`, `.de`).
* `country` Set the country code to retrieve localized data.
* `filters` Apply filters to extract specific data.

## API key

Your API Key is the gateway to the ZenRows Scraper APIs, functioning as both an authentication tool and an identifier for all your requests. Without it, you won't be able to access ZenRows' features or receive any scraped data.

You can easily [create your API Key](https://app.zenrows.com/register?p=free) by signing up for an account.

<Tip>Make sure to store your key securely and never share it publicly.</Tip>

## Frequently Asked Questions (FAQs)

<Accordion title="How do I authenticate my requests?">
  To authenticate requests, use your ZenRows API key. Replace `YOUR_ZENROWS_API_KEY` in the URL with your actual API key.
</Accordion>

<Accordion title="Can I regenerate my API key?">
  Yes, you can regenerate your API key from your settings page. Keep in mind that once regenerated, the old key will no longer be valid.
</Accordion>

<Accordion title="Is there a free trial available?">
  Yes, ZenRows offers a free tier so you can test the API before committing to a paid plan.
</Accordion>
