Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Reddit Post Transcript

Tài liệu API
https://api.sandbase.ai/v1/api/reddit/post-transcript

Extract the spoken transcript from a Reddit video post by URL.

Giá
Từ $0.0012USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 1 tùy chọn

Phòng thử nghiệm

Đầu vào
Reddit post URL or direct v.redd.it video URL to transcribe.
Optional two-letter language code (defaults to en).
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

Reddit Post Transcript API

This API returns the spoken transcript of a Reddit video post as plain text. It needs the post URL or a direct v.redd.it video URL, and it accepts an optional two-letter language code.

Use cases

  • Search the spoken content of Reddit clips for names, quotes or topics.
  • Add text captions or summaries to videos from a subreddit you track.
  • Feed video speech into a sentiment or topic analysis alongside the post's comments.
  • Archive the words of a video post as text before the post is removed.

Request

curl -X POST "https://api.sandbase.ai/v1/api/reddit/post-transcript" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://www.reddit.com/r/youseeingthisshit/comments/1oiu9xm/"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
urlstringYesReddit post URL or direct v.redd.it video URL to transcribe.
languagestringNoOptional two-letter language code (defaults to en).

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "language": "en",
    "postId": "1oiu9xm",
    "transcript": "stop on third down and now Barnhart I hanging spiraling punts touch back Barnhar…",
    "transcriptNotAvailable": false,
    "url": "https://www.reddit.com/r/youseeingthisshit/comments/1oiu9xm/"
  },
  "found": true
}

Response fields

FieldMeaning
data.transcriptThe spoken text of the video as one string. Use it as the main output of the call.
data.transcriptNotAvailableA boolean flag. When true, the post has no transcript to return, so check it before you read data.transcript.
data.languageThe two-letter language code of the transcript, for example en.
data.postIdThe Reddit post ID taken from the URL, for example 1oiu9xm. Use it to match the transcript to other post data.
data.urlThe post URL that the transcript belongs to.
foundA boolean that shows whether the lookup found the post. It is true when a result came back.

Notes

  • Copy the url from the address bar of a Reddit video post, or pass a direct v.redd.it link.
  • Leave language out to use the default en. Set it to another two-letter code to change the transcript language.
  • To get the title, score and author of the same post, call Reddit Post or Reddit Post Details.
  • To read the discussion under the video, call Reddit Post Comments.

Pricing

Billed at the actual cost of each call, about $0.0012 for the request above. Failed calls are not charged.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
RedditTừ $0.0012 mỗi lần gọiJSON
Reddit$0.001 mỗi lần gọiJSON
Reddit$0.001 mỗi lần gọiJSON
Reddit$0.001 mỗi lần gọiJSON
Reddit$0.001 mỗi lần gọiJSON
Reddit$0.001 mỗi lần gọiJSON

Hướng dẫn:Best Reddit API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API Reddit Post Transcript?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/reddit/post-transcript với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Reddit Post Transcript có giá bao nhiêu?

Từ $0.0012 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Reddit Post Transcript chấp nhận những tham số nào?

Bắt buộc: url (string). Tùy chọn: language (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Reddit Post Transcript trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Reddit không?

Không. Reddit Post Transcript chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Reddit.