- 代理
- Proxy Manager
- Web Unlocker & SERP API
- Web Scraper IDE API
- Web Scraper API
- Scraping Shield
- 账户管理 API
- POST添加区域
- POST建立域名白名单/黑名单
- POST将 IP 列入黑名单
- POST建立 IP 白名单
- POST添加静态 IP
- POST在区域间迁移静态 IP
- POST刷新专用住宅 IP
- POST刷新静态 IP(数据中心/ISP)
- PUT更改账户状态
- GET账户状态
- GET活动区域
- GET可用的 IP/区域
- GET数据中心和 ISP 的可用 IP 数量
- GET获取国家
- GET获取国家/地区城市
- GET获取当前服务状态
- GET列出所有国家/地区的可用城市(静态网络)
- GET最近尝试使用您的区域的 IP
- GET可用数据中心和 ISP IP/区域
- GET区域的带宽统计信息
- GET所有区域的带宽统计信息
- GET区域总成本和带宽
- GET区域黑名单 IP 列表
- GET特定区域的白名单 IP 列表
- GET静态区域的实时状态
- GET总余额
- GET区域信息
- GET区域密码
- GET区域权限
- GET区域统计信息
- GET区域状态
- GET获取待更换代理
- DEL移除专用住宅 IP
- DEL从区域白名单/黑名单中移除域名
- DEL从区域黑名单中移除 IP
- DEL从区域白名单中移除 IP
- DEL移除静态 IP(数据中心/ISP)
- DEL移除区域
- POST切换 100% 正常运行时间
- POST开启/关闭区域
- POST
- 市场数据集 API
账户管理 API
添加区域
Add a new zone
POST
/
zone
curl "https://api.brightdata.com/zone" -H "Content-Type: application/json" -H "Authorization: Bearer API_KEY" -d "{'zone':{'name':'zone_name'},'plan':{'type':'static|resident','ips_type':'shared|dedicated|selective','ip_alloc_preset':'shared_block','bandwidth':'payperusage|unlimited','mobile':false,'city':false,'asn':false,'vip':false,'vips_type':'shared|vip|domain','vips':0,'domain_whitelist':'test.com fb.com','not_country':null,'vip_country':'any','exclusive_sec':0,'exclusive_type':'days','exclusive_num':0,'ips':0}}"
Warning: This API can modify your account settings, damage your operations or incur charges.
将您的 API 令牌粘贴到身份验证字段。要获得令牌,创建账户并了解如何生成令牌
添加计划示例
添加共享数据中心 - 按使用区域付费
curl "https://api.brightdata.com/区域" -H "Content-Type: application/json" -H "身份验证: 持有者 API_KEY" -d "{'区域':{'名称':'区域_名称'},'计划':{'类型':'static','ips_类型':'shared','ip_alloc_preset':'shared_block'}}"
添加共享数据中心 - 按使用区域付费
curl "https://api.brightdata.com/区域" -H "Content-Type: application/json" -H "身份验证: 持有者 API_KEY" -d "{'区域':{'名称':'区域_名称'},'计划':{'类型':'static','ips_类型':'shared','ip_alloc_preset':'shared_block'}}"
Add an ISP - Exclusive 区域
curl "https://api.brightdata.com/区域" -H "Content-Type: application/json" -H "身份验证: 持有者 API_KEY" -d "{'区域':{'名称':'区域_名称'},'计划':{'类型':'static','ips_类型':'dedicated','pool_ip_类型':'static_res','ips':3}}"
Add a 住宅 - Exclusive with Exclusive domain 'example.com' 区域
curl "https://api.brightdata.com/区域" -H "Content-Type: application/json" -H "身份验证: 持有者 API_KEY" -d "{'区域':{'名称':'区域_名称'},'计划':{'类型':'resident','VIP_类型':'domain','VIP':true,'VIP':3,'domain_whitelist':'example.com'}}"
Add a 移动设备 - Shared 区域
curl "https://api.brightdata.com/区域" -H "Content-Type: application/json" -H "身份验证: 持有者 API_KEY" -d "{'区域':{'名称':'区域_名称'},'计划':{'类型':'resident','移动设备':true,'VIP_类型':'shared'}}"
Add a Web Unlcoker Zone
curl "https://api.brightdata.com/区域" -H "Content-Type: application/json" -H "身份验证: 持有者 API_KEY" -d "{'区域':{'名称':'区域_名称'},'计划':{'类型':'unblocker'}}"
Add a SERP Zone
curl "https://api.brightdata.com/区域" -H "Content-Type: application/json" -H "身份验证: 持有者 API_KEY" -d "{'区域':{'名称':'区域_名称'},'计划':{'类型':'resident','serp':true}}"
curl "https://api.brightdata.com/zone" -H "Content-Type: application/json" -H "Authorization: Bearer API_KEY" -d "{'zone':{'name':'zone_name'},'plan':{'type':'static|resident','ips_type':'shared|dedicated|selective','ip_alloc_preset':'shared_block','bandwidth':'payperusage|unlimited','mobile':false,'city':false,'asn':false,'vip':false,'vips_type':'shared|vip|domain','vips':0,'domain_whitelist':'test.com fb.com','not_country':null,'vip_country':'any','exclusive_sec':0,'exclusive_type':'days','exclusive_num':0,'ips':0}}"
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Response
201
Zone added
此页面对您有帮助吗?
curl "https://api.brightdata.com/zone" -H "Content-Type: application/json" -H "Authorization: Bearer API_KEY" -d "{'zone':{'name':'zone_name'},'plan':{'type':'static|resident','ips_type':'shared|dedicated|selective','ip_alloc_preset':'shared_block','bandwidth':'payperusage|unlimited','mobile':false,'city':false,'asn':false,'vip':false,'vips_type':'shared|vip|domain','vips':0,'domain_whitelist':'test.com fb.com','not_country':null,'vip_country':'any','exclusive_sec':0,'exclusive_type':'days','exclusive_num':0,'ips':0}}"