Scrapingforge logo

Quick Start

Get started with ScrapingForge in 2 minutes. Sign up, get your API key, and make your first scraping request.

Get up and running with ScrapingForge in just a few minutes.

Step 1: Sign Up

Create a free account at dash.scrapingforge.com and get 1,500 free credits. No credit card required.

Step 2: Get Your API Key

  1. Log in to your dashboard
  2. Navigate to API Keys section
  3. Copy your API key (starts with sf_)
Keep your API key secure! Never commit it to version control or share it publicly.

Step 3: Make Your First Request

Using cURL

curl -X POST https://api.scrapingforge.com/api/v1/scraper \
  -H "Authorization: Bearer sf_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://example.com",
    "render_js": true
  }'

Using Python

import requests

api_key = "sf_your_api_key"
url = "https://api.scrapingforge.com/api/v1/scraper"

payload = {
    "url": "https://example.com",
    "render_js": True
}

headers = {
    "Authorization": f"Bearer {api_key}",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)
print(response.text)

Using Node.js

const axios = require('axios');

const apiKey = 'sf_your_api_key';
const url = 'https://api.scrapingforge.com/api/v1/scraper';

const payload = {
  url: 'https://example.com',
  render_js: true
};

axios.post(url, payload, {
  headers: {
    'Authorization': `Bearer ${apiKey}`,
    'Content-Type': 'application/json'
  }
})
.then(response => console.log(response.data))
.catch(error => console.error(error));

Understanding the Response

The API returns the scraped HTML content in the response body. You can then parse this HTML using your preferred parsing library.

Next Steps