v1

latestOpenAPI 3.1.02026-07-13897404.3 KB
Billing

show earnings

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

CLI Usage: vastai show earnings [options]

get/api/v0/users/{user_id}/machine-earnings/

Path parameters

user_idinteger required

The ID of the user.

Query parameters

sdayinteger

Start day for the earnings report.

edayinteger

End day for the earnings report.

machidinteger

Optional machine ID to filter earnings.

last_daysinteger

Number of days to look back from today.

Response

Success response

usernamestring
emailstring
fullnamestring
address1string
address2string
citystring
zipstring
countrystring
taxinfostring