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

# Quickstart

> Start scraping with Scrapengine in minutes

## Get started in three steps

Start extracting data from websites with Scrapengine's powerful API.

### Step 1: Get your API key

<Steps>
  <Step title="Sign up for Scrapengine">
    Visit the [Scrapengine dashboard](https://app.scrapengine.io) to create your account. You'll receive a free tier with 100 requests per hour.
  </Step>

  <Step title="Copy your API key">
    Copy your API key from the dashboard and store it securely. You'll use this in the Authorization header for all API requests.
    <Tip>Keep your API key private and never commit it to version control.</Tip>
  </Step>
</Steps>

### Step 2: Make your first request

<Tabs>
  <Tab title="Basic Scraping">
    Scrape any website and get the HTML content:

    <CodeGroup>
      ```bash cURL theme={null}
      curl -X POST "https://api.scrapengine.io/api/v1/scrape" \
        -H "Authorization: Bearer YOUR_API_KEY" \
        -H "Content-Type: application/json" \
        -d '{"url": "https://example.com", "render": true}'
      ```

      ```javascript JavaScript theme={null}
      const response = await fetch("https://api.scrapengine.io/api/v1/scrape", {
        method: "POST",
        headers: {
          Authorization: "Bearer YOUR_API_KEY",
          "Content-Type": "application/json",
        },
        body: JSON.stringify({
          url: "https://example.com",
          render: true,
        }),
      });

      const html = await response.text();
      console.log(html);
      ```

      ```python Python theme={null}
      import requests

      response = requests.post(
          "https://api.scrapengine.io/api/v1/scrape",
          headers={"Authorization": "Bearer YOUR_API_KEY"},
          json={"url": "https://example.com", "render": True}
      )
      print(response.text)
      ```
    </CodeGroup>
  </Tab>

  <Tab title="AI Extraction">
    Extract structured data using AI - no parsing code needed:

    <CodeGroup>
      ```bash cURL theme={null}
      curl -X POST "https://api.scrapengine.io/api/v1/scrape" \
        -H "Authorization: Bearer YOUR_API_KEY" \
        -H "Content-Type: application/json" \
        -d '{
          "url": "https://example.com/product",
          "render": true,
          "extract": {
            "schema": {
              "type": "object",
              "properties": {
                "title": {"type": "string"},
                "price": {"type": "number"},
                "description": {"type": "string"}
              }
            }
          }
        }'
      ```

      ```javascript JavaScript theme={null}
      const response = await fetch("https://api.scrapengine.io/api/v1/scrape", {
        method: "POST",
        headers: {
          Authorization: "Bearer YOUR_API_KEY",
          "Content-Type": "application/json",
        },
        body: JSON.stringify({
          url: "https://example.com/product",
          render: true,
          extract: {
            schema: {
              type: "object",
              properties: {
                title: { type: "string" },
                price: { type: "number" },
                description: { type: "string" },
              },
            },
          },
        }),
      });

      const data = await response.json();
      console.log(data);
      ```

      ```python Python theme={null}
      import requests

      response = requests.post(
          "https://api.scrapengine.io/api/v1/scrape",
          headers={"Authorization": "Bearer YOUR_API_KEY"},
          json={
              "url": "https://example.com/product",
              "render": True,
              "extract": {
                  "schema": {
                      "type": "object",
                      "properties": {
                          "title": {"type": "string"},
                          "price": {"type": "number"},
                          "description": {"type": "string"}
                      }
                  }
              }
          }
      )
      print(response.json())
      ```
    </CodeGroup>
  </Tab>

  <Tab title="Google Search">
    Get parsed Google search results:

    <CodeGroup>
      ```bash cURL theme={null}
      curl -X GET "https://api.scrapengine.io/api/v1/google/search?q=web%20scraping&num=10" \
        -H "Authorization: Bearer YOUR_API_KEY"
      ```

      ```javascript JavaScript theme={null}
      const params = new URLSearchParams({ q: "web scraping", num: "10" });
      const response = await fetch(
        `https://api.scrapengine.io/api/v1/google/search?${params}`,
        {
          headers: { Authorization: "Bearer YOUR_API_KEY" },
        }
      );

      const results = await response.json();
      console.log(results);
      ```

      ```python Python theme={null}
      import requests

      response = requests.get(
          "https://api.scrapengine.io/api/v1/google/search",
          headers={"Authorization": "Bearer YOUR_API_KEY"},
          params={"q": "web scraping", "num": 10}
      )
      print(response.json())
      ```
    </CodeGroup>
  </Tab>

  <Tab title="Amazon Products">
    Search Amazon for product data:

    <CodeGroup>
      ```bash cURL theme={null}
      curl -X GET "https://api.scrapengine.io/api/v1/amazon/search?q=headphones&page=1" \
        -H "Authorization: Bearer YOUR_API_KEY"
      ```

      ```javascript JavaScript theme={null}
      const params = new URLSearchParams({ q: "headphones", page: "1" });
      const response = await fetch(
        `https://api.scrapengine.io/api/v1/amazon/search?${params}`,
        {
          headers: { Authorization: "Bearer YOUR_API_KEY" },
        }
      );

      const products = await response.json();
      console.log(products);
      ```

      ```python Python theme={null}
      import requests

      response = requests.get(
          "https://api.scrapengine.io/api/v1/amazon/search",
          headers={"Authorization": "Bearer YOUR_API_KEY"},
          params={"q": "headphones", "page": 1}
      )
      print(response.json())
      ```
    </CodeGroup>
  </Tab>
</Tabs>

### Step 3: Explore the APIs

<CardGroup cols={2}>
  <Card title="Web Scraping" icon="shield-halved" href="/api-reference/endpoint/scrape">
    Scrape any website with anti-bot bypass and AI extraction
  </Card>

  <Card title="Google Search" icon="magnifying-glass" href="/api-reference/endpoint/google-search">
    Get parsed SERP data with organic results and ads
  </Card>

  <Card title="Amazon Search" icon="cart-shopping" href="/api-reference/endpoint/amazon-search">
    Product search with prices, ratings, and reviews
  </Card>

  <Card title="Bing Search" icon="globe" href="/api-reference/endpoint/bing-search">
    Bing search results with web pages and news
  </Card>
</CardGroup>

## Common use cases

<CardGroup cols={2}>
  <Card title="Price Monitoring" icon="tag" href="/api-reference/endpoint/amazon-search">
    Track product prices on Amazon and Lazada across regions.
  </Card>

  <Card title="SEO & SERP Tracking" icon="chart-line" href="/api-reference/endpoint/google-search">
    Monitor keyword rankings and competitor visibility.
  </Card>

  <Card title="Lead Generation" icon="users" href="/api-reference/endpoint/scrape">
    Extract contact information using AI-powered extraction.
  </Card>

  <Card title="Market Research" icon="magnifying-glass-chart" href="/api-reference/endpoint/google-search">
    Analyze search trends and product demand.
  </Card>
</CardGroup>

<Note>
  **Need help?** Check out our [API reference](/api-reference/introduction) or contact [support](mailto:sales@scrapengine.io).
</Note>
