# API de Telegram datos de perfil para elpais

**Use case:** 

Un ejemplo listo para ejecutar que extrae datos de perfil de Telegram para elpais y devuelve campos normalizados en cada fila.

## Input

```json
{
  "telegram_url": [
    "https://t.me/elpais"
  ]
}
```

## Output

```json
{
  "query_index": {
    "label": "Query Index",
    "format": "integer"
  },
  "query": {
    "label": "Query",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "type": {
    "label": "Type",
    "format": "string"
  },
  "id": {
    "label": "ID",
    "format": "integer"
  },
  "username": {
    "label": "Username",
    "format": "string"
  },
  "usernames": {
    "label": "Usernames",
    "format": "array"
  },
  "source_url": {
    "label": "Source URL",
    "format": "string"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "first_name": {
    "label": "First Name",
    "format": "string"
  },
  "last_name": {
    "label": "Last Name",
    "format": "string"
  },
  "description": {
    "label": "Description",
    "format": "string"
  },
  "photo_url": {
    "label": "Photo URL",
    "format": "string"
  },
  "has_photo": {
    "label": "Has Photo",
    "format": "boolean"
  },
  "flags": {
    "label": "Flags",
    "format": "array"
  },
  "restrictions": {
    "label": "Restrictions",
    "format": "array"
  },
  "last_seen": {
    "label": "Last Seen",
    "format": "string"
  },
  "colors": {
    "label": "Colors",
    "format": "object"
  },
  "emoji_status": {
    "label": "Emoji Status",
    "format": "object"
  },
  "personal_channel": {
    "label": "Personal Channel",
    "format": "object"
  },
  "birthday": {
    "label": "Birthday",
    "format": "object"
  },
  "business": {
    "label": "Business",
    "format": "object"
  },
  "profile_music": {
    "label": "Profile Music",
    "format": "object"
  },
  "monetization": {
    "label": "Monetization",
    "format": "object"
  },
  "bot_info": {
    "label": "Bot Info",
    "format": "object"
  },
  "created_at": {
    "label": "Created At",
    "format": "string"
  },
  "member_count": {
    "label": "Member Count",
    "format": "integer"
  },
  "online_count": {
    "label": "Online Count",
    "format": "integer"
  },
  "chat_level": {
    "label": "Chat Level",
    "format": "integer"
  },
  "chat_flags": {
    "label": "Chat Flags",
    "format": "array"
  },
  "location": {
    "label": "Location",
    "format": "object"
  },
  "slowmode_seconds": {
    "label": "Slowmode Seconds",
    "format": "integer"
  },
  "linked_chat_id": {
    "label": "Linked Chat ID",
    "format": "integer"
  },
  "linked_monoforum_id": {
    "label": "Linked Monoforum ID",
    "format": "integer"
  },
  "pinned_message_id": {
    "label": "Pinned Message ID",
    "format": "integer"
  },
  "default_restrictions": {
    "label": "Default Restrictions",
    "format": "object"
  },
  "available_reactions": {
    "label": "Available Reactions",
    "format": "object"
  },
  "chat_bots": {
    "label": "Chat Bots",
    "format": "array"
  },
  "sticker_set": {
    "label": "Sticker Set",
    "format": "object"
  },
  "processor": {
    "label": "Processor",
    "format": "string"
  },
  "processed_at": {
    "label": "Processed At",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Telegram Profile](https://apify.com/truefetch/telegram-profile.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/truefetch/telegram-profile.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/truefetch/telegram-profile.md

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`).
