GET
/
zones
/
{zone_ids}
curl --request GET \
  --url https://api.bytio.com/v1/zones/{zone_ids} \
  --header 'X-API-KEY: <api-key>'
{
  "status": "ok",
  "info": {
    "current": 1,
    "allowed": 100
  },
  "zones": [
    {
      "zone_id": "1234ABCD",
      "name": "My zone",
      "network": "datacenter",
      "enabled": true,
      "alert": {
        "type": "dollars_per_day",
        "threshold": 500000.5,
        "action": "disable_zone",
        "last_triggered": "2023-11-07T05:31:56Z"
      },
      "billing_method": "per_gigabyte",
      "ip_type": "shared",
      "pool_size": 5000,
      "pool_size_actual": 5000,
      "exclusivity_type": "non_exclusive",
      "domains": [
        "<string>"
      ],
      "countries": [
        "<string>"
      ],
      "created_on": "2023-11-07T05:31:56Z",
      "last_updated": "2023-11-07T05:31:56Z",
      "provisioning_status": "provisioning",
      "has_standing_charges": true,
      "spend_this_month_cents": 123,
      "spend_today_cents": 123,
      "usage_this_month_bytes": 123,
      "usage_today_bytes": 123,
      "cost": {
        "per_gigabyte_cents": 123,
        "per_connection_cents_monthly": 123,
        "per_connection_count": 123,
        "per_connection_cents_monthly_total": 123,
        "ip_pool_count": 123,
        "ip_pool_per_ip_cents_monthly": 123,
        "ip_pool_cents_monthly_total": 123,
        "exclusivity_all_domains_per_ip_cents_monthly": 123,
        "exclusivity_all_domains_cents_monthly_total": 123,
        "exclusivity_per_domain_count": 123,
        "exclusivity_per_domain_per_ip_cents_monthly": 123,
        "exclusivity_per_domain_cents_monthly_total": 123,
        "standing_charges_cents_monthly": 123
      },
      "current_thoughput_bps": 123,
      "open_connections": 123
    }
  ]
}

Authorizations

X-API-KEY
string
header
required

Path Parameters

zone_ids
string
required

A comma-separated list of zone IDs to retrieve (up to 10 in total).

Maximum length: 1024

Response

200
application/json
Success
status
enum<string>
Available options:
ok
info
object
zones
object[]