Spoken-word transcript of a public X / Twitter video post, from its URL.
curl -X POST "https://api.primaryapi.com/v1/run/twitter.tweet_transcript" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://x.com/TheoVon/status/1916982720317821050"}'{
"output": {
"found": true,
"data": {
"transcript": "<string>"
}
},
"credits": 3
}Input and output
1 field
https://x.com/TheoVon/status/1916982720….1 field
Good to know
Videos up to 120 s are transcribed for 1 credit. Longer videos come back without a transcript because the paid allow_long_transcription mode (10 credits per started minute) is not enabled.
No transcript = no charge.
Transcribing third-party video. Callers must hold the rights they need.
Unknown URL? It comes back as not found, not as an error.
The same key and credits work for every API.