> ## Documentation Index
> Fetch the complete documentation index at: https://vastai-80aa3a82-auto-cli-sdk-preview-pr-398.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# VastAI.show_earnings

Show earnings information.

## Signature

```python theme={null}
VastAI.show_earnings(
    quiet: bool = False,
    start_date: Optional[str] = None,
    end_date: Optional[str] = None,
    machine_id: Optional[int] = None
) -> list[dict]
```

## Parameters

<ParamField path="quiet" type="bool">
  only display numeric ids
</ParamField>

<ParamField path="start_date" type="Optional[str]">
  start date and time for report. Many formats accepted
</ParamField>

<ParamField path="end_date" type="Optional[str]">
  end date and time for report. Many formats accepted
</ParamField>

<ParamField path="machine_id" type="Optional[int]">
  Machine id (optional)
</ParamField>

## Returns

`list[dict]`

## Example

```python theme={null}
from vastai import VastAI

client = VastAI(api_key="YOUR_API_KEY")
result = client.show_earnings()
print(result)
```
