afterstring
Pagination parameter for fetching next page
默认值:""
https://api.sandbase.ai/v1/api/reddit/app/games-feedReturns recommended gaming posts from Reddit app feeds. Supports filtering by sorting method and time range, with optional response formatting.
[
{
"data": {
"gamesFeed": {
"elements": {
"dist": 7,
"edges": [
{
"__typename": "FeedElementEdge",
"node": {
"__typename": "CellGroup",
"adPayload": null,
"cells": [
{
"__typename": "RichtextRecommendationContextCell",
"id": "UmljaFRleHRSZWNvbW1lbmRhdGlvbkNvbnRleHRDZWxsLXQzXzF3eXFwMTM=",
"rtJsonText": "{\"document\":[{\"c\":[{\"e\":\"text\",\"t\":\"Suggested\"}],\"e\":\"par\"}]}"
},
{
"__typename": "MetadataCell",
"authorName": null,
"color": {
"__typename": "CustomCellColor",
"rgbaColor": "#371EA8FF"
},
"createdAt": "2026-10-06T01:59:27.067000+0000",
"detailsLink": "BunnyTrials",
"detailsString": "r/BunnyTrials",
"iconPath": "https://styles.redditmedia.com/t5_ficbsd/styles/communityIcon_32t41bmh69og1.png?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=63c5b8c66fe6e2ddc060bf02392d917c617461ee",
"iconShape": "ROUND",
"id": "TWV0YWRhdGFDZWxsLXQzXzF3eXFwMTM=",
"isBrandAffiliate": false,
"isJoinButtonShown": true,
"isOverflowButtonHidden": true,
"isRecommended": false,
"joinSubredditId": "t5_ficbsd",
"mediaDomain": null,
"mediaPath": null,
"modUserNoteLabel": null,
"statusIndicators": []
},
{
"__typename": "TitleCell",
"id": "VGl0bGVDZWxsLXQzXzF3eXFwMTM=",
"isVisited": false,
"title": "1% lottery"
},
"… 4 more items in the full response"
],
"crosspostCells": [
{
"__typename": "RichtextRecommendationContextCell"
},
{
"__typename": "MetadataCell"
},
{
"__typename": "TitleCell"
},
"… 4 more items in the full response"
],
"groupId": "t3_1wyqp13",
"groupRecommendationContext": {
"__typename": "RecommendationContext",
"isContextHidden": true,
"name": null,
"richText": "{\"document\":[{\"c\":[{\"e\":\"text\",\"t\":\"Suggested\"}],\"e\":\"par\"}]}",
"sourceId": null,
"typeIdentifier": "dev_platform"
},
"id": "dDNfMXd5cXAxMw==",
"payload": null
}
},
{
"__typename": "FeedElementEdge",
"node": {
"__typename": "CellGroup",
"adPayload": null,
"cells": [
{
"__typename": "RichtextRecommendationContextCell",
"id": "UmljaFRleHRSZWNvbW1lbmRhdGlvbkNvbnRleHRDZWxsLXQzXzF3eXhneXQ=",
"rtJsonText": "{\"document\":[{\"c\":[{\"e\":\"text\",\"t\":\"Suggested\"}],\"e\":\"par\"}]}"
},
{
"__typename": "MetadataCell",
"authorName": null,
"color": {
"__typename": "NativeCellColor"
},
"createdAt": "2026-10-06T08:41:57.393000+0000",
"detailsLink": "AlignmentChartFills",
"detailsString": "r/AlignmentChartFills",
"iconPath": "https://styles.redditmedia.com/t5_dhqj8s/styles/communityIcon_jpqvg1zckkfg1.png?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=dfc2be52310537b3a7bd0867d4a65561664704a4",
"iconShape": "ROUND",
"id": "TWV0YWRhdGFDZWxsLXQzXzF3eXhneXQ=",
"isBrandAffiliate": false,
"isJoinButtonShown": true,
"isOverflowButtonHidden": true,
"isRecommended": false,
"joinSubredditId": "t5_dhqj8s",
"mediaDomain": null,
"mediaPath": null,
"modUserNoteLabel": null,
"statusIndicators": []
},
{
"__typename": "TitleCell",
"id": "VGl0bGVDZWxsLXQzXzF3eXhneXQ=",
"isVisited": false,
"title": "Which is the most religious Asian Country?"
},
"… 4 more items in the full response"
],
"crosspostCells": [
{
"__typename": "RichtextRecommendationContextCell"
},
{
"__typename": "MetadataCell"
},
{
"__typename": "TitleCell"
},
"… 4 more items in the full response"
],
"groupId": "t3_1wyxgyt",
"groupRecommendationContext": {
"__typename": "RecommendationContext",
"isContextHidden": true,
"name": null,
"richText": "{\"document\":[{\"c\":[{\"e\":\"text\",\"t\":\"Suggested\"}],\"e\":\"par\"}]}",
"sourceId": null,
"typeIdentifier": "dev_platform"
},
"id": "dDNfMXd5eGd5dA==",
"payload": null
}
},
{
"__typename": "FeedElementEdge",
"node": {
"__typename": "CellGroup",
"adPayload": null,
"cells": [
{
"__typename": "RichtextRecommendationContextCell",
"id": "UmljaFRleHRSZWNvbW1lbmRhdGlvbkNvbnRleHRDZWxsLXQzXzF3eXBsZWg=",
"rtJsonText": "{\"document\":[{\"c\":[{\"e\":\"text\",\"t\":\"Suggested\"}],\"e\":\"par\"}]}"
},
{
"__typename": "MetadataCell",
"authorName": null,
"color": {
"__typename": "CustomCellColor",
"rgbaColor": "#5B3FFFFF"
},
"createdAt": "2026-10-06T01:04:38.111000+0000",
"detailsLink": "TierlistFills",
"detailsString": "r/TierlistFills",
"iconPath": "https://styles.redditmedia.com/t5_h5pwta/styles/communityIcon_qtxqj6v6dxvg1.png?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=b93506882407f580f4d63905c9131bb3d4943daf",
"iconShape": "ROUND",
"id": "TWV0YWRhdGFDZWxsLXQzXzF3eXBsZWg=",
"isBrandAffiliate": false,
"isJoinButtonShown": true,
"isOverflowButtonHidden": true,
"isRecommended": false,
"joinSubredditId": "t5_h5pwta",
"mediaDomain": null,
"mediaPath": null,
"modUserNoteLabel": null,
"statusIndicators": []
},
{
"__typename": "TitleCell",
"id": "VGl0bGVDZWxsLXQzXzF3eXBsZWg=",
"isVisited": false,
"title": "How Greedy Do You Think YouTube Is?"
},
"… 4 more items in the full response"
],
"crosspostCells": [
{
"__typename": "RichtextRecommendationContextCell"
},
{
"__typename": "MetadataCell"
},
{
"__typename": "TitleCell"
},
"… 4 more items in the full response"
],
"groupId": "t3_1wypleh",
"groupRecommendationContext": {
"__typename": "RecommendationContext",
"isContextHidden": true,
"name": null,
"richText": "{\"document\":[{\"c\":[{\"e\":\"text\",\"t\":\"Suggested\"}],\"e\":\"par\"}]}",
"sourceId": null,
"typeIdentifier": "dev_platform"
},
"id": "dDNfMXd5cGxlaA==",
"payload": null
}
},
"… 4 more items in the full response"
],
"pageInfo": {
"endCursor": "dDNfMXd5d2Fjaw=="
}
}
}
}
}
]选择一个示例,将其输入和结果加载到 playground 中。
Returns a page of recommended gaming posts from the Reddit app games feed. Each item is a cell group with the post title, the subreddit it came from, and a creation time. No input is required, and sort, time, and after are optional.
after to build a dataset of suggested gaming posts.sort and time values to see which posts appear for each setting.curl -X POST "https://api.sandbase.ai/v1/api/reddit/app/games-feed" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
after | string | No | Pagination parameter for fetching next page |
need_format | boolean | No | Whether to clean and format the data |
sort | string | No | Sort method, options: NEW, HOT, TOP, RISING |
time | string | No | Time range, options: ALL, HOUR, DAY, WEEK, MONTH, YEAR |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"gamesFeed": {
"elements": {
"dist": 7,
"edges": [
{
"__typename": "FeedElementEdge",
"node": {
"__typename": "CellGroup",
"adPayload": null,
"cells": [
{
"__typename": "RichtextRecommendationContextCell",
"id": "UmljaFRleHRSZWNvbW1lbmRhdGlvbkNvbnRleHRDZWxsLXQzXzF4bWMyOTg=",
"rtJsonText": "{\"document\":[{\"c\":[{\"e\":\"text\",\"t\":\"Suggested\"}],\"e\":\"par\"}]}"
}
],
"crosspostCells": [
{
"__typename": "RichtextRecommendationContextCell"
}
],
"groupId": "t3_1xmc298",
"groupRecommendationContext": {
"__typename": "RecommendationContext",
"isContextHidden": true,
"name": null,
"richText": "{\"document\":[{\"c\":[{\"e\":\"text\",\"t\":\"Suggested\"}],\"e\":\"par\"}]}",
"sourceId": null,
"typeIdentifier": "dev_platform"
},
"id": "dDNfMXhtYzI5OA==",
"payload": null
}
}
],
"pageInfo": {
"endCursor": "dDNfMXhtZWh0eQ=="
}
}
}
}
| Field | Meaning |
|---|---|
gamesFeed.elements.edges[].node.groupId | Post ID in t3_ format, for example t3_1xmc298. Use it to identify the post in other Reddit calls. |
gamesFeed.elements.edges[].node.cells[].title | Post title. This field sits in the cell with __typename set to TitleCell. |
gamesFeed.elements.edges[].node.cells[].detailsString / gamesFeed.elements.edges[].node.cells[].detailsLink | Subreddit label such as r/BunnyTrials, and the same subreddit name without the r/ prefix. Both sit in the MetadataCell. |
gamesFeed.elements.edges[].node.cells[].createdAt | Creation time of the post as an ISO 8601 timestamp with a +0000 offset. |
gamesFeed.elements.edges[].node.cells[].iconPath | URL of the subreddit icon image. |
gamesFeed.elements.edges[].node.cells[].authorName | Author name in the MetadataCell. It is null in the sample response. |
gamesFeed.elements.edges[].node.groupRecommendationContext.typeIdentifier | Label for why the post was recommended, such as dev_platform or dev_platform_diversity. |
gamesFeed.elements.edges[].node.adPayload | Ad data for the item. It is null when the item is not an ad. |
gamesFeed.elements.dist | Number of items in the current page. |
gamesFeed.elements.pageInfo.endCursor | Cursor for the end of this page. Pass it as after to request the next page. |
pageInfo.endCursor from the last response as after to get the next page.cells. Find the title, subreddit, and timestamp by checking each cell's __typename: TitleCell or MetadataCell.sort accepts NEW, HOT, TOP, or RISING. time accepts ALL, HOUR, DAY, WEEK, MONTH, or YEAR.groupId, call Reddit Post Details.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
开始构建
具备统一身份验证和使用情况跟踪的平台 API 端点。
curl -X POST "https://api.sandbase.ai/v1/api/reddit/app/games-feed" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"sort": "NEW",
"time": "ALL",
"after": "",
"need_format": false
}'将您的 SandBase API 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_KEY"请将密钥保存在服务器端。不要在浏览器代码中暴露它。
afterstringPagination parameter for fetching next page
默认值:""
need_formatbooleanWhether to clean and format the data
默认值:false
sortstringSort method, options: NEW, HOT, TOP, RISING
默认值:"NEW"
timestringTime range, options: ALL, HOUR, DAY, WEEK, MONTH, YEAR
默认值:"ALL"
这是该 API 保存的示例响应;查看时不会发起实时请求。
[
{
"data": {
"gamesFeed": {
"elements": {
"dist": 7,
"edges": [
{
"__typename": "FeedElementEdge",
"node": {
"__typename": "CellGroup",
"adPayload": null,
"cells": [
{
"__typename": "RichtextRecommendationContextCell",
"id": "UmljaFRleHRSZWNvbW1lbmRhdGlvbkNvbnRleHRDZWxsLXQzXzF3eXFwMTM=",
"rtJsonText": "{\"document\":[{\"c\":[{\"e\":\"text\",\"t\":\"Suggested\"}],\"e\":\"par\"}]}"
},
{
"__typename": "MetadataCell",
"authorName": null,
"color": {
"__typename": "CustomCellColor",
"rgbaColor": "#371EA8FF"
},
"createdAt": "2026-10-06T01:59:27.067000+0000",
"detailsLink": "BunnyTrials",
"detailsString": "r/BunnyTrials",
"iconPath": "https://styles.redditmedia.com/t5_ficbsd/styles/communityIcon_32t41bmh69og1.png?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=63c5b8c66fe6e2ddc060bf02392d917c617461ee",
"iconShape": "ROUND",
"id": "TWV0YWRhdGFDZWxsLXQzXzF3eXFwMTM=",
"isBrandAffiliate": false,
"isJoinButtonShown": true,
"isOverflowButtonHidden": true,
"isRecommended": false,
"joinSubredditId": "t5_ficbsd",
"mediaDomain": null,
"mediaPath": null,
"modUserNoteLabel": null,
"statusIndicators": []
},
{
"__typename": "TitleCell",
"id": "VGl0bGVDZWxsLXQzXzF3eXFwMTM=",
"isVisited": false,
"title": "1% lottery"
},
"… 4 more items in the full response"
],
"crosspostCells": [
{
"__typename": "RichtextRecommendationContextCell"
},
{
"__typename": "MetadataCell"
},
{
"__typename": "TitleCell"
},
"… 4 more items in the full response"
],
"groupId": "t3_1wyqp13",
"groupRecommendationContext": {
"__typename": "RecommendationContext",
"isContextHidden": true,
"name": null,
"richText": "{\"document\":[{\"c\":[{\"e\":\"text\",\"t\":\"Suggested\"}],\"e\":\"par\"}]}",
"sourceId": null,
"typeIdentifier": "dev_platform"
},
"id": "dDNfMXd5cXAxMw==",
"payload": null
}
},
{
"__typename": "FeedElementEdge",
"node": {
"__typename": "CellGroup",
"adPayload": null,
"cells": [
{
"__typename": "RichtextRecommendationContextCell",
"id": "UmljaFRleHRSZWNvbW1lbmRhdGlvbkNvbnRleHRDZWxsLXQzXzF3eXhneXQ=",
"rtJsonText": "{\"document\":[{\"c\":[{\"e\":\"text\",\"t\":\"Suggested\"}],\"e\":\"par\"}]}"
},
{
"__typename": "MetadataCell",
"authorName": null,
"color": {
"__typename": "NativeCellColor"
},
"createdAt": "2026-10-06T08:41:57.393000+0000",
"detailsLink": "AlignmentChartFills",
"detailsString": "r/AlignmentChartFills",
"iconPath": "https://styles.redditmedia.com/t5_dhqj8s/styles/communityIcon_jpqvg1zckkfg1.png?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=dfc2be52310537b3a7bd0867d4a65561664704a4",
"iconShape": "ROUND",
"id": "TWV0YWRhdGFDZWxsLXQzXzF3eXhneXQ=",
"isBrandAffiliate": false,
"isJoinButtonShown": true,
"isOverflowButtonHidden": true,
"isRecommended": false,
"joinSubredditId": "t5_dhqj8s",
"mediaDomain": null,
"mediaPath": null,
"modUserNoteLabel": null,
"statusIndicators": []
},
{
"__typename": "TitleCell",
"id": "VGl0bGVDZWxsLXQzXzF3eXhneXQ=",
"isVisited": false,
"title": "Which is the most religious Asian Country?"
},
"… 4 more items in the full response"
],
"crosspostCells": [
{
"__typename": "RichtextRecommendationContextCell"
},
{
"__typename": "MetadataCell"
},
{
"__typename": "TitleCell"
},
"… 4 more items in the full response"
],
"groupId": "t3_1wyxgyt",
"groupRecommendationContext": {
"__typename": "RecommendationContext",
"isContextHidden": true,
"name": null,
"richText": "{\"document\":[{\"c\":[{\"e\":\"text\",\"t\":\"Suggested\"}],\"e\":\"par\"}]}",
"sourceId": null,
"typeIdentifier": "dev_platform"
},
"id": "dDNfMXd5eGd5dA==",
"payload": null
}
},
{
"__typename": "FeedElementEdge",
"node": {
"__typename": "CellGroup",
"adPayload": null,
"cells": [
{
"__typename": "RichtextRecommendationContextCell",
"id": "UmljaFRleHRSZWNvbW1lbmRhdGlvbkNvbnRleHRDZWxsLXQzXzF3eXBsZWg=",
"rtJsonText": "{\"document\":[{\"c\":[{\"e\":\"text\",\"t\":\"Suggested\"}],\"e\":\"par\"}]}"
},
{
"__typename": "MetadataCell",
"authorName": null,
"color": {
"__typename": "CustomCellColor",
"rgbaColor": "#5B3FFFFF"
},
"createdAt": "2026-10-06T01:04:38.111000+0000",
"detailsLink": "TierlistFills",
"detailsString": "r/TierlistFills",
"iconPath": "https://styles.redditmedia.com/t5_h5pwta/styles/communityIcon_qtxqj6v6dxvg1.png?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=b93506882407f580f4d63905c9131bb3d4943daf",
"iconShape": "ROUND",
"id": "TWV0YWRhdGFDZWxsLXQzXzF3eXBsZWg=",
"isBrandAffiliate": false,
"isJoinButtonShown": true,
"isOverflowButtonHidden": true,
"isRecommended": false,
"joinSubredditId": "t5_h5pwta",
"mediaDomain": null,
"mediaPath": null,
"modUserNoteLabel": null,
"statusIndicators": []
},
{
"__typename": "TitleCell",
"id": "VGl0bGVDZWxsLXQzXzF3eXBsZWg=",
"isVisited": false,
"title": "How Greedy Do You Think YouTube Is?"
},
"… 4 more items in the full response"
],
"crosspostCells": [
{
"__typename": "RichtextRecommendationContextCell"
},
{
"__typename": "MetadataCell"
},
{
"__typename": "TitleCell"
},
"… 4 more items in the full response"
],
"groupId": "t3_1wypleh",
"groupRecommendationContext": {
"__typename": "RecommendationContext",
"isContextHidden": true,
"name": null,
"richText": "{\"document\":[{\"c\":[{\"e\":\"text\",\"t\":\"Suggested\"}],\"e\":\"par\"}]}",
"sourceId": null,
"typeIdentifier": "dev_platform"
},
"id": "dDNfMXd5cGxlaA==",
"payload": null
}
},
"… 4 more items in the full response"
],
"pageInfo": {
"endCursor": "dDNfMXd5d2Fjaw=="
}
}
}
}
}
]探索更多
| API | 价格 | 响应 |
|---|---|---|
Reddit | $0.001 每次调用 | JSON |
Reddit | $0.001 每次调用 | JSON |
Reddit | $0.001 每次调用 | JSON |
Reddit | $0.001 每次调用 | JSON |
Reddit | $0.001 每次调用 | JSON |
Reddit | $0.001 每次调用 | JSON |
问题
向 https://api.sandbase.ai/v1/api/reddit/app/games-feed 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
每次调用 $0.001,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。
无需参数。 可选:after (string), need_format (boolean), sort (string) 和 time (string)。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
不需要。Reddit App Games Feed 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Reddit API 访问权限。