Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Reddit Post Transcript

Dokumentacja API
https://api.sandbase.ai/v1/api/reddit/post-transcript

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

Cena
Od $0.0012USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 1 opcjonalnych

Playground

Wejście
Reddit post URL or direct v.redd.it video URL to transcribe.
Optional two-letter language code (defaults to en).
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

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.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
RedditOd $0.0012 za wywołanieJSON
Reddit$0.001 za wywołanieJSON
Reddit$0.001 za wywołanieJSON
Reddit$0.001 za wywołanieJSON
Reddit$0.001 za wywołanieJSON
Reddit$0.001 za wywołanieJSON

Przewodniki:Best Reddit API in 2026: Pricing Compared

Pytania

FAQ

Jak używać API Reddit Post Transcript?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/reddit/post-transcript z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API Reddit Post Transcript?

Od $0.0012 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API Reddit Post Transcript?

Wymagane: url (string). Opcjonalne: language (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Reddit Post Transcript?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego Reddit lub klucza API?

Nie. Reddit Post Transcript działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Reddit.