Skip to main content
GET
/
api
/
v0
/
instances
/
balance
/
{id}
show deposit
curl --request GET \
  --url https://console.vast.ai/api/v0/instances/balance/{id}/ \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "refundable_deposit": 100,
  "total_discount": 10,
  "discount_months": 3
}

Documentation Index

Fetch the complete documentation index at: https://docs.vast.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Path Parameters

id
integer
required

The ID of the instance.

Response

Success response

success
boolean
Example:

true

refundable_deposit
number

The refundable deposit amount.

Example:

100

total_discount
number

The total discount applied.

Example:

10

discount_months
integer

The number of months the discount applies.

Example:

3