GET /v1/reddit/app/fetch_search_typeahead
Fetch Reddit APP Search Typeahead Suggestions
stable · 2 credits per success
Fetch autocomplete suggestions for the Reddit APP search box, including recommended subreddits, users, and search terms;query: Search keyword, the search text being typed;safe_search: Safe search setting, options are "unset" or "strict";allow_nsfw: Whether to allow NSFW (adult) content display, "0" means disallow, "1" means allow;JSON data of search suggestions containing the following types;- Re…
Request parameters
| Name | Type | In | Required | Description | Example |
|---|---|---|---|---|---|
| query | string | query | yes | 搜索关键词 | programming |
| allow_nsfw | string | query | no | 是否允许NSFW内容 | 0 |
| need_format | boolean | query | no | 是否需要清洗数据 | false |
| safe_search | string | query | no | 安全搜索设置 | unset |
Response fields
Field dictionary coming soon — the executable panel shows the live shape.
Errors
| code | HTTP | Meaning | Billed |
|---|---|---|---|
| 40001 | 400 | Invalid parameters | no |
| 40102 | 401 | Invalid or revoked API Key | no |
| 40201 | 402 | Insufficient credits | no |
| 40402 | 404 | Resource not found | no |
| 42201 | 422 | Quality gate failed | no |
| 42901 | 429 | Rate limit exceeded | no |
| 50401 | 504 | Upstream timeout | no |
| 50201 | 502 | Upstream error | no |
Billing
Success costs 2 credits. Any failure — including a 200 that fails the quality gate — costs 0.