Transcript API Documents > Transcript API

Transcript API Documents

Transcript API

The transcript API allows you to get Captions & Subtitles created by SubPLY

This data can be used in various ways:

  • Upload to YouTube in order to allows captions on their video player
  • Use as the subtitle source for players supporting the SRT format
  • Embed in your site to increate SEO dramatically

SubPLY can currently supply your data in the following formats:

  • Standard SRT
  • YouTube SRT
  • Plain Transcript/Text
  • XML
  • DFXP
  • Combined DFXP
  • RSS
  • JSON

REST Interface:

http://api.subply.com/content/{format}/{language}?url={url}

Parameters:

Language - Language code representing the result requested language (click here for a list of Language Code).

Format types
FormatDescription
srtStardard SRT File
youtubeYouTube SRT File
transcriptPlain Transcript
xmlXML Format
txtSimple Text
dfxpDFXP Standard
combdfxpCombined DFXP (multiple languages)
js/html5a JSONP function with JSON Data
rssRSS Standard feed

URL - The URL as sent to SubPLY in order to produce the Captions/Subtitles

Example:

http://api.subply.com/content/srt/eng?url=http%3a%2f%2fwww.youtube.com%2fwatch%3fv%3dhrixBl5PgNg

Result:

A Text result in the requested format. Following is the result from the above example:

1
00:00:00,000 --> 00:00:03,000
Captions by www.SubPLY.com
. . . . . . . . . . . . .

2
00:00:49,890 --> 00:00:58,600
I heard he sang a good song
I heard he had a style

3
00:00:59,740 --> 00:01:08,550
And so I came to see him
and listen for a while

4
00:01:08,830 --> 00:01:18,710
And there he was, this young boy
a stranger to my eyes