> ## Documentation Index
> Fetch the complete documentation index at: https://similarweb-zp8zf.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# API Discovery Endpoints

This report will allow you to utilize our discovery endpoints to:

1. Get account credits
2. Discover data granularity, historical availability and available endpoints

<Tip>These endpoints are free of charge and will not consume your quota!</Tip>

**GET Account credits left**

Use this GET request to see how much of your data points quota you still have left for the given month. This endpoint is free of charge and will not consume your quota!

<CodeGroup>
  ```plain GET theme={null}
  https://api.similarweb.com/v3/batch/credits
  HEADERS {{API-KEY}}
  ```

  ```python Python theme={null}
  import requests

  url = "https://api.similarweb.com/v3/batch/credits"

  payload={}
  headers = {
    'api-key': '{{api_key}}'
  }

  response = requests.request("GET", url, headers=headers, data=payload)

  print(response.text)
  ```
</CodeGroup>

**GET User credits left**

Returns the remaining data credits at a user level. Only compatible for users with an allocated allowance.

<CodeGroup>
  ```plain GET theme={null}
  https://api.similarweb.com/v3/batch/user-credits
  HEADERS {{API-KEY}}
  ```

  ```python Python theme={null}
  import requests

  url = "https://api.similarweb.com/v3/batch/user-credits"

  payload={}
  headers = {
    'api-key': '{{api-key}}'
  }

  response = requests.request("GET", url, headers=headers, data=payload)

  print(response.text)
  ```
</CodeGroup>

**Get Describe Virtual Tables**

This endpoint will describe all the available virtual tables and their schema including their metric names and types.

<CodeGroup>
  ```plain GET theme={null}
  https://api.similarweb.com/v3/batch/tables/describe
  HEADERS {{API-KEY}}
  ```

  ```python Python theme={null}
  import requests

  url = "https://api.similarweb.com/v3/batch/tables/describe"

  payload={}
  headers = {}

  response = requests.request("GET", url, headers=headers, data=payload)

  print(response.text)
  ```
</CodeGroup>
