Subreddits V1
Autocomplete V1
Autocomplete community names as the user types. Fast prefix matching.
GET /api/v1/communities/autocomplete
Autocomplete community names as the user types. Fast prefix matching.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
q | string | Yes | Prefix to autocomplete. |
limit | number | No | Number of results (1-25). Default: 10. |
include_over_18 | boolean | No | Include NSFW communities. Default: false. |
Authentication
| Header | Value |
|---|---|
X-RapidAPI-Key | Your RapidAPI key |
X-RapidAPI-Host | red-crawler1.p.rapidapi.com |
Example request
cURL
curl -X GET "https://red-crawler1.p.rapidapi.com/api/v1/communities/autocomplete?q=askreddit&limit=10&include_over_18=false" \
-H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \
-H "X-RapidAPI-Host: red-crawler1.p.rapidapi.com"JavaScript
const res = await fetch("https://red-crawler1.p.rapidapi.com/api/v1/communities/autocomplete?q=askreddit&limit=10&include_over_18=false", {
method: "GET",
headers: {
"X-RapidAPI-Key": "YOUR_RAPIDAPI_KEY",
"X-RapidAPI-Host": "red-crawler1.p.rapidapi.com"
}
});
const data = await res.json();
console.log(data);Python
import requests
url = "https://red-crawler1.p.rapidapi.com/api/v1/communities/autocomplete?q=askreddit&limit=10&include_over_18=false"
headers = {
"X-RapidAPI-Key": "YOUR_RAPIDAPI_KEY",
"X-RapidAPI-Host": "red-crawler1.p.rapidapi.com"
}
resp = requests.get(url, headers=headers)
print(resp.json())Example response
HTTP 200 — captured from a live call to the gateway.
{
"success": true,
"data": {
"subreddits": [
{
"user_flair_background_color": null,
"submit_text_html": "<!-- SC_OFF --><div class=\"md\"><p><strong>test is all about DISCUSSION. Your post needs to inspire discussion, ask an open-ended question that prompts redditors to share ideas or opinions.</strong></p>\n\n<p><strong>Questions need to be neutral and the question alone.</strong> Any opinion or answer must go as a reply to your question, this i\u2026",
"restrict_posting": true,
"user_is_banned": null,
"wiki_enabled": true,
"user_is_muted": null,
"user_can_flair_in_sr": null,
"display_name": "test",
"header_img": "https://www.reddit.com/r/test/comments/1sys4r2/image_post/",
"title": "Ask Reddit...",
"original_content_tag_enabled": false,
"allow_galleries": false,
"icon_size": [
256,
256
],
"primary_color": "#d4eaff",
"icon_img": "https://www.reddit.com/r/test/comments/1sys4r2/image_post/",
"display_name_prefixed": "r/test",
"public_traffic": false,
"subscribers": 58390581,
"user_flair_richtext": [],
"name": "t5_examples",
"quarantine": false,
"hide_ads": false,
"prediction_leaderboard_entry_type": 2,
"emojis_enabled": true,
"advertiser_category": "Lifestyles",
"public_description": "r/test is the place to ask and answer thought-provoking questions.",
"comment_score_hide_mins": 60,
"allow_predictions": false,
"user_has_favorited": null,
"user_flair_template_id": null,
"community_icon": "https://www.reddit.com/r/test/comments/1sys4r2/image_post/",
"banner_background_image": "https://www.reddit.com/r/test/comments/1sys4r2/image_post/",
"header_title": "Ass Credit",
"community_reviewed": true,
"submit_text": "**test is all about DISCUSSION. Your post needs to inspire discussion, ask an open-ended question that prompts redditors to share ideas or opinions.**\n\n**Questions need to be neutral and the question alone.** Any opinion or answer must go as a reply to your question, this includes examples or any kind of story about you. This is so that all responses will be to your question, and there's noth\u2026",
"description_html": "<!-- SC_OFF --><div class=\"md\"><h6><a href=\"http://www.reddit.com/r/test/submit?selftext=true&amp;title=%5BSerious%5D\"> [ SERIOUS ] </a></h6>\n\n<h5><a href=\"https://www.reddit.com/r/test/wiki/index#wiki_rules\">Rules</a>:</h5>\n\n<ol>\n<li><p>You must post a clear and direct question in the title. The title may \u2026",
"spoilers_enabled": true,
"allow_talks": false,
"header_size": [
125,
73
],
"user_flair_position": "right",
"all_original_content": false,
"has_menu_widget": false,
"is_enrolled_in_new_modmail": null,
"key_color": "#222222",
"can_assign_user_flair": false,
"created": 1201233135.0,
"show_media_preview": true,
"submission_type": "self",
"user_is_subscriber": null,
"allowed_media_in_comments": [
"video"
],
"allow_videogifs": false,
"should_archive_posts": true,
"user_flair_type": "text",
"allow_polls": false,
"collapse_deleted_comments": true,
"emojis_custom_size": null,
"public_description_html": "<!-- SC_OFF --><div class=\"md\"><p><a href=\"/r/test\">r/test</a> is the place to ask and answer thought-provoking questions.</p>\n</div><!-- SC_ON -->",
"allow_videos": false,
"is_crosspostable_subreddit": false,
"notification_level": "low",
"should_show_media_in_comments_setting": true,
"can_assign_link_flair": false,
"allow_prediction_contributors": false,
"submit_text_label": "Ask a question",
"link_flair_position": "right",
"user_sr_flair_enabled": null,
"user_flair_enabled_in_sr": false,
"allow_discovery": true,
"accept_followers": true,
"user_sr_theme_enabled": true,
"link_flair_enabled": true,
"subreddit_type": "public",
"suggested_comment_sort": null,
"banner_img": "https://www.reddit.com/r/test/comments/1sys4r2/image_post/",
"user_flair_text": null,
"banner_background_color": "#d4eaff",
"show_media": false,
"id": "2qh1i",
"user_is_moderator": null,
"over18": false,
"description": "###### [ [ SERIOUS ] ](http://www.reddit.com/r/test/submit?selftext=true&title=%5BSerious%5D)\n\n\n##### [Rules](https://www.reddit.com/r/test/wiki/index#wiki_rules):\n1. You must post a clear and direct question in the title. The title may contain two, short, necessary context sentences.\nNo text is allowed in the textbox. Your thoughts/responses to the question can go in the comments se\u2026",
"submit_link_label": "",
"user_flair_text_color": null,
"restrict_commenting": false,
"user_flair_css_class": null,
"allow_images": false,
"lang": "es",
"url": "/r/test/",
"created_utc": 1201233135.0,
"banner_size": [
1280,
384
],
"mobile_banner_image": "",
"user_is_contributor": null,
"allow_predictions_tournament": false
},
{
"user_flair_background_color": null,
"submit_text_html": "<!-- SC_OFF --><div class=\"md\"><p>Gracias por postear en <a href=\"/r/AskRedditespanol\">/r/AskRedditespanol</a>, por favor tome un momento de leer las <a href=\"https://www.reddit.com/r/AskRedditespanol/about/rules/\">reglas</a> antes de compartir su pregunta</p>\n</div><!-- SC_ON -->",
"restrict_posting": true,
"user_is_banned": null,
"wiki_enabled": true,
"user_is_muted": null,
"user_can_flair_in_sr": null,
"display_name": "AskRedditespanol",
"header_img": null,
"title": "test Espa\u00f1ol",
"original_content_tag_enabled": false,
"allow_galleries": false,
"icon_size": null,
"primary_color": "#660012",
"icon_img": "",
"display_name_prefixed": "r/AskRedditespanol",
"public_traffic": false,
"subscribers": 214018,
"user_flair_richtext": [],
"name": "t5_examples",
"quarantine": false,
"hide_ads": false,
"prediction_leaderboard_entry_type": 2,
"emojis_enabled": true,
"advertiser_category": "",
"public_description": "\u00a1Bienvenido!\nSi est\u00e1s buscando un lugar donde intercambiar preguntas y respuestas, y adem\u00e1s eres hispanohablante, \nr/AskRedditespanol es el lugar ideal, ponte c\u00f3modo.",
"comment_score_hide_mins": 10,
"allow_predictions": false,
"user_has_favorited": null,
"user_flair_template_id": null,
"community_icon": "https://www.reddit.com/r/test/comments/1sys4r2/image_post/",
"banner_background_image": "https://www.reddit.com/r/test/comments/1sys4r2/image_post/",
"header_title": "",
"community_reviewed": true,
"submit_text": "Gracias por postear en /r/AskRedditespanol, por favor tome un momento de leer las [reglas](https://www.reddit.com/r/AskRedditespanol/about/rules/) antes de compartir su pregunta",
"description_html": null,
"spoilers_enabled": true,
"allow_talks": false,
"header_size": null,
"user_flair_position": "right",
"all_original_content": false,
"has_menu_widget": false,
"is_enrolled_in_new_modmail": null,
"key_color": "#24a0ed",
"can_assign_user_flair": true,
"created": 1373822515.0,
"show_media_preview": true,
"submission_type": "self",
"user_is_subscriber": null,
"allowed_media_in_comments": [
"giphy",
"static",
"\u2026 (3 more items)"
],
"allow_videogifs": false,
"should_archive_posts": true,
"user_flair_type": "text",
"allow_polls": true,
"collapse_deleted_comments": true,
"emojis_custom_size": null,
"public_description_html": "<!-- SC_OFF --><div class=\"md\"><p>\u00a1Bienvenido!\nSi est\u00e1s buscando un lugar donde intercambiar preguntas y respuestas, y adem\u00e1s eres hispanohablante, \n<a href=\"/r/AskRedditespanol\">r/AskRedditespanol</a> es el lugar ideal, ponte c\u00f3modo.</p>\n</div><!-- SC_ON -->",
"allow_videos": false,
"is_crosspostable_subreddit": false,
"notification_level": null,
"should_show_media_in_comments_setting": true,
"can_assign_link_flair": true,
"allow_prediction_contributors": false,
"submit_text_label": "",
"link_flair_position": "right",
"user_sr_flair_enabled": null,
"user_flair_enabled_in_sr": false,
"allow_discovery": true,
"accept_followers": true,
"user_sr_theme_enabled": true,
"link_flair_enabled": true,
"subreddit_type": "public",
"suggested_comment_sort": "top",
"banner_img": "",
"user_flair_text": null,
"banner_background_color": "#ea0027",
"show_media": true,
"id": "2xv6d",
"user_is_moderator": null,
"over18": false,
"description": "",
"submit_link_label": "",
"user_flair_text_color": null,
"restrict_commenting": false,
"user_flair_css_class": null,
"allow_images": false,
"lang": "es",
"url": "/r/AskRedditespanol/",
"created_utc": 1373822515.0,
"banner_size": null,
"mobile_banner_image": "https://www.reddit.com/r/test/comments/1sys4r2/image_post/",
"user_is_contributor": null,
"allow_predictions_tournament": false
},
"\u2026 (8 more items)"
]
},
"error": null,
"timestamp": "2026-04-29T08:58:57.020979+00:00"
}