Skip to main content
GET
/
v1
/
io-explorer
/
devices
/
{device_id}
/
details
Device Details
curl --request GET \
  --url https://api.io.solutions/v1/io-explorer/devices/{device_id}/details \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://api.io.solutions/v1/io-explorer/devices/{device_id}/details"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.io.solutions/v1/io-explorer/devices/{device_id}/details', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.io.solutions/v1/io-explorer/devices/{device_id}/details",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://api.io.solutions/v1/io-explorer/devices/{device_id}/details"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("Authorization", "Bearer <token>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://api.io.solutions/v1/io-explorer/devices/{device_id}/details")
.header("Authorization", "Bearer <token>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.io.solutions/v1/io-explorer/devices/{device_id}/details")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
{
  "data": {
    "base_tier_name": "Ultra High Speed",
    "brand_icon": "https://mxtfdkppxyflmmglullf.supabase.co/storage/v1/object/public/icons/nvidia.svg?t=2023-09-05T21%3A52%3A29.736Z",
    "device_id": "599ef4af-7fe6-44b5-aba3-25899bde2ab6",
    "down_percentage": 0,
    "download_speed_mbps": 2775.1,
    "downtime_by_date": {
      "2023-09-11": {
        "downtime": 281.508,
        "note": "down for 0 days and 0 hours and 4 minutes"
      },
      "2023-09-12": {
        "downtime": 12193.385,
        "note": "down for 0 days and 3 hours and 23 minutes"
      }
    },
    "hardware_name": "RTX A6000",
    "hardware_quantity": 2,
    "iso2": "CA",
    "jobs": [
      {
        "compute_minutes_hired": 300,
        "compute_minutes_served": 0,
        "earned": 0,
        "end_time": "2023-09-12 00:00:00",
        "for": "e242cd76-9e65-4de1-b3ec-1cb8b002b38d",
        "slashed": 0,
        "start_time": "2023-09-12 00:00:00",
        "status": "pending",
        "total_hire_rate": 10.8,
        "uptime_percent": 100
      },
      {
        "compute_minutes_hired": 300,
        "compute_minutes_served": 0,
        "earned": 0,
        "end_time": "2023-09-12 00:00:00",
        "for": "b168e413-3014-457e-b139-8450371b47c6",
        "slashed": 0,
        "start_time": "2023-09-12 00:00:00",
        "status": "pending",
        "total_hire_rate": 10.8,
        "uptime_percent": 100
      }
    ],
    "location_icon": "https://mxtfdkppxyflmmglullf.supabase.co/storage/v1/object/public/icons/canada.svg?t=2023-09-05T21%3A52%3A29.736Z",
    "location_name": "Canada",
    "security_soc2": false,
    "upload_speed_mbps": 1972.54
  },
  "status": "succeeded"
}
"Not found"
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

device_id
string
required

Unique identifier for your device.

Response

200

data
object
status
string
Example:

"succeeded"