Texts
GET/v1.3/titles/{type}/{id}/texts
Facts, questions with answers and quotes about a title.
Without parameters the texts come split into sections: facts, questions and answers, quotes. counts is how many texts of each kind the title has, with any kind: label your tabs with it.
Texts are in Russian only for now: the _en fields are null. With lang=en the text comes back empty, which shows there is no translation yet.
On The Matrix, one fact in four gives the plot away. To show facts next to the overview, drop the spoilers: spoilers=false.
Path parameters
typestringrequiredThe catalog the ID comes from: IMDb, Kinopoisk, TMDB (movie or series) or Kinorium.
imdbkptmdbtmdb_tvkinoriumidstringrequiredThe ID in that catalog. IMDb IDs are
ttfollowed by digits (tt1375666); the others are digits (447301).
Query parameters
kindcsvKinds of text, comma-separated. Labels are in
/enums, settext_kinds.factfaqquoteDefault:all three
Example:kind=quotespoilersbooleanfalsedrops facts that give the plot away.Default:with spoilers
Example:spoilers=falsefact_kindcsvFact subtypes, comma-separated. Labels are in
/enums, setfact_kinds.generaltriviablooperExample:fact_kind=bloopergroupenumSplit the list into sections.
nonegives a flat list. How sections work is in Lists and pagination.kindnoneDefault:kindlangru | enKeep one language in the response. Without it, text fields come in
_ruand_enpairs. More in Response languages.Example:lang=enlimitintegerHow many items to return, a whole number from 1. With sections, per section, up to 50. In a flat list, up to 1000. Above the cap isn’t an error: the API lowers it and shows the value in
limit.Default:10 per section, 1000 in a flat list
Example:limit=20offsetintegerHow many items to skip, a whole number from 0. Only in a flat list: with sections it returns
400.Default:0
Response fields
countsobjectHow many facts, questions and quotes the title has:
fact,faq,quote.itemsarrayThe texts. Fields depend on the kind,
kind. With sections, sections with their owntotaland labels.Show 17 fields
kindenumKind:
fact,faqorquote.text_ru · text_enstring | nullThe fact or the quote.
fact_kindenumFact subtype:
general,triviaorblooper.is_spoilerbooleanThe fact gives the plot away.
falsemeans the source didn’t mark it so.ordintegerThe fact’s order at the source.
question_ru · question_en · answer_ru · answer_enstring | nullThe question and the answer.
linksarrayWho the answer mentions:
textas written,type, and IDs with a name, as for a person in the cast.original · original_langstring | nullThe quote in the original language, and that language as ISO 639-1.
author_ru · author_enstring | nullWho says the quote: the actor.
author_role_ru · author_role_enstring | nullThe character the quote belongs to.
total · limit · offset · has_morePaging, as in every list.
Errors
| status | code | when |
|---|---|---|
| 400 | invalid_request | An unknown |
| 404 | not_found | No title found for this ID. |
| 401 | unauthorized | The |
| 429 | rate_limited | The per-second rate limit or the daily quota is used up. |
Every code and what to do about it is on the Errors page.