Skip to Content
IntroDB API

Submitting

Send segment timestamps with an API key.

POST /submit takes JSON and an X-API-Key header. See authentication for getting a key.

Body

FieldTypeNotes
imdb_idstringRequired. IMDb id, e.g. tt0903747.
segment_typestringRequired. intro, recap, outro or post-credits.
start_secnumber or stringRequired. Segment start.
end_secnumber or stringRequired. Segment end.
seasonintegerRequired for TV.
episodeintegerRequired for TV.
is_moviebooleantrue for movies. Leave out season and episode.
tvdb_id, tmdb_idintegerOptional. Helps match the title.

Season and episode numbers

season and episode follow TVDB aired order, not DVD, absolute or a streaming service's own numbering. Players that number by "part" or "volume" (Netflix often does) need to map to aired order first. For example, Lupin Part 4 is season 3 in aired order. Anything else is rejected with a message naming the seasons that exist, e.g. Season 4 doesn't exist for this show. IntroDB uses TVDB aired order: 3 seasons (10, 7, 8 episodes).

Pass tvdb_id when you have it so the lookup doesn't depend on the IMDb mapping.

Time formats

start_sec and end_sec take plain seconds (150, 2.5) or clock strings (2:30, 1:02:30).

Allowed lengths

SegmentMinMax
Intro5s180s (300s for Arabic titles)
Recap5s480s
Outro / end credits5s900s
Post-credits5s600s

Examples

TV recap
{
  "imdb_id": "tt0903747",
  "segment_type": "recap",
  "season": 1,
  "episode": 2,
  "start_sec": 30,
  "end_sec": 135
}
Movie end credits
{
  "imdb_id": "tt0371746",
  "is_movie": true,
  "segment_type": "outro",
  "start_sec": "1:59:00",
  "end_sec": "2:06:00"
}

What happens next

A submission that agrees with the existing timestamps goes live straight away. One that's far off goes to the review queue, where the community votes on it.

On this page