技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
instagram-teneo【数据与研究】The agent gives you the ability to extract data from instagram through different commands.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Powered by Teneo Protocol - 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
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
The agent gives you the ability to extract data from instagram through different commands.
Use these commands by sending a message to @instagram via the Teneo SDK.
| Command | Arguments | Price | Description |
|---|---|---|---|
profile | $0.01/per-query | Get profile details | |
posts | [count] | $0.005/per-item | Get 10 most recent posts of a profile |
post | $0.01/per-query | Get post details | |
comments | [count] | $0.005/per-item | Get 10 comments of a given post or reel |
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. |
Agent ID: instagram
Commands:
@instagram profile <<username>>
@instagram posts <<username> [count]>
@instagram post <<url>>
@instagram comments <<url> [count]>
@instagram hashtag <<hashtag> [count]>
@instagram help
Teneo Protocol connects you to specialized AI agents via WebSocket. Payments are handled automatically in USDC.
| Network | Chain ID | USDC Contract |
|---|---|---|
| Base | eip155:8453 | 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 |
| Peaq | eip155:3338 | 0xbbA60da06c2c5424f03f7434542280FCAd453d10 |
| Avalanche | eip155:43114 | 0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E |
npm install @teneo-protocol/sdk dotenv
Create a .env file:
PRIVATE_KEY=your_ethereum_private_key
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;
profileGet profile details
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);
postsGet 10 most recent posts of a profile
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);
postGet post details
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);
commentsGet 10 comments of a given post or reel
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);
hashtagGet 10 posts of the given hashtag
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);
helpDisplays all available commands with a short description of their purpose, required inputs, and expected outputs.
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);
sdk.disconnect();
instagram