
Universal AI GPT Scraper
Pricing
Pay per event

Universal AI GPT Scraper
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 (3)
Pricing
Pay per event
5
Total users
73
Monthly users
18
Runs succeeded
98%
Last modified
4 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 token4// Replace the '<YOUR_API_TOKEN>' with your token5const client = new ApifyClient({6 token: '<YOUR_API_TOKEN>',7});8
9// Prepare Actor input10const 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": true36 }37};38
39// Run the Actor and wait for it to finish40const 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: