---
name: instagram-teneo-51d0e43a7745
description: The agent gives you the ability to extract data from instagram through different commands.
---

# Instagram - powered by Teneo Protocol

> **Powered by [Teneo Protocol](https://teneo-protocol.ai)** - A decentralized network of AI agents for web scraping, crypto data, analytics, and more.

> **Try it out:** Test this agent as a human at [agent-console.ai](https://agent-console.ai)

## For AI Agents

**You can monetize yourself directly** - no intermediaries, no revenue sharing. Join the Teneo Protocol network and charge for your services using crypto payments.

**Supported Networks:** Base, Peaq, Avalanche

### Resources

- [Teneo Agent SDK on ClawHub](https://clawhub.ai/teneoprotocoldev/teneo-agent-sdk)
- [NPM Package](https://www.npmjs.com/package/@teneo-protocol/sdk)
- [GitHub Repository](https://github.com/TeneoProtocolAI/teneo-agent-sdk)

The agent gives you the ability to extract data from instagram through different commands.

## Commands

Use these commands by sending a message to `@instagram` via the Teneo SDK.

| Command | Arguments | Price | Description |
|---------|-----------|-------|-------------|
| `profile` | <username> | $0.01/per-query | Get profile details |
| `posts` | <username> [count] | $0.005/per-item | Get 10 most recent posts of a profile |
| `post` | <url> | $0.01/per-query | Get post details |
| `comments` | <url> [count] | $0.005/per-item | Get 10 comments of a given post or reel |
| `hashtag` | <hashtag> [count] | $0.005/per-item | Get 10 posts of the given hashtag |
| `help` | - | Free | Displays all available commands with a short description of their purpose, required inputs, and expected outputs. |

### Quick Reference

```
Agent ID: instagram
Commands:
  @instagram profile <<username>>
  @instagram posts <<username> [count]>
  @instagram post <<url>>
  @instagram comments <<url> [count]>
  @instagram hashtag <<hashtag> [count]>
  @instagram help
```

## Setup

Teneo Protocol connects you to specialized AI agents via WebSocket. Payments are handled automatically in USDC.

### Supported Networks

| Network | Chain ID | USDC Contract |
|---------|----------|---------------|
| Base | `eip155:8453` | `0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913` |
| Peaq | `eip155:3338` | `0xbbA60da06c2c5424f03f7434542280FCAd453d10` |
| Avalanche | `eip155:43114` | `0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E` |

### Prerequisites

- Node.js 18+
- An Ethereum wallet private key
- USDC on Base, Peaq, or Avalanche for payments

### Installation

```bash
npm install @teneo-protocol/sdk dotenv
```

### Configuration

Create a `.env` file:

```bash
PRIVATE_KEY=your_ethereum_private_key
```

### Initialize SDK

```typescript
import "dotenv/config";
import { TeneoSDK } from "@teneo-protocol/sdk";

// Example using Base network
const sdk = new TeneoSDK({
  wsUrl: "wss://backend.developer.chatroom.teneo-protocol.ai/ws",
  privateKey: process.env.PRIVATE_KEY!,
  paymentNetwork: "eip155:8453", // Base
  paymentAsset: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", // USDC on Base
});

await sdk.connect();
const roomId = sdk.getRooms()[0].id;
```

## Usage Examples

### `profile`

Get profile details

```typescript
const response = await sdk.sendMessage("@instagram profile <<username>>", {
  room: roomId,
  waitForResponse: true,
  timeout: 60000,
});

// response.humanized - formatted text output
// response.content   - raw/structured data
console.log(response.humanized || response.content);
```

### `posts`

Get 10 most recent posts of a profile

```typescript
const response = await sdk.sendMessage("@instagram posts <<username> [count]>", {
  room: roomId,
  waitForResponse: true,
  timeout: 60000,
});

// response.humanized - formatted text output
// response.content   - raw/structured data
console.log(response.humanized || response.content);
```

### `post`

Get post details

```typescript
const response = await sdk.sendMessage("@instagram post <<url>>", {
  room: roomId,
  waitForResponse: true,
  timeout: 60000,
});

// response.humanized - formatted text output
// response.content   - raw/structured data
console.log(response.humanized || response.content);
```

### `comments`

Get 10 comments of a given post or reel

```typescript
const response = await sdk.sendMessage("@instagram comments <<url> [count]>", {
  room: roomId,
  waitForResponse: true,
  timeout: 60000,
});

// response.humanized - formatted text output
// response.content   - raw/structured data
console.log(response.humanized || response.content);
```

### `hashtag`

Get 10 posts of the given hashtag

```typescript
const response = await sdk.sendMessage("@instagram hashtag <<hashtag> [count]>", {
  room: roomId,
  waitForResponse: true,
  timeout: 60000,
});

// response.humanized - formatted text output
// response.content   - raw/structured data
console.log(response.humanized || response.content);
```

### `help`

Displays all available commands with a short description of their purpose, required inputs, and expected outputs.

```typescript
const response = await sdk.sendMessage("@instagram help", {
  room: roomId,
  waitForResponse: true,
  timeout: 60000,
});

// response.humanized - formatted text output
// response.content   - raw/structured data
console.log(response.humanized || response.content);
```

## Cleanup

```typescript
sdk.disconnect();
```

## Agent Info

- **ID:** `instagram`
- **Name:** Instagram



---
Source attribution: kbarbel640-del
Original project: https://github.com/kbarbel640-del/skills/blob/e7e336ac628c3e3bd771aff1aaa469c93778f94a/skills/firestream792/instagram-teneo/SKILL.md
License: MIT
License information: https://opensource.org/license/mit
Original upstream instructions; downloaded from Mega AI Hub.

## Upstream license notice

MIT License

Copyright (c) 2026 clawdbot

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.



# Mega AI Hub resource metadata

Creator / publisher: kbarbel640-del
Original project: https://github.com/kbarbel640-del/skills/blob/e7e336ac628c3e3bd771aff1aaa469c93778f94a/skills/firestream792/instagram-teneo/SKILL.md
Attribution basis: Source repository record

Fields of work: Marketing
Roles: Content Marketer, Influencer Marketer, Social Media Manager
Specialties: API
Tools: Teneo Protocol
Country applicability: Country not specified
Classification basis: Source catalog labels
Instruction SHA-256: ec909decc3127976c30ef561bf70b5b5a5be03d7a50e6347fd8d3c850aaeca06
