Posting V1
Create Video Post V1
Create a video post. Pass media_url (video URL) or base64_data. Requires bearer token.
POST /api/v1/publishing/video
Create a video post. Pass media_url (video URL) or base64_data. Requires bearer token.
Body parameters
| Name | Type | Required | Description |
|---|---|---|---|
subreddit | string | Yes | Target subreddit (name, r/name, or URL). |
title | string | Yes | Post title (max 300 chars). |
flair_id | string | No | Flair template ID. |
sendreplies | string | No | Send reply notifications (true/false, default: true). |
base64_data | string | No | Base64-encoded video data. Either this or media_url is required. |
proxy | string | No | Proxy. Optional if stored in Token Vault. |
media_url | string | No | Video URL to upload. Either this or base64_data is required. |
text | string | No | Optional post body text — plain text or Reddit markdown both work. |
is_spoiler | string | No | Mark as spoiler (true/false, default: false). |
flair_text | string | No | Flair display text. |
is_nsfw | string | No | Mark as NSFW (true/false, default: false). |
bearer | string | No | Bearer token. Optional if stored in Token Vault. |
Authentication
| Header | Value |
|---|---|
X-RapidAPI-Key | Your RapidAPI key |
X-RapidAPI-Host | red-crawler1.p.rapidapi.com |
Example request
cURL
curl -X POST "https://red-crawler1.p.rapidapi.com/api/v1/publishing/video" \
-H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \
-H "X-RapidAPI-Host: red-crawler1.p.rapidapi.com" \
-H "Content-Type: application/json" \
--data '{"subreddit": "test", "title": "<title>", "flair_id": "<flair_id>", "sendreplies": "<sendreplies>", "base64_data": "<base64_data>", "proxy": "<proxy>", "media_url": "<media_url>", "text": "<text>", "is_spoiler": "<is_spoiler>", "flair_text": "<flair_text>", "is_nsfw": "<is_nsfw>", "bearer": "<bearer>"}'JavaScript
const res = await fetch("https://red-crawler1.p.rapidapi.com/api/v1/publishing/video", {
method: "POST",
headers: {
"X-RapidAPI-Key": "YOUR_RAPIDAPI_KEY",
"X-RapidAPI-Host": "red-crawler1.p.rapidapi.com"
},
body: JSON.stringify({
"subreddit": "test",
"title": "<title>",
"flair_id": "<flair_id>",
"sendreplies": "<sendreplies>",
"base64_data": "<base64_data>",
"proxy": "<proxy>",
"media_url": "<media_url>",
"text": "<text>",
"is_spoiler": "<is_spoiler>",
"flair_text": "<flair_text>",
"is_nsfw": "<is_nsfw>",
"bearer": "<bearer>"
})
});
const data = await res.json();
console.log(data);Python
import requests
url = "https://red-crawler1.p.rapidapi.com/api/v1/publishing/video"
headers = {
"X-RapidAPI-Key": "YOUR_RAPIDAPI_KEY",
"X-RapidAPI-Host": "red-crawler1.p.rapidapi.com",
"Content-Type": "application/json"
}
payload = {
"subreddit": "test",
"title": "<title>",
"flair_id": "<flair_id>",
"sendreplies": "<sendreplies>",
"base64_data": "<base64_data>",
"proxy": "<proxy>",
"media_url": "<media_url>",
"text": "<text>",
"is_spoiler": "<is_spoiler>",
"flair_text": "<flair_text>",
"is_nsfw": "<is_nsfw>",
"bearer": "<bearer>"
}
resp = requests.post(url, headers=headers, json=payload)
print(resp.json())Example response
HTTP 200 — captured from a live call to the gateway.
{
"success": true,
"data": {
"json": {
"errors": [],
"data": {
"user_submitted_page": "https://www.reddit.com/user/Motor_Tip8865/submitted/",
"websocket_url": "wss://k8s-lb.wss.redditmedia.com/cnskeusbt5yg1?m=AQAAxznyaUU8vk2xztgU2HEU2lueHLBcKPHpobhJ8whq05KSFHTK"
}
}
},
"error": null,
"meta": {
"websocket_url": "wss://k8s-lb.wss.redditmedia.com/cnskeusbt5yg1?m=AQAAxTnyaZqBkgFDUsMd6deRT_aR_f6hKkKb9MmOIKmvNSBPM_7_"
},
"timestamp": "2026-04-29T16:53:03.747873+00:00"
}