# Threads data for AI agents

> ToolSocket gives Claude, ChatGPT, Cursor, Codex and any MCP or REST client live access to Threads — posts and profiles — through 6 ready-made tools. No Threads account, scraper or API key of your own is needed: connect https://toolsocket.top/mcp once and pay per call (most calls $0.003).

ToolSocket 让 Claude、ChatGPT、Cursor、Codex 等任何支持 MCP 或 REST 的 AI 智能体，直接读取Threads的实时数据：帖子和用户数据，共 6 个工具。不用注册Threads账号、不用写爬虫，接入一个地址即可，按次计费（大多 $0.003/次）。

## Connect

- MCP (Claude.ai, ChatGPT, Claude Code, Cursor, VS Code, Codex): `https://toolsocket.top/mcp` — OAuth sign-in or `Authorization: Bearer ts_live_…`
- Claude Code: `claude mcp add --transport http toolsocket https://toolsocket.top/mcp`
- Any agent that reads skills: `set up https://toolsocket.top/SKILL.md`
- Setup for every client: https://toolsocket.top/docs.md

## Example

Ask your agent: "Get the latest Threads posts from this account." / 「获取这个 Threads 账号的最新帖子。」

```bash
curl -s -X POST https://toolsocket.top/v1/run -H "Authorization: Bearer $TOOLSOCKET_API_KEY" \
  -H "content-type: application/json" -d '{"tool":"threads#web/search_posts","input":{"query":"bitcoin"},"wait":30}'
```

## Tools (6)

| Tool | ID | Price | What it does |
|---|---|---|---|
| Threads · Get user info (web) · Threads · 获取用户信息（web） | `threads#web/fetch_user_info` | $0.003 / call | Get Threads user information |
| Threads · Get user info by ID (web) · Threads · 根据用户ID获取用户信息（web） | `threads#web/fetch_user_info_by_id` | $0.003 / call | Get Threads user information by user ID |
| Threads · Get user posts (no pagination) (web) · Threads · 获取用户帖子列表（无分页）（web） | `threads#web/fetch_user_posts` | $0.003 / call | Get Threads user's post list |
| Threads · Get user reposts (no pagination) (web) · Threads · 获取用户转发列表（无分页）（web） | `threads#web/fetch_user_reposts` | $0.003 / call | Get Threads user's repost list |
| Threads · Get user replies (no pagination) (web) · Threads · 获取用户回复列表（无分页）（web） | `threads#web/fetch_user_replies` | $0.003 / call | Get Threads user's reply list |
| Threads · Search posts (web) · Threads · 搜索帖子（web） | `threads#web/search_posts` | $0.003 / call | Search Threads posts |
