为你的 AI 解锁整个 Web
Bright Data 让你免去底层繁琐工作,直接获得可用于训练的数据与无阻碍的实时网页访问。
支持支付宝等多种支付方式
值得信赖 全球 超20000 位客户
全球 超20000 位客户信赖
支持整个 AI 生命周期
fetch('https://api.brightdata.com/request', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN', // API key
'Content-Type': 'application/json'
},
body: JSON.stringify({
zone: 'web_unlocker1', // zone
url: 'https://geo.brdtest.com/welcome.txt', // target URL
format: 'json'
})
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
import requests
response = requests.post(
'https://api.brightdata.com/request',
headers={
'Authorization': 'Bearer YOUR_API_KEY', # API key
'Content-Type': 'application/json'
},
json={
'zone': 'web_unlocker1', # Zone
'url': 'https://geo.brdtest.com/welcome.txt', # Your URL
'format': 'json'
})
print(response.json())
{
"general": {
"search_engine": "google",
"query": "pizza",
"results_cnt": 2150000000,
"search_time": 0.5,
"language": "en",
"location": "New York",
"mobile": false,
"basic_view": false,
"search_type": "text",
"page_title": "pizza - Google Search",
"timestamp": "2025-05-05T12:50:45.596Z"
}
}