Web Scraper API.
Built for JavaScript-heavy sites.

Just describe your goal in plain English. The AI agent opens the browser, navigates, and returns clean JSON. Works on JavaScript-heavy sites, SPAs, logins, and infinite scroll. Use via Make.com, n8n, or REST API.

POST /ai-scraper
$ curl -X POST https://e.customjs.io/ai-scraper \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{
    "input": {
      "goal": "Open apple.com/shop/buy-mac/macbook-air,
               find the cheapest MacBook Air and return
               name, price and shipping date as JSON."
    }
  }'

# 200 OK
{
  "name": "MacBook Air 13″ M4",
  "price": "$999.00",
  "shipping_date": "Dec 12 – Dec 17"
}

// live demo

Agentic scraping playground

Describe a goal in plain English. The AI agent navigates the browser and returns structured JSON. No selectors, no scripts, no proxies to manage.

result

The agent's result will appear here.

Agent timeline
No steps yet.

// api

Two ways to use it

Authenticate with your API key and choose the mode that fits your use case.

Agentic Mode

Just send a prompt. Include the URL in your text — no separate fields needed.

POST https://e.customjs.io/ai-scraper
x-api-key: <your-key>

{
  "input": {
    "goal": "Go to example.com/products
             and extract all product
             names and prices"
  }
}

Command Mode

Define exact browser steps and extraction selectors — full control, no AI cost per step.

POST https://e.customjs.io/ai-scraper
x-api-key: <your-key>

{
  "input": {
    "url": "https://example.com",
    "commands": [
      { "action": "click",
        "selector": "#load-more" },
      { "action": "extract",
        "selector": ".price",
        "multiple": true,
        "as": "prices" }
    ],
    "returnType": "json"
  }
}

// features

AI-powered JavaScript web scraping

Prompt-first scraping — backed by a real headless browser that handles SPAs, dynamic content, and modern web apps.

Plain-English Prompts

Describe what you want — the AI agent figures out clicks, scrolls, and selectors and returns structured JSON.

JavaScript Rendering

Full browser rendering for SPAs and dynamic sites. Get the HTML users actually see.

Interactive Actions

Click buttons, fill forms, and handle infinite scroll before extracting data.

Element Selection

Or skip the AI: target specific CSS selectors to extract only the data you need.

Clean HTML or JSON

Get fully-rendered HTML for your own parser, or structured JSON straight from the agent.

Reliable & Secure

Enterprise-grade reliability. Your data is processed securely and never stored.

// tutorial

Video Guide

Watch how to use the Web Scraping API in action

// use cases

Built for data extraction

From price monitoring to lead generation, our API handles it all.

Price Monitoring

Track competitor prices automatically. Get notified of changes and stay competitive.

Lead Generation

Extract contact information and business data from directories and listings.

Market Research

Gather product reviews, ratings, and sentiment data for analysis.

Content Aggregation

Collect news articles, blog posts, or product listings from multiple sources.

Web Scraper API — FAQ

Ready to extract data?

Start scraping websites in minutes. 600 free requests per month.