Vast.ai API
Billing

show earnings

1min
GET
https://console.vast.ai/api/v0/users/{user_id}/machine-earnings/
Production server

Retrieves the earnings history for a specified time range and optionally per machine.

CLI Usage: vastai show earnings [OPTIONS]

Authentication
BearerAuth
Path Parameters
user_id
*
Query Parameters
sday
eday
machid
last_days
Responses
200
Success response
summary
username
email
fullname
address1
address2
city
zip
country
taxinfo
current
per_machine
per_day
400
Bad Request - Invalid input syntax
success
error
msg
429
Too Many Requests
detail




Updated 21 Feb 2025
Did this page help you?