Bright Data API via curl. Use this skill for account management, usage monitoring, and billing information.
/plugin marketplace add vm0-ai/api0/plugin install api0@api0This skill inherits all available tools. When active, it can use any tool Claude has access to.
Use the Bright Data API via direct curl calls for account management, usage monitoring, and billing information.
Official docs:
https://docs.brightdata.com/
Use this skill when you need to:
export BRIGHTDATA_API_KEY="your-api-key"
Important: When using
$VARin a command that pipes to another command, wrap the command containing$VARinbash -c '...'. Due to a Claude Code bug, environment variables are silently cleared when pipes are used directly.bash -c 'curl -s "https://api.example.com" -H "Authorization: Bearer $API_KEY"' | jq .
All examples below assume you have BRIGHTDATA_API_KEY set.
Authentication uses Bearer token in the Authorization header.
Verify your API key and account status:
bash -c 'curl -s "https://api.brightdata.com/status" -H "Authorization: Bearer ${BRIGHTDATA_API_KEY}"' | jq .
Response:
{
"status": "active",
"customer": "hl_xxxxxxxx",
"can_make_requests": true,
"ip": "x.x.x.x"
}
List all active zones in your account:
bash -c 'curl -s "https://api.brightdata.com/zone/get_active_zones" -H "Authorization: Bearer ${BRIGHTDATA_API_KEY}"' | jq '.[] | {name, type}
Get details about a specific zone:
ZONE_NAME="your-zone-name"
bash -c 'curl -s "https://api.brightdata.com/zone?zone=${ZONE_NAME}" -H "Authorization: Bearer ${BRIGHTDATA_API_KEY}"' | jq .
Get bandwidth usage statistics:
bash -c 'curl -s "https://api.brightdata.com/customer/bw" -H "Authorization: Bearer ${BRIGHTDATA_API_KEY}"' | jq .
{
"status": "active",
"customer": "hl_xxxxxxxx",
"can_make_requests": true,
"ip": "x.x.x.x"
}
[
{
"name": "zone_name",
"type": "serp"
}
]