# Telegram Number & Ban Status Checker — TG Validator (`tgvalidator/tgvalidator-telegram-number-checker`) Actor

Check Telegram registration and ban status for phone lists. Export per-number JSON or CSV with your own TG Validator API key.

- **URL**: https://apify.com/tgvalidator/tgvalidator-telegram-number-checker.md
- **Developed by:** [TgValidator](https://apify.com/tgvalidator) (community)
- **Categories:** Business
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Telegram Number & Ban Status Checker — TG Validator

Review Telegram registration and ban status for phone numbers in authorized contact records. This Actor connects Apify to [TG Validator](https://tgvalidator.com/) using **your own API key**.

**Get started:** [Create a TG Validator account](https://tgvalidator.com/register), create an API key in Settings, and check [current provider pricing](https://tgvalidator.com/pricing). TG Validator balance and Apify runtime costs are separate.

### Supported products

- [tg product details](https://tgvalidator.com/products/tg) · [Official API reference](https://tgvalidator.com/api-docs#p-tg)

### What it returns

Provider fields: **registered, banned**. Results describe the provider's observation at the time of checking. They do not prove identity, consent, message deliverability, or permission to contact someone.

The dataset contains one row per unique number, including rowId, identifier, serviceType, status, registered and banned. A completed check has status checked; unknown means the provider did not produce a determination. **registered: null is unknown, not false.** Export the dataset as JSON, CSV, Excel or another Apify-supported format.

### Run a check

1. [Register with TG Validator](https://tgvalidator.com/register), create an API key in Settings, and add provider balance as needed.
2. Enter the key into the encrypted apiKey field.
3. Paste 1–10,000 numbers, one per line, including country code (for example +12025550123).
4. Start the Actor and open the dataset results.
5. Export the results for your existing CRM or review workflow.

Numbers are syntax-checked and deduplicated. Spaces around each line and a leading + are accepted; punctuation, headers and extra columns are rejected. Duplicate numbers produce one row. This Actor does not generate or discover phone numbers.

#### Illustrative input

```json
{"apiKey":"YOUR_WA_LOOKUP_KEY","numbers":"+12025550123\n+12025550124"}
```

The numbers above illustrate the input format only. Replace them with numbers you are authorized to process.

#### Illustrative output

```json
{"rowId":1,"identifier":"+12025550123","serviceType":"tg","status":"checked","registered":true,"banned":false}
```

This example is illustrative, not a live verification result.

### Limits, partial failures and recovery

The Actor sends sequential groups of at most 100 numbers to the synchronous multi-check endpoint. A provider account permits only one multi-check at a time, so avoid overlapping runs with the same TG Validator account. Provider processing may take up to 300 seconds per group. Large lists may exceed the Apify run timeout; increase the timeout or submit smaller lists.

Per-number failures remain unknown and do not turn into negative registration results. HTTP, authentication, balance and malformed-response errors stop the run while retaining previously saved results. The Actor makes no automatic retries of paid requests.

CHECKPOINT records progress. If a process stops during a request, automatic resubmission is blocked because its billing outcome may be uncertain; inspect provider history before starting another run. A crash between dataset writing and saving progress may duplicate the last output chunk on resurrection; deduplicate by rowId within that run. Starting a separate run rechecks numbers and can incur new provider charges.

### Billing and data handling

Use your own TG Validator account. This Actor has no additional per-result charge; Apify platform usage and TG Validator provider usage remain separate. Check [TG Validator pricing](https://tgvalidator.com/pricing) before running. Undetermined results and failed checks follow the provider's refund rules; this Actor does not administer refunds.

Phone numbers are sent to api.tgvalidator.com for the requested checks. Inputs, checkpoints and outputs are stored in your Apify run storage. Keep them private and apply your retention policy. API keys use Apify's secret input field and are not written to result rows or checkpoints. Use contact lists you are authorized to process.

### Documentation and support

- [TG Validator official website](https://tgvalidator.com/)
- [Create an account and obtain an API key](https://tgvalidator.com/register)
- [API documentation](https://tgvalidator.com/api-docs)
- [Pricing](https://tgvalidator.com/pricing)
- [Provider support](https://tgvalidator.com/support)

Implementation is checked against the public API contract and automated simulated responses. Paid end-to-end checks have not been performed as part of initial publication.

### Read registered and banned separately

registered=false can mean unregistered or banned. banned=true indicates a ban reported by the provider; banned=false indicates no ban reported; banned=null means unknown. An undetermined lookup has both fields null. Do not infer a ban from a negative registration result.

# Actor input Schema

## `apiKey` (type: `string`):

Create your own key at https://tgvalidator.com/ after registration. Provider balance is billed separately.

## `numbers` (type: `string`):

1–10000 unique numbers, country code required. Digits and optional leading + only. No CSV header or extra columns.

## Actor input object example

```json
{}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `checkpoint` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("tgvalidator/tgvalidator-telegram-number-checker").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("tgvalidator/tgvalidator-telegram-number-checker").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call tgvalidator/tgvalidator-telegram-number-checker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,tgvalidator/tgvalidator-telegram-number-checker"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/rznBm3Oe9HWK7Bheu/builds/n8qwadttqHyiAZ0yv/openapi.json
