> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.meetstream.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.meetstream.ai/_mcp/server.

# Get Balance

GET https://api.meetstream.ai/api/v1/billing/balance

Rolling out: available when it is enabled for your account. Until then the call returns `404`, and your balance is on the dashboard Billing page (https://app.meetstream.ai/billing). Read the prepaid balance of the account that owns the API key. Read only: it does not change the balance. Prepaid (pay-as-you-go) accounts get the balance in US dollars as a string with two decimals. Invoice accounts have no prepaid balance, so `balance_usd` is `null`. To add credit, go to https://app.meetstream.ai/billing.

Reference: https://docs.meetstream.ai/api-reference/api-endpoints/billing/get-balance

## Authentication

- `Authorization` header (required) (prefixed with ` Token  `) — Format: Token \<your\_api\_key>

## Response

### 200

The balance of the account that owns the API key.

- `customer_type` (string, optional) — `pay_as_you_go` for a prepaid account, `invoice` for an invoice account.
- `balance_usd` (string, optional, nullable) — Prepaid balance in US dollars, with two decimals. `null` for an invoice account.
- `currency` (string, optional)

## Errors

### 403 Forbidden Error

The credential is not an API key or a user sign-in, or the key is missing or not valid.

- `message` (string, optional)

### 404 Not Found Error

The endpoint is not enabled for your account yet (rolling out), or the account was not found. Read the balance on the dashboard Billing page.

- `message` (string, optional)

### 500 Internal Server Error

Temporary error. Try again.

- `message` (string, optional)

## Examples

### Prepaid account

**Response**

```json
{
  "customer_type": "pay_as_you_go",
  "balance_usd": "12.40",
  "currency": "USD"
}
```

**SDK Code**

```python Prepaid account
import requests

url = "https://api.meetstream.ai/api/v1/billing/balance"

headers = {"Authorization": "Token <apiKey>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript Prepaid account
const url = 'https://api.meetstream.ai/api/v1/billing/balance';
const options = {method: 'GET', headers: {Authorization: 'Token <apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Prepaid account
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.meetstream.ai/api/v1/billing/balance"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Token <apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Prepaid account
require 'uri'
require 'net/http'

url = URI("https://api.meetstream.ai/api/v1/billing/balance")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Token <apiKey>'

response = http.request(request)
puts response.read_body
```

```java Prepaid account
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.meetstream.ai/api/v1/billing/balance")
  .header("Authorization", "Token <apiKey>")
  .asString();
```

```php Prepaid account
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.meetstream.ai/api/v1/billing/balance', [
  'headers' => [
    'Authorization' => 'Token <apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp Prepaid account
using RestSharp;

var client = new RestClient("https://api.meetstream.ai/api/v1/billing/balance");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Token <apiKey>");
IRestResponse response = client.Execute(request);
```

```swift Prepaid account
import Foundation

let headers = ["Authorization": "Token <apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.meetstream.ai/api/v1/billing/balance")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### Invoice account

**Response**

```json
{
  "customer_type": "invoice",
  "balance_usd": null,
  "currency": "USD"
}
```

**SDK Code**

```python Invoice account
import requests

url = "https://api.meetstream.ai/api/v1/billing/balance"

headers = {"Authorization": "Token <apiKey>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript Invoice account
const url = 'https://api.meetstream.ai/api/v1/billing/balance';
const options = {method: 'GET', headers: {Authorization: 'Token <apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Invoice account
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.meetstream.ai/api/v1/billing/balance"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Token <apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Invoice account
require 'uri'
require 'net/http'

url = URI("https://api.meetstream.ai/api/v1/billing/balance")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Token <apiKey>'

response = http.request(request)
puts response.read_body
```

```java Invoice account
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.meetstream.ai/api/v1/billing/balance")
  .header("Authorization", "Token <apiKey>")
  .asString();
```

```php Invoice account
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.meetstream.ai/api/v1/billing/balance', [
  'headers' => [
    'Authorization' => 'Token <apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp Invoice account
using RestSharp;

var client = new RestClient("https://api.meetstream.ai/api/v1/billing/balance");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Token <apiKey>");
IRestResponse response = client.Execute(request);
```

```swift Invoice account
import Foundation

let headers = ["Authorization": "Token <apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.meetstream.ai/api/v1/billing/balance")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```