# Semagram Telegram Semantic Search

> Semagram Telegram Semantic Search is a paid API for AI agents from semagram.io, paid per call via x402, $0.01/call, status unknown (last checked 2026-12-03).

Semantically searches Telegram channels, groups, and bots by meaning, returning ranked results with metadata like subscriber count, language, and description

## Facts

- Endpoint: POST https://semagram.io/api/agent/search?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/semagram-telegram-semantic-search-0e454611
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Xsz2Ru51Fpsp8dm-xYL6u

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability semagram-telegram-semantic-search-0e454611 -d '<json body>'
```

Example prompt: Find me up to 20 English-language Telegram channels about cryptocurrency investing — only show ones with at least 5000 subscribers.

## When to prefer this

Choose this endpoint when you need to discover Telegram channels, groups, or bots by semantic meaning rather than exact keyword match or username lookup. It is ideal for community research, influencer discovery on Telegram, or finding niche groups around a topic. Prefer it over Telegram's native search when you need ranked semantic relevance, subscriber count filtering, or language-based filtering in a single API call.

## Known failure modes

- No results returned for very niche or obscure queries — try broadening the query
- Language filter may exclude entities whose language could not be auto-detected
- High limit values (close to 1000) increase latency and cost
- Invalid ISO 639-1 language codes silently return unexpected results
- Payment failure if USDC balance is insufficient for the call

## How this service works

Semantic search for Telegram channels, groups, and bots

## Output

An array of Telegram entity objects, each containing: integer ID, name, username, kind (channel/group/bot), description/bio, detected language code, subscriber/member count, avatar URL, and linked chat info (username if public, true if private). Results are semantically ranked by relevance to the query.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "queryParams": {
     "type": "object",
     "required": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "description": "Semantic search query"
      },
      "kind": {
       "enum": [
        "channel",
        "group",
        "bot"
       ],
       "type": "string",
       "description": "Entity type filter (channel, group, or bot)"
      },
      "lang": {
       "type": "string",
       "description": "Language filter (ISO 639-1 code). Entities whose language could not be detected are kept"
      },
      "limit": {
       "type": "integer",
       "default": 100,
       "maximum": 1000,
       "minimum": 1,
       "description": "Max results (1-1000). Price scales with limit."
      },
      "max_users": {
       "type": "integer",
       "description": "Maximum subscriber/member count"
      },
      "min_users": {
       "type": "integer",
       "description": "Minimum subscriber/member count"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "array",
     "items": {
      "type": "object",
      "properties": {
       "id": {
        "type": "integer"
       },
       "bio": {
        "type": "string"
       },
       "kind": {
        "type": "string"
       },
       "lang": {
        "type": "string",
        "description": "Detected language (ISO 639-1), absent when it could not be detected"
       },
       "name": {
        "type": "string"
       },
       "has_chat": {
        "type": [
         "string",
         "boolean"
        ],
        "description": "The channel's linked chat: its username when the chat is public, true when the channel has one but it is private or its username is not known yet"
       },
       "username": {
        "type": "string"
       },
       "avatar_url": {
        "type": "string"
       },
       "user_count": {
        "type": "integer"
       },
       "description": {
        "type": "string"
       }
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/semagram-telegram-semantic-search-0e454611/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from semagram.io](https://www.zero.xyz/host/semagram.io/llms.txt)
