> ## 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.

# vastai show earnings

Get machine earning history reports

## Usage

```bash theme={null}
vastai show earnings [OPTIONS]
```

## Options

<ParamField path="-q" type="boolean">
  only display numeric ids (alias: `--quiet`)
</ParamField>

<ParamField path="-s" type="string">
  start date and time for report. Many formats accepted (alias: `--start_date`)
</ParamField>

<ParamField path="-e" type="string">
  end date and time for report. Many formats accepted  (alias: `--end_date`)
</ParamField>

<ParamField path="-m" type="integer">
  Machine id (optional) (alias: `--machine_id`)
</ParamField>

## Examples

```bash theme={null}
vastai show earnings
```

## Global Options

The following options are available for all commands:

| Option          | Description                                           |
| --------------- | ----------------------------------------------------- |
| `--url URL`     | Server REST API URL                                   |
| `--retry N`     | Retry limit                                           |
| `--raw`         | Output machine-readable JSON                          |
| `--explain`     | Verbose explanation of API calls                      |
| `--api-key KEY` | API key (defaults to `~/.config/vastai/vast_api_key`) |
