- 代理
- Proxy Manager
- Web Unlocker & SERP API
- Web Scraper IDE API
- Scraping Shield
- 账户管理 API
- POST添加区域
- POST建立域名白名单/黑名单
- POST将 IP 列入黑名单
- POST建立 IP 白名单
- POST添加静态 IP
- POST刷新专用住宅 IP
- POST刷新静态 IP(数据中心/ISP)
- PUT更改账户状态
- GET账户状态
- GET活动区域
- GET可用的 IP/区域
- GET获取国家/地区城市
- GET获取当前服务状态
- GET列出所有国家/地区的可用城市(静态网络)
- GET最近尝试使用您的区域的 IP
- GET可用数据中心和 ISP IP/区域
- GET区域的带宽统计信息
- GET所有区域的带宽统计信息
- GET区域总成本和带宽
- GET区域黑名单 IP 列表
- GET静态区域的实时状态
- GET总余额
- GET区域密码
- GET区域权限
- GET区域统计信息
- GET区域状态
- DEL移除专用住宅 IP
- DEL从区域白名单/黑名单中移除域名
- DEL从区域黑名单中移除 IP
- DEL从区域白名单中移除 IP
- DEL移除静态 IP(数据中心/ISP)
- DEL移除区域
- POST切换 100% 正常运行时间
- POST开启/关闭区域
- POST
添加区域
Add a new zone
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The name of the zone
Zone Type, e.g. serp, isp, mobile, etc.
type of zone
Space separated list of whitelisted domains
domain_whitelist
is required for selective
bandwidth
: for bandwidth unlimited
: enable unlimited bandwidth
To set a zone with Shared - Pay per usage type
Number of static IPs to allocate to the zone
Specify which country IP to allocate to the zone, specify this parameter when ips_type=static
Country code followed by city (e.g. “se-stockholm”) - specify which City IP to allocate to the zone, specify this parameter when ips_type=static
true
when adding a Mobile proxy zone, type value must be resident
true
when adding a SERP API zone
true
when enabling City targeting permission
true
when enabling ASN targeting permission
true
when allocating gIP
(group of IPs)
specify this parameter when adding a Residential or Mobile zone
Number of gIP
(group of IPs) to allocate to the zone
Specify which country IP to allocate to the zone, specify this parameter when ips_type=resident
and vip=true
Country code followed by city (e.g. “se-stockholm”) - specify which City IP to allocate to the zone, specify this parameter when ips_type=resident
and vip=true
将您的 API 令牌粘贴到身份验证字段。要获得令牌,创建账户并了解如何生成令牌
添加计划示例
curl "https://api.brightdata.com/区域" -H "Content-Type: application/json" -H "身份验证: 持有者 API_TOKEN" -d "{'区域':{'名称':'区域_名称'},'计划':{'类型':'static','ips_类型':'shared','ip_alloc_preset':'shared_block'}}"
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
type of zone
static
, resident
, unblocker
Space separated list of whitelisted domains
domain_whitelist
is required for selective
shared
, dedicated
, selective
bandwidth
: for bandwidth unlimited
: enable unlimited bandwidth
bandwidth
, unlimited
To set a zone with Shared - Pay per usage type
shared_block
, shared_res_block
Number of static IPs to allocate to the zone
Specify which country IP to allocate to the zone, specify this parameter when ips_type=static
Country code followed by city (e.g. “se-stockholm”) - specify which City IP to allocate to the zone, specify this parameter when ips_type=static
true
when adding a Mobile proxy zone, type value must be resident
true
when adding a SERP API zone
true
when enabling City targeting permission
true
when enabling ASN targeting permission
true
when allocating gIP
(group of IPs)
specify this parameter when adding a Residential or Mobile zone
shared
, domain
Number of gIP
(group of IPs) to allocate to the zone
Specify which country IP to allocate to the zone, specify this parameter when ips_type=resident
and vip=true
Country code followed by city (e.g. “se-stockholm”) - specify which City IP to allocate to the zone, specify this parameter when ips_type=resident
and vip=true
Was this page helpful?