Account Management API
Amount of available Datacenter and ISP IPs
- Proxy
- Proxy Manager
- Web Unlocker & SERP API
- Web Scraper IDE API
- Scraping Shield
- Account Management API
- POSTAdd a Zone
- POSTWhitelist/Blacklist Domain(s)
- POSTBlacklist IP(s)
- POSTWhitelist IP(s)
- Add Static IP(s)
- Migrate Static IPs between zones
- Refresh dedicated residential IPs
- Refresh Static IPs (Datacenter/ISP)
- Change Account Status
- GETAccount status
- GETActive Zones
- GETAvailable IPs/Zone
- Available Datacenter & ISP IPs count
- Get country cities
- Get current service status
- List all available country's cities (static network)
- Recent IPs attempting to use your Zone
- Available Datacenter & ISP IPs/Zone
- Bandwidth stats for a zone
- Bandwidth stats for all your zones
- Total cost & bandwidht for a zone
- List of blacklisted IPs for a zone
- List of whitelisted IPs for a zone
- Live status of Static Zone
- Total Balance
- GETZone info
- GETZone Password
- GETZone Permission
- Zone Statistics
- GETZone status
- Remove dedicated residential IPs
- Remove domain from Zone whitelist/blacklist
- Remove IP from Zone blacklist
- Remove IP from Zone whitelist
- Remove Static IPs (Datacenter/ISP)
- Remove a Zone
- POSTSwitch 100% uptime
- Turn on/off Zone
- POST
- Marketplace Dataset API
Account Management API
Amount of available Datacenter and ISP IPs
API Endpoint: GET
/api/zone/count_available_ips
zone
string
name of the Zone
plan
JSON
pool_ip_type
string
default: "static_res"use in case you want to get the amount of ISP IPs available, the default amount for that API endpoint is data center peer IPs.
ips_type
string
type of the IPs
value | description |
---|---|
shared | For shared |
selective | For selective |
dedicated | For dedicated |
when ips_type=selective
, domain_whitelist
is required
country
string
IPs location country
country_city
string
defines the city location of the IPs
city
boolean
Requred with country_city
parameter
domain_whitelist
string
Space separated list of domains
for [curl] the spaces should be urlencoded :
d1.com%20d2.com
geo_db
JSON
turns on/off using of the IP`s location databases
maxmind
boolean
default: "true"use MaxMind IP location DB
dbip
boolean
default: "true"use DB-IP IP location DB
google
boolean
default: "true"use Google IP location DB
ip2location
boolean
default: "true"use IP2Location IP location DB
ipcn
boolean
default: "true"use ip.cn IP location DB
- Available IPs for current Zone plan:
curl "https://api.brightdata.com/count_available_ips?zone=ZONE" -H "Authorization: Bearer API_TOKEN"
- Abstract plan, dedicated IPs:
dedicated IPs
curl "https://api.brightdata.com/count_available_ips?plan=\{\"ips_type\":\"dedicated\"\}" -H "Authorization: Bearer API_TOKEN"
- Abstract plan, shared IPs located in United States:
curl "https://api.brightdata.com/count_available_ips?plan=\{\"country\":\"us\",\"ips_type\":\"shared\"\}" -H "Authorization: Bearer API_TOKEN"
- Abstract plan, dedicated ips located in United States:
curl "https://api.brightdata.com/count_available_ips?plan=\{\"country\":\"us\",\"ips_type\":\"dedicated\"\}" -H "Authorization: Bearer API_TOKEN"
- Abstract plan, shared IPs located in United States, Denver:
curl "https://api.brightdata.com/count_available_ips?plan=\{\"ips_type\":\"shared\",\"country_city\":\"us-denver\",\"city\":true\}" -H "Authorization: Bearer API_TOKEN"
- Abstract plan, shared IPs located in US, exclusive for domains: amazon.com, fb.com:
curl "https://api.brightdata.com/count_available_ips?plan=\{\"ips_type\":\"selective\",\"country\":\"us\",\"domain_whitelist\":\"amazon.com%20fb.com\"\}" -H "Authorization: Bearer API_TOKEN"
- Abstract plan, shared IPs located in US, geo IP databases: should persist in both maxmind and dbip:
curl "https://api.brightdata.com/count_available_ips?plan=\{\"ips_type\":\"shared\",\"country\":\"us\",\"geo_db\":\{\"maxmind\":true,\"dbip\":true\}\}" -H "Authorization: Bearer API_TOKEN"
Was this page helpful?