urlstringобязательно
Tweet URL of the video to transcribe (e.g. https://x.com/TheoVon/status/1916982720317821050).
https://api.sandbase.ai/v1/api/twitter/tweet-transcriptExtract the spoken transcript from a Twitter/X video tweet by URL.
Ваш результат появится здесь
Заполните входные данные, затем нажмите «Запустить».
Returns the spoken transcript of a video posted on X (Twitter) as plain text. It needs the url of the tweet that contains the video.
curl -X POST "https://api.sandbase.ai/v1/api/twitter/tweet-transcript" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://x.com/TheoVon/status/1916982720317821050"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes | Tweet URL of the video to transcribe (e.g. https://x.com/TheoVon/status/1916982720317821050). |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"transcript": "Since you're kind of like a leader in innovation and technology, in our world, y…"
},
"found": true
}
| Field | Meaning |
|---|---|
data.transcript | The spoken words from the tweet video as one text string. It includes filler words such as "Um", so the text reads like raw speech. |
found | true when the lookup returned a result. A lookup that finds nothing returns false. |
url, in the form https://x.com/<user>/status/<tweet id>.transcript string.Billed at the actual cost of each call, about $0.0012 for the request above. Failed calls are not charged.
Начните разработку
Конечная точка платформенного API с единообразной аутентификацией и учётом использования.
curl -X POST "https://api.sandbase.ai/v1/api/twitter/tweet-transcript" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://x.com/TheoVon/status/1916982720317821050"
}'Укажите свой ключ SandBase API в окружении сервера. Запросы используют аутентификацию Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Храните ключ на сервере. Не раскрывайте его в коде браузера.
urlstringобязательноTweet URL of the video to transcribe (e.g. https://x.com/TheoVon/status/1916982720317821050).
Сохранённый пример ответа для этого API; при просмотре живой запрос не выполняется.
Сохранённый ответ не опубликован. Запустите API в Playground, чтобы посмотреть его ответ.
Посмотреть больше
| API | Цена | Ответ |
|---|---|---|
X (Twitter) | От $0.0012 за запрос | JSON |
X (Twitter) | От $0.00054 за запрос | JSON |
Twitter | От $0.0006 за запрос | Асинхронный JSON |
X (Twitter) | От $0.0001 за запрос | JSON |
X (Twitter) | От $0.0036 за запрос | JSON |
X (Twitter) | От $0.00045 за запрос | JSON |
Руководства:X API alternative: pay per call, not per postBest Twitter API in 2026: X API Pricing Compared
Вопросы
Отправьте POST-запрос на https://api.sandbase.ai/v1/api/twitter/tweet-transcript, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.
От $0.0012 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.
Обязательные: url (string). В таблице Parameters и в Playground на этой странице перечислены все поля.
JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.
Нет. X (Twitter) Twitter Tweet Transcript работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API X (Twitter).