Search
Skills web-data
Install
npx claude-code-templates@latest --skill web-data/search Content
Bright Data - Google Search
Search Google and get structured JSON results using Bright Data's SERP API.
Setup
1. Get your API Key: Get a key from Bright Data Dashboard.
2. Create a Web Unlocker zone: Create a zone at brightdata.com/cp by clicking "Add" (top-right), selecting "Unlocker zone".
3. Set environment variables:
bash
export BRIGHTDATA_API_KEY="your-api-key"
export BRIGHTDATA_UNLOCKER_ZONE="your-zone-name"Usage
bash
bash scripts/search.sh "query" [cursor]Parameters:
query(required): Search termcursor(optional): Page number for pagination (0-indexed, default: 0)
Examples:
bash
# Basic search
bash scripts/search.sh "climate change"
# Get page 2 of results
bash scripts/search.sh "climate change" 1Output Format
Returns JSON with structured organic array:
json
{
"organic": [
{
"link": "https://example.com/article",
"title": "Article Title",
"description": "Brief description of the page..."
}
]
}Dependencies
curl- For API requestsjq- For JSON processing