Reddit数据 API · Reddit data API · DataXAPI
БесплатноБез исполняемых скриптовНе проверенPublic Reddit data through DataXAPI: posts, users, communities, trends. 11 endpoints, $0.0020 a call, a failed call is free. Use when the user asks about…
от data-x-api395 установок в других каталогахОб этом скилле
Reddit数据 API · Reddit data API · DataXAPI
Pay per call, no subscription. A call that ends in an error is not charged. 按次付费,不用订阅;出错不收费。 11 Reddit endpoints, $0.0020 a call, each at its own price (listed below). No Reddit account, cookie or login: one DataXAPI key.
DataXAPI returns public Reddit data (Reddit的公开数据) in one response shape, paid per call from a prepaid balance. This skill lists all 11 Reddit endpoints with their prices and the questions each one answers. It was generated from catalog revision dc959672dd18e2d0.
What one call returns: reddit.posts.search with query=saturn rings, a recorded answer (7 items came back, the first shown; names, text, IDs and links are stand-ins, the figures are as recorded).
{
"data": {
"items": [
{
"id": "t3_c6zfcsj",
"url": "https://www.reddit.com/r/hiking/comments/c6zfcsj/",
"type": "image",
"title": "Everything I pack for saturn rings",
"lang": "en",
"published_at": "2024-11-22T01:25:15.633Z",
"author": {
"id": "t2_ulkupadj",
"username": "maya_makes",
"avatar_url": "https://styles.redditmedia.com/t5_7z4w4c/styles/profileIcon_giouwc19cllx7.png"
},
"metrics": {
"comments": 213
},
"images": [
"https://i.redd.it/lmqqmsves43vx.jpeg"
],
"is_pinned": false
}
]
},
"page": {
"returned": 7,
"has_more": true,
"next_cursor": "c1.QZa1D_DF2UeCuT2KXm3EnAtguUJjsyD68oCTkkOq"
},
"meta": {
"billing": {
"amount": "0.002",
"currency": "USD",
"balance_after": "9.998"
}
}
}
What to call for which question
- What do people on Reddit say about standing desks? / Reddit 上大家怎么评价升降桌? →
reddit.posts.search($0.0020) - Show the latest posts in r/skincare. / 看看 r/skincare 最新的帖子。 →
reddit.subreddits.posts.list($0.0020) - Read the comment thread under this Reddit post. / 把这个 Reddit 帖子下面的评论取下来。 →
reddit.posts.comments.list($0.0020)
When the question is not one of these, run find (or dataxapi find) with the user's words and reddit; 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 reddit.posts.search 'query=saturn rings' --max-price 0.002
MCP. Server https://api.dataxapi.com/mcp, header Authorization: Bearer <key>. Tools: find (with platform: "reddit" 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":"reddit.posts.search","query":"saturn rings","max_price":"0.002"}
REST:
curl -G "https://api.dataxapi.com/v1/reddit/posts/search" \
--data-urlencode "query=saturn rings" \
-H "Authorization: Bearer $DATAXAPI_API_KEY"
reddit.posts.search costs $0.002 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
- Post IDs carry t3_. Pass the post ID with its t3_ prefix, or the post's link (reddit.com/r/
/comments/ /). - Comments, page by page. A page holds a few top-level comments with their first levels of replies; the cursor brings the next top-level ones. Deeper replies that Reddit folds away are not followed.
- Hidden scores. While Reddit still hides a comment's score, it comes back as null, not as 1.
- Communities and users by name. Communities take the name without r/, users the username without u/. A community that does not exist returns an empty post list.
- Only videos Reddit hosts. Transcripts come only for videos Reddit hosts and captions. A video embedded from another site, or one without captions, reads as not found, not charged.
Every Reddit endpoint
| Capability ID | Name | Returns | Price | A page |
|---|---|---|---|---|
reddit.posts.comments.list |
Reddit post comments (Reddit 帖子评论) | Get a page of comments on a Reddit post by ID or link: text, commenter, score, reply count, time posted, with the first levels of replies. | $0.002 per call | up to 200 |
reddit.posts.get |
Reddit post detail (Reddit 帖子详情) | Get one Reddit post by ID or link: title, text, author, community, score, comment count. | $0.002 per call | one object |
reddit.posts.search |
Reddit post search (Reddit 帖子搜索) | Get a page of Reddit posts matching a search, by relevance, newest or top score, optionally within a period. | $0.002 per call | up to 25 |
reddit.posts.trending |
Reddit popular posts (Reddit 热门帖子) | Get a page of the posts on Reddit's Popular feed: title, text, author, community, score, comment count. | $0.002 per call | up to 25 |
reddit.subreddits.posts.list |
Установить Reddit数据 API · Reddit data API · DataXAPI в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Reddit数据 API · Reddit data API · DataXAPI?
Public Reddit data through DataXAPI: posts, users, communities, trends. 11 endpoints, $0.0020 a call, a failed call is free. Use when the user asks about Reddit content, accounts, comments or trends, or gives a Reddit link, ID or account name. 通过 DataXAPI 取Reddit的公开数据:帖子、用户、社区、热榜。11 个接口,一次 $0.0020,失败不收费。用户问到Reddit的内容、账号、评论或热点,或给出Reddit的链接、编号、账号名时使用。
Как установить скилл Reddit数据 API · Reddit data API · DataXAPI?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Reddit数据 API · Reddit data API · DataXAPI запускает скрипты?
Нет, скилл состоит только из инструкций (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