Console
Discord
Guides
Instances
Serverless
API
Navigate through spaces
⌘
K
Vast.ai API
Introduction
Accounts
Autoscaler
Billing
Instances
Machines
Search
Team
Templates
CLI
CLI Commands
Overview & Quickstart
API Endpoints and Permission Categories
Python SDK Usage
Docs powered by
Archbee
Vast.ai API
Billing
Retrieve Earnings History
1min
Code examples
Curl
1
curl
--location
--globoff
'https://console.vast.ai/api/v0/users/{user_id}/machine-earnings/'
\
2
--header
'Accept: application/json'
\
3
--header
'Content-Type: application/json'
curl --location --globoff 'https://console.vast.ai/api/v0/users/{user_id}/machine-earnings/' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json'
Updated 08 Jan 2025
Did this page help you?
PREVIOUS
Retrieve billing history reports
NEXT
Search and retrieve invoices
Docs powered by
Archbee
TABLE OF CONTENTS
Code examples
Docs powered by
Archbee