> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anchorbrowser.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Billing

> SDK reference for the Billing resource (TypeScript & Python)

## Get Billing Info

`GET /v1/billing` — getBilling

<CodeGroup>
  ```typescript TypeScript theme={null}
  import { client, Billing } from 'anchorbrowser';

  // ANCHORBROWSER_API_KEY is read from the environment by default;
  // set it explicitly like this:
  client.setConfig({ auth: () => 'your-api-key' });

  const result = await Billing.getBilling();
  console.log(result);
  ```

  ```python Python theme={null}
  from anchorbrowser import Anchorbrowser

  # ANCHORBROWSER_API_KEY is read from the environment by default;
  # set it explicitly with Anchorbrowser(api_key="your-api-key")
  client = Anchorbrowser()

  result = client.billing.get_billing()
  print(result)
  ```
</CodeGroup>
