Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

X(推特)数据 API · X (Twitter) data API · DataXAPI

БесплатноБез исполняемых скриптовНе проверен

Public X (Twitter) data through DataXAPI: posts, users, threads, trends, X Communities, X Lists. 21 endpoints, $0.0003 to $0.0400 a call, a failed call is…

data-x-apiот data-x-api409 установок в других каталогах

Об этом скилле

X(推特)数据 API · X (Twitter) data API · DataXAPI

Pay per call, no subscription. A call that ends in an error is not charged. 按次付费,不用订阅;出错不收费。 21 X (Twitter) endpoints, $0.0003 to $0.0400 a call, each at its own price (listed below). No X (Twitter) account, cookie or login: one DataXAPI key.

DataXAPI returns public X (Twitter) data (X(推特)的公开数据) in one response shape, paid per call from a prepaid balance. This skill lists all 21 X (Twitter) endpoints with their prices and the questions each one answers. It was generated from catalog revision dc959672dd18e2d0.

What one call returns: x.trends.list, a recorded answer (30 items came back, the first shown; names, text, IDs and links are stand-ins, the figures are as recorded).

{
  "data": {
    "items": [
      {
        "name": "Weekend hiking",
        "rank": 1
      }
    ]
  },
  "page": {
    "returned": 30,
    "has_more": false,
    "next_cursor": null
  },
  "meta": {
    "billing": {
      "amount": "0.009",
      "currency": "USD",
      "balance_after": "9.991"
    }
  }
}

What to call for which question

  • What is trending on X (Twitter) in Japan today? / 今天 X(推特)日本的趋势是什么? → x.trends.list ($0.0090)
  • Find posts on X about our product launch. / 搜一下 X 上关于我们新品发布的帖子。 → x.posts.search ($0.0020)
  • How many followers does @NASA have on X? / X 上 @NASA 有多少粉丝? → x.users.get ($0.0004 per item, at least $0.0004 a call)

When the question is not one of these, run find (or dataxapi find) with the user's words and x; if nothing fits, say so instead of calling another platform.

Call it three ways

Command line (npm install -g dataxapi, or npx dataxapi), with the key in $DATAXAPI_API_KEY (never print it, log it or put it in an address):

dataxapi call x.trends.list --max-price 0.009

MCP. Server https://api.dataxapi.com/mcp, header Authorization: Bearer <key>. Tools: find (with platform: "x" it lists this platform's endpoints), describe (parameters and price), call, read_more (free), account (balance). Setting the server up: https://dataxapi.com/agents.md

{"capability":"x.trends.list","max_price":"0.009"}

REST:

curl -G "https://api.dataxapi.com/v1/x/trends/list" \
  -H "Authorization: Bearer $DATAXAPI_API_KEY"

x.trends.list costs $0.009 per call. Every capability ID maps to its path: dots become slashes under /v1. Finding endpoints, reading their parameters and their prices is free and needs no key.

Before you call

  • Handle or ID. Followers, following, mentions and an account's posts take username, the handle without the @. The profile takes a handle, an ID, or up to 100 ids.
  • When the account or post is not there. Followers, following, mentions, quotes and retweeters of something that does not exist come back empty. An account's posts, a post's replies and a list's posts answer upstream_failed instead: not charged, and worth one retry.
  • What the counts mean. metrics.comments is replies, metrics.favorites bookmarks and metrics.reposts retweets; quotes are counted apart, in ext.quotes.
  • A list's followers: one page. x.lists.followers.list returns up to 20 accounts and no further page.
  • Transcripts: two minutes at most. A video longer than two minutes is refused as invalid input. A video in which nothing is said, a post without a video and a post that does not exist all read as not found. Neither is charged.

Every X (Twitter) endpoint

Capability ID Name Returns Price A page
x.communities.posts.list X community posts (X 社群帖子) Get a page of the posts in an X community by the community's ID. $0.0003 per item returned, at least $0.0003 and at most $0.006 per call up to 20
x.lists.posts.list X list posts (X 列表帖子) Get a page of the posts on an X list's timeline by the list's ID, newest first, about 100 a page. $0.002 per call up to 100
x.posts.article.get X article detail (X 长文详情) Get the long-form article attached to an X post by the post's ID: title, full text, author, time published, and its like, reply and view counts. $0.002 per call one object
x.posts.get X post detail (X 帖子详情) Get one X post by ID or link: text, author, time posted, and its like, reply, retweet, quote, bookmark and view counts. $0.0003 per call one object
x.posts.quotes.list X post quotes (X 帖子引用列表) Get a page of the X posts that quote a post, newest first or most popular first. $0.0003 per item returned, at least $0.0003 and at most $0.006 per call up to 20
x.posts.replies.list X post replies (X 帖子回复列表) Get a page of the replies under an X post by its ID, in the platform's order of relevance; a reply on X is itself a post and is returned as one. $0.002 per call up to 60
x.posts.retweeters.list X post retweeters (X 帖子转推用户) Get a page of the accounts that retweeted an X post, by the post's ID: handle, na
Полный SKILL.md на ClawHub

Установить X(推特)数据 API · X (Twitter) data API · DataXAPI в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл X(推特)数据 API · X (Twitter) data API · DataXAPI?

Public X (Twitter) data through DataXAPI: posts, users, threads, trends, X Communities, X Lists. 21 endpoints, $0.0003 to $0.0400 a call, a failed call is free. Use when the user asks about X (Twitter) content, accounts, comments or trends, or gives a X (Twitter) link, ID or account name. 通过 DataXAPI 取X(推特)的公开数据:帖子、用户、对话串、热榜、X 社群、X 列表。21 个接口,一次 $0.0003 到 $0.0400,失败不收费。用户问到X(推特)的内容、账号、评论或热点,或给出X(推特)的链接、编号、账号名时使用。

Как установить скилл X(推特)数据 API · X (Twitter) data API · DataXAPI?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл X(推特)数据 API · X (Twitter) data API · DataXAPI запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить X(推特)数据 API · X (Twitter) data API · DataXAPI с