Api - Bytesized Hosting Wiki

## Bytesized API

The Bytesized read-only API can be reached via a JSON or XML request to https://bytesized-hosting.com/api/v1/

Supply your api_key as parameter.

#### /user.json

A full request should look like https://bytesized-hosting.com/api/v1/user.json?api_key=myapikeyhere

Attribute | Type | Example
--- | --- | ---
login| string | Animazing
email| string | [email protected]
current_balance| string | 13.00
number_of_active_accounts | integer| 2



#### /accounts.json

A full request to Accounts should look like https://bytesized-hosting.com/api/v1/accounts.json?api_key=myapikeyhere

Attribute | Type | Example | Notes
--- | --- | --- | ---
bandwidth_quota | integer | 2808587 | Bandwidth used in bytes
disk_quota | integer | 1808587 | Used disk space in KB
memory_usage | integer | 1469544 | Memory usage in KB
paid_till | datetime | 2017-02-16T00:00:00+01:00
login_password | string| reallynotmypassword
server_name | string | priapus
disk_quota_percentage | string | 0.001%
pretty_disk_quota | string | 1000 KB / 150 GB
pretty_bw_quota | string | 48.1 KB / 6.0 TB
total_bandwidth | float | 1.0 | Allowed bandwidth in TB
total_storage | float | 500 | Allowed storage in MB



Last Author Contributors Versions Last update
Pete None 16 Mon, 06 Jan 2025 07:25:16 +0100