Universal AI GPT Scraper avatar
Universal AI GPT Scraper

Pricing

Pay per event

Go to Store
Universal AI GPT Scraper

Universal AI GPT Scraper

Developed by

Louis Deconinck

Maintained by Community

Transform any website into structured data with AI-powered extraction. This versatile tool combines advanced web scraping with intelligent content analysis to deliver clean, customized JSON output - perfect for automating data collection from any web source.

5.0 (1)

Pricing

Pay per event

2

Monthly users

24

Runs succeeded

>99%

Last modified

2 months ago

You can access the Universal AI GPT Scraper programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1import { ApifyClient } from 'apify-client';
2
3// Initialize the ApifyClient with your Apify API token
4// Replace the '<YOUR_API_TOKEN>' with your token
5const client = new ApifyClient({
6    token: '<YOUR_API_TOKEN>',
7});
8
9// Prepare Actor input
10const input = {
11    "urls": [
12        "https://apify.com/louisdeconinck/ai-gpt-scraper"
13    ],
14    "fields": [
15        {
16            "name": "name",
17            "description": "The name/title of the scraper tool",
18            "type": "string"
19        },
20        {
21            "name": "price",
22            "description": "The price per 1000 results, only the number",
23            "type": "number"
24        },
25        {
26            "name": "author",
27            "description": "The author or maintainer of the scraper",
28            "type": "string"
29        }
30    ],
31    "cssSelector": "main",
32    "predefinedModel": "google/gemini-2.0-flash-001",
33    "useCustomModel": false,
34    "proxyConfiguration": {
35        "useApifyProxy": true
36    }
37};
38
39// Run the Actor and wait for it to finish
40const run = await client.actor("louisdeconinck/ai-gpt-scraper").call(input);
41
42// Fetch and print Actor results from the run's dataset (if any)
43console.log('Results from dataset');
44console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
45const { items } = await client.dataset(run.defaultDatasetId).listItems();
46items.forEach((item) => {
47    console.dir(item);
48});
49
50// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

Universal AI GPT Scraper API in JavaScript

The Apify API client for JavaScript is the official library that allows you to use Universal AI GPT Scraper API in JavaScript or TypeScript, providing convenience functions and automatic retries on errors.

Install the apify-client

npm install apify-client

Other API clients include:

Pricing

Pricing model

Pay per event 

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Actor start

$0.050

One-time charge for initializing the servers.

Page processed

$0.001

Cost per web page processed and converted to structured data.

1,000 Gemini Flash 1.5 tokens

$0.001

Cost for processing a 1,000 tokens with the Google Gemini Flash 1.5 model.

1,000 Gemini Flash 2 tokens

$0.001

Cost for processing a 1,000 tokens with the Google Gemini Flash 2.0 model.

1,000 GPT-4o Mini tokens

$0.001

Cost for processing a 1,000 tokens with the Open AI GPT-4o Mini model.

1,000 Gemini Pro 1.5 tokens

$0.020

Cost for processing a 1,000 tokens with the Google Gemini Pro 1.5 model.

1,000 GPT-4o tokens

$0.040

Cost for processing a 1,000 tokens with the Open AI GPT-4o model.