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

# List Real-time Functions

> See which functions take real-time checks, how many are left this period and today

> [!NOTE]
>
> **Availability:** Enterprise plan only, on `https://app.gethuntd.com`, once real-time checks are turned on for your account.
> Other plans, and Enterprise accounts without real-time checks, receive `403 ENDPOINT_NOT_ON_PLAN`. Free: it doesn't use any checks.

A **function** is the real-time check for one source (one product, such as Gong). This endpoint
lists the functions turned on for your account and how many checks each one has left. Call it
before [Submit Real-time Check](https://docs.gethuntd.com/api-reference/enterprise-api/submit-realtime-check.md) to get the
slugs you can send and to see what fits.

```bash cURL theme={null}
curl -X GET "https://app.gethuntd.com/api/v1/public/realtime/functions" \
  -H "X-API-Key: hntd_abc12345_yoursecretkey"
```

```javascript JavaScript theme={null}
const response = await fetch('https://app.gethuntd.com/api/v1/public/realtime/functions', {
  headers: { 'X-API-Key': process.env.HUNTD_API_KEY },
});

const { functions } = await response.json();
const sources = functions.filter((f) => f.left > 0).map((f) => f.slug);
```

```json 200 theme={null}
{
  "success": true,
  "functions": [
    {
      "slug": "gong",
      "name": "Gong",
      "cap": 5000,
      "used": 1240,
      "left": 3760,
      "resets_at": "2026-11-07T23:53:42.910Z",
      "daily": 500,
      "used_today": 87
    }
  ]
}
```

```json 403 theme={null}
{
  "success": false,
  "error": {
    "code": "ENDPOINT_NOT_ON_PLAN",
    "message": "This endpoint is not available on your plan."
  }
}
```

## Overview

Returns every function turned on for real-time checks on your account. Put each function's `slug`
in the `sources` array when you call
[Submit Real-time Check](https://docs.gethuntd.com/api-reference/enterprise-api/submit-realtime-check.md).

Checks are counted per **30-day period**. The period starts on the date the source was turned on
for you and repeats every 30 days.

| Field | Meaning |
| - | - |
| `cap` | Checks allowed in the current 30-day period |
| `used` | Checks counted in this period, including answers reused from an earlier check |
| `left` | `cap - used`. A request needing more is refused with `429 QUOTA_EXCEEDED`. |
| `resets_at` | When the next 30-day period starts and `used` goes back to 0 |
| `daily` | Checks that can start per day. More are accepted and start on the next working day. |
| `used_today` | Checks started today (a check that is retried counts once, on the day it first started) |

The numbers are live. Call this endpoint before a large run to see what fits.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.