Skip to main content
GET
/
api
/
v0
/
metrics
/
gpu
/
history
/
show gpu trends
curl --request GET \
  --url https://console.vast.ai/api/v0/metrics/gpu/history/ \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "gpus": {}
}

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Query Parameters

gpu_name
string

Comma-separated GPU names (e.g. "RTX 4090, H100_SXM") or "all". Defaults to RTX 5090, 4090, and 3090.

Example:

"RTX 4090"

verified
enum<string>
default:yes

Filter by verification status

Available options:
yes,
no,
all
hosting_type
enum<string>
default:all

Filter by hosting type

Available options:
all,
secure_cloud,
community
num_gpus
string
default:all

GPU count bucket or "all"

start
integer

Unix timestamp for range start

end
integer

Unix timestamp for range end

step
integer

Seconds between data points (e.g. 3600 for hourly)

Response

Success response

success
boolean
Example:

true

gpus
object

Keyed by GPU name