Skill
БесплатноБез исполняемых скриптовНе проверенInteract with Twitter/X via TwitterAPI.io — search tweets, get user info, post tweets, like, retweet, follow, send DMs, and more. Covers all 76 active…
от dorukardahan2 692 установки в других каталогахОб этом скилле
TwitterAPI.io skill v3.8.32
Access Twitter/X data and perform actions via TwitterAPI.io REST API. Use TwitterAPI.io REST API for read, write, webhook, and stream operations.
Docs: https://docs.twitterapi.io | Dashboard: https://twitterapi.io/dashboard
Agent safety default
This skill documents both read and write endpoints, but agents should treat Twitter/X operations as read-only by default. Use public/read endpoints for search, timelines, user/tweet lookup, replies, quotes, trends, pagination, deduplication, and analysis.
Do not use write, login, cookie, proxy, private-data, DM, follow, like, retweet, post, or profile-update endpoints unless the user gives explicit confirmation for the exact action and account. Never ask for or store account passwords, auth_token, ct0, login_cookies, or proxy credentials for a read-only workflow.
Setup
- Get API key: https://twitterapi.io/dashboard ($0.10 free credits, no CC)
- Store the key once in your OS secret store. Do not put it in shell startup files (
.zshenv,.bashrc,.profile), where every process inherits it, and do not type a rawexportwith the value (it lands in shell history). These commands prompt for the key, so it never touches history:- macOS Keychain:
security add-generic-password -a "$USER" -s twitterapi-io -w - Linux (libsecret):
secret-tool store --label="TwitterAPI.io" service twitterapi-io - Fallback: a file only you can read,
${XDG_CONFIG_HOME:-$HOME/.config}/twitterapi-io/api_key(mode0600)
- macOS Keychain:
- For write actions, you also need
login_cookiesfrom v2 login + residentialproxy.
Base URL: https://api.twitterapi.io
Auth header: X-API-Key: $TWITTERAPI_IO_KEY (all requests)
Load the key for a command
The curl examples read $TWITTERAPI_IO_KEY. When it is not already set, start the shell command with this line. It loads the key for that one shell and never prints it. Agents that run each tool call in a new shell need it at the start of every call that hits the API:
export TWITTERAPI_IO_KEY="${TWITTERAPI_IO_KEY:-$(security find-generic-password -s twitterapi-io -w 2>/dev/null || secret-tool lookup service twitterapi-io 2>/dev/null || cat "${XDG_CONFIG_HOME:-$HOME/.config}/twitterapi-io/api_key" 2>/dev/null)}"
Never echo, print, log, or paste the key. Do not run set -x, env, or printenv in a shell that holds it, and never write it into files, commits, or chat.
Pricing (credit-based, 1 USD = 100,000 credits)
| Resource | Credits | Approx $/1K |
|---|---|---|
| Tweets (per returned tweet) | 15 | $0.15 |
| Profiles (per returned profile) | 18 | $0.18 |
| Profiles batch 100+ (per profile) | 1 | $0.01 |
| Followers (tiered, per follower) | 1-3 | $0.01-0.03 |
| Followings (tiered, per following) | 1-3 | $0.01-0.03 |
| Follower IDs (tiered, per ID) | 0.45-2 | $0.0045-0.02 |
| Verified followers (per follower) | 30 | $0.30 |
| Minimum per API call | 15 | $0.00015 |
| List endpoint calls | 150 | $0.0015 |
| Check follow relationship | 100 | $0.001 |
| Get article | 100 | $0.001 |
| Community info | 20 | $0.0002 |
| V2 actions, DM, and media upload (per call) | 60 | $0.0006 |
| Login V2 | 10,000 | $0.10 |
| Legacy login (step 1 / 2FA) | 300 | $0.003 |
Note: If the API returns 0 or 1 item, you are still charged the minimum (15 credits). Follower/following endpoints use tiered pricing: 1 credit/item at max page size (200), 2 credits (100-199 returned), 3 credits (20-99 returned); minimum 60 credits/call. Follower IDs: 0.45 credits/ID (4000-5000 returned), 1 credit (200-3999), 2 credits (50-199); minimum 100 credits/call.
QPS (rate limits) -- balance-based
| Account Balance (Credits) | QPS Limit |
|---|---|
| < 1,000 (free tier) | 1 req / 5 sec |
| >= 1,000 | 3 |
| >= 5,000 | 6 |
| >= 10,000 | 10 |
| >= 50,000 | 20 |
API Notes
OpenAPI now also exposes several legacy auth/write paths alongside V2 endpoints. Prefer V2 where available. V3 endpoints were taken offline by TwitterAPI.io in March 2026. Use V2 for write operations. For mission-critical tweet posting, consider Twitter's official API.
Login cookie field naming
The current OpenAPI uses login_cookies (plural) consistently:
user_login_v2response includeslogin_cookies,status, andmessage.- V2 action request bodies expect
login_cookies(plural).
Use the returned login_cookies value in action requests. DM history takes login_cookies in the query.
Response schemas
Tweet object (from search, replies, etc.)
{
"type": "tweet",
"id": "1234567890",
"url": "https://x.com/user/status/1234567890",
"text": "Tweet content...",
"source": "Twitter Web App",
"retweetCount": 5,
"replyCount": 2,
"likeCount": 42,
"quoteCount": 1,
"viewCount": 1500,
"bookmarkCount": 3,
"createdAt": "Sun Feb 08 12:00:00 +0000 2026",
"lang": "en",
"isReply": false,
"
Установить Skill в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Skill?
Interact with Twitter/X via TwitterAPI.io — search tweets, get user info, post tweets, like, retweet, follow, send DMs, and more. Covers all 76 active endpoints. Use when the user wants to read or write Twitter data.
Как установить скилл Skill?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Skill запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic