Platforms · X (Twitter)

X (Twitter) Post Transcript Scraper API

Returns the spoken words from a video attached to a post, auto-generated captions included. Every one of these outcomes is deterministic, so retrying returns the same answer. A video over 2 minutes is transcribed on demand and can take a minute or more, so allow up to 300 seconds before your HTTP client times out.

GET /api/v1/data/x/post-transcript · 10 credits per call · The same call repeated within 30 days may get the same answer, so data can be up to 30 days old.

Inputs

  • url (required): Full URL of the post containing a video

What comes back

  • result_status (string): success, or not_available when the item does not exist, was removed or is not public.
  • source_data.transcript (string)
  • source_data (object): Everything the platform sent for this call, as it came.

Good to know

  • Each call costs 10 credits. A call that finds nothing, or fails, is free.
  • The same call repeated within 30 days may get the same answer, so data can be up to 30 days old.

Example call

GET /api/v1/data/x/post-transcript?url=https%3A%2F%2Fx.com%2FTheoVon%2Fstatus%2F1916982720317821050

Questions

How much does the X (Twitter) Post Transcript API cost?

Each call costs 10 credits. A call that finds nothing, or fails, costs nothing.

What do I send?

You must send url. Inputs go in the query string of a GET, or as JSON in a POST, along with your API key.

How fresh is the data?

The same call repeated within 30 days may get the same answer, so data can be up to 30 days old.

Do I need an X (Twitter) account or developer app?

No. You call SocialHz with your SocialHz API key, and the same key works for every platform.

Can I try it before paying?

Yes. Signing up gives you 10 free credits, with no card needed.

Related X (Twitter) endpoints

More X (Twitter) scraper APIs