| name | brightdata-hello-world |
| description | Create a minimal working Bright Data example.
Use when starting a new Bright Data integration, testing your setup,
or learning basic Bright Data API patterns.
Trigger with phrases like "brightdata hello world", "brightdata example",
"brightdata quick start", "simple brightdata code".
|
| allowed-tools | Read, Write, Edit, Bash(npm:*), Bash(node:*) |
| version | 1.6.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","scraping","data","brightdata"] |
| compatibility | Designed for Claude Code |
Bright Data Hello World
Overview
Scrape a real webpage through Bright Data's Web Unlocker proxy. Web Unlocker handles CAPTCHAs, fingerprinting, and retries automatically — you send a normal HTTP request through the proxy endpoint at brd.superproxy.io:33335.
Prerequisites
- Completed
brightdata-install-auth setup
- Web Unlocker zone active in Bright Data control panel
brd-ca.crt SSL certificate downloaded
Instructions
Step 1: Scrape via Web Unlocker Proxy (Node.js)
import axios from 'axios';
import https from 'https';
import 'dotenv/config';
const { BRIGHTDATA_CUSTOMER_ID, BRIGHTDATA_ZONE, BRIGHTDATA_ZONE_PASSWORD } = process.env;
const proxy = {
host: 'brd.superproxy.io',
port: 33335,
auth: {
username: `brd-customer-${BRIGHTDATA_CUSTOMER_ID}-zone-${BRIGHTDATA_ZONE}`,
password: BRIGHTDATA_ZONE_PASSWORD!,
},
};
async function scrape(url: string) {
const response = await axios.get(url, {
proxy,
httpsAgent: new https.Agent({ rejectUnauthorized: }),
: ,
});
.();
.();
.(response..(, ));
response.;
}
().(.);