[Integrations](https://spiral.ai/integrations) › [Gemini CLI](https://spiral.ai/integrations/gemini-cli) › [Telegram Channel Details](https://spiral.ai/integrations/gemini-cli/telegram-channel-details)

# How to Use Telegram Channel Details in Gemini CLI

Fetch a public Telegram channel or group's name, description, avatar, verification status, audience count, and media counters from its web preview. Use it to check channel identity, compare audience size, or follow profile changes.

|  |  |
| --- | --- |
| Model | Telegram Channel Details |
| Available through | ScrapeCreators |
| Category | Social Media |
| Price | Up to $0.0013 per run. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Telegram Channel Details in Gemini CLI

- Use Telegram channel profile for @telegram and add its returned name, description, URL, and avatar to the channel directory in this project.
- Use Telegram channel profile for @telegram and @TelegramTips, then create a comparison table in this project with audience counts and verification status.
- Use Telegram channel profile for @telegram and update our audience display component to show both the numeric count and Telegram's displayed count text.
- Use Telegram channel profile for @TelegramTips and compare its name, description, and avatar with the saved channel record in this repository.
- Use Telegram channel profile for @telegram and add the returned photo, video, file, and link counters to our channel report.

## How to set up Telegram Channel Details in Gemini CLI

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the server**: Or add it to `~/.gemini/settings.json` yourself:

```bash
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `gemini` and run:

```text
/mcp auth spiral
```

3. **Check it**: In Gemini CLI, run `/mcp`. From your shell:

```bash
gemini mcp list
```

### Use the Spiral skill

1. **Send Gemini CLI this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Telegram Channel Details**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "scrapecreators",
    "model": "scrapecreators/telegram-channel",
    "input": {
      "handle": "telegram"
    }
  }'
```

Then paste one of the prompts above: Gemini CLI finds Telegram Channel Details on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/gemini-cli

## Telegram Channel Details tools and prices

- [Telegram · Channel Details](https://spiral.ai/tools/scrapecreators/scrapecreators/telegram-channel) (ScrapeCreators): Up to $0.0013 per run.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| cache_max_age | 1d, 3d, 7d, 14d, 30d | — | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching) |

## What can you do with Telegram Channel Details in Gemini CLI?

Build a Telegram channel directory with public names, descriptions, avatars, audience counts, and verification flags. With the necessary permissions, a coding agent can add these records to your project and compare saved snapshots for changes.

### Maintain a channel directory

For an authorized directory, populate channel entries with their public names, descriptions, avatars, and Telegram links.

### Compare channel audiences

Compare public business or publisher channels by their reported audience counts, retaining the displayed count text so rounded figures remain recognizable.

### Measure audience changes

Save permitted channel snapshots and calculate changes in reported subscriber counts between observations.

### Review channel branding

Compare authorized snapshots of a business channel's name, description, and avatar to identify changes that need a directory update.

### Check partner channel identities

Prepare a partnership review with each public channel's description, link, verification status, and audience size. Use verification as evidence of an official source.

### Compare public media inventories

Tabulate the photo, video, file, and link counters returned for authorized publisher channels to compare their visible media inventories.

## Overview

- [ScrapeCreators](https://spiral.ai/providers/scrapecreators)
- [All Gemini CLI guides](https://spiral.ai/integrations/gemini-cli)

## Telegram Channel Details in other agents

- [Amp](https://spiral.ai/integrations/amp/telegram-channel-details)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/telegram-channel-details)
- [Claude](https://spiral.ai/integrations/claude-desktop/telegram-channel-details)
- [Claude Code](https://spiral.ai/integrations/claude-code/telegram-channel-details)
- [Cline](https://spiral.ai/integrations/cline/telegram-channel-details)
- [Codex](https://spiral.ai/integrations/codex/telegram-channel-details)
- [Cursor](https://spiral.ai/integrations/cursor/telegram-channel-details)
- [Devin](https://spiral.ai/integrations/devin/telegram-channel-details)
- [dots](https://spiral.ai/integrations/dots/telegram-channel-details)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/telegram-channel-details)
- [Gemini](https://spiral.ai/integrations/gemini/telegram-channel-details)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/telegram-channel-details)
- [goose](https://spiral.ai/integrations/goose/telegram-channel-details)
- [Grok](https://spiral.ai/integrations/grok/telegram-channel-details)
- [Grok Build](https://spiral.ai/integrations/grok-build/telegram-channel-details)
- [Hermes](https://spiral.ai/integrations/hermes/telegram-channel-details)
- [Instinct](https://spiral.ai/integrations/instinct/telegram-channel-details)
- [Manus](https://spiral.ai/integrations/manus/telegram-channel-details)
- [Muse](https://spiral.ai/integrations/muse/telegram-channel-details)
- [Muse Code](https://spiral.ai/integrations/muse-code/telegram-channel-details)
- [n8n](https://spiral.ai/integrations/n8n/telegram-channel-details)
- [Notion](https://spiral.ai/integrations/notion/telegram-channel-details)
- [OpenClaw](https://spiral.ai/integrations/openclaw/telegram-channel-details)
- [opencode](https://spiral.ai/integrations/opencode/telegram-channel-details)
- [Perplexity](https://spiral.ai/integrations/perplexity/telegram-channel-details)
- [Raycast](https://spiral.ai/integrations/raycast/telegram-channel-details)
- [VS Code](https://spiral.ai/integrations/vscode/telegram-channel-details)
- [Windsurf](https://spiral.ai/integrations/windsurf/telegram-channel-details)
- [Zapier](https://spiral.ai/integrations/zapier/telegram-channel-details)

## More Gemini CLI guides

- [Stack Exchange site directory](https://spiral.ai/integrations/gemini-cli/stack-exchange-site-directory)
- [Telegram Channel Posts ScrapeCreators](https://spiral.ai/integrations/gemini-cli/telegram-channel-posts-scrapecreators)
- [Stack Exchange question search](https://spiral.ai/integrations/gemini-cli/stack-exchange-question-search)
- [Telegram Post Details ScrapeCreators](https://spiral.ai/integrations/gemini-cli/telegram-post-details-scrapecreators)
- [Stack Exchange question details](https://spiral.ai/integrations/gemini-cli/stack-exchange-question-details)
- [Telegram channel post search](https://spiral.ai/integrations/gemini-cli/telegram-channel-post-search)

## Questions about Telegram Channel Details in Gemini CLI

**Can Gemini CLI use Telegram Channel Details?**

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run Telegram Channel Details like any built-in tool.

**How much does Telegram Channel Details cost in Gemini CLI?**

Up to $0.0013 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.

**Do I need a ScrapeCreators account to use Telegram Channel Details in Gemini CLI?**

No. Spiral runs Telegram Channel Details on its own ScrapeCreators account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Telegram Channel Details in Gemini CLI?**

About two minutes: add the server, then sign in, then check it.

**Does Gemini CLI wait while Telegram Channel Details runs?**

Telegram Channel Details runs in the background. Gemini CLI starts the run, checks on it and gives you the json when it's ready.

**Which Telegram sources does this cover?**

The documented coverage is public Telegram channels and groups through their web previews. That coverage does not establish access to private conversations.

**What information does a channel profile contain?**

The documented response includes identity details, verification status, audience counts, and counters for photos, videos, files, and links. The example includes null values for some counters, so a profile does not guarantee every metric.

**Are subscriber counts exact?**

Do not assume exact precision: the documented response pairs 9,780,000 with the displayed text “9.78M.” Telegram's web preview also uses abbreviated audience counts.

**How fresh is the information?**

ScrapeCreators says live requests fetch the latest available Telegram information. Telegram also lets channel owners change names, profile images, and links, so those details can change between checks.

**What does a verified Telegram channel mean?**

Telegram verification helps identify an official source. Telegram explicitly says the badge does not endorse the channel's opinions or content.

