curl --request POST \
--url https://api.aisa.one/apis/v1/themoviedb-org/films/get-title \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"media_type": "movie",
"tmdb_id": 220
}
'import requests
url = "https://api.aisa.one/apis/v1/themoviedb-org/films/get-title"
payload = {
"media_type": "movie",
"tmdb_id": 220
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({media_type: 'movie', tmdb_id: 220})
};
fetch('https://api.aisa.one/apis/v1/themoviedb-org/films/get-title', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/themoviedb-org/films/get-title",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'media_type' => 'movie',
'tmdb_id' => 220
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/themoviedb-org/films/get-title"
payload := strings.NewReader("{\n \"media_type\": \"movie\",\n \"tmdb_id\": 220\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/themoviedb-org/films/get-title")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"media_type\": \"movie\",\n \"tmdb_id\": 220\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/themoviedb-org/films/get-title")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"media_type\": \"movie\",\n \"tmdb_id\": 220\n}"
response = http.request(request)
puts response.read_bodyGet title
Details of a known movie or show: when it came out, what it is about, who is in it, how it is rated, and whether TMDB shows it as streaming.
curl --request POST \
--url https://api.aisa.one/apis/v1/themoviedb-org/films/get-title \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"media_type": "movie",
"tmdb_id": 220
}
'import requests
url = "https://api.aisa.one/apis/v1/themoviedb-org/films/get-title"
payload = {
"media_type": "movie",
"tmdb_id": 220
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({media_type: 'movie', tmdb_id: 220})
};
fetch('https://api.aisa.one/apis/v1/themoviedb-org/films/get-title', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/themoviedb-org/films/get-title",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'media_type' => 'movie',
'tmdb_id' => 220
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/themoviedb-org/films/get-title"
payload := strings.NewReader("{\n \"media_type\": \"movie\",\n \"tmdb_id\": 220\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/themoviedb-org/films/get-title")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"media_type\": \"movie\",\n \"tmdb_id\": 220\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/themoviedb-org/films/get-title")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"media_type\": \"movie\",\n \"tmdb_id\": 220\n}"
response = http.request(request)
puts response.read_bodyRequest contract
- Method and path: POST /apis/v1/themoviedb-org/films/get-title
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/themoviedb-org/films/get-title
{
"operationId": "themoviedb-org.films.get-title",
"method": "POST",
"path": "/apis/v1/themoviedb-org/films/get-title",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"media_type": "movie",
"tmdb_id": 220
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"media_type": {
"description": "Required with tmdb_id when no url is given.\n\nProvider reference: allowed values [\"movie\", \"tv\"].",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body",
"oneOf": [
"movie",
"tv"
]
}
},
"tmdb_id": {
"description": "TMDB id of the movie or show.\n\nProvider reference: minimum 1.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"min": 1
}
},
"url": {
"description": "A themoviedb.org movie or TV URL (https://www.themoviedb.org/movie/220-east-of-eden); alternative to media_type + tmdb_id.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
}
},
"type": "object"
}
}
},
"required": false
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
A themoviedb.org movie or TV URL (https://www.themoviedb.org/movie/220-east-of-eden); alternative to media_type + tmdb_id.
Response
One movie or TV show from its TMDB page: title, original title, year, release / first and last air dates, tagline, overview, status, genres, certification, runtime, user score (percent and 0-10 average with vote count), poster and backdrop, homepage and JustWatch links, keywords, top-billed cast, featured crew (directors, writers, creators), networks and episode count for TV, budget and revenue for movies, and the page's streaming summary (e.g. 'Now Streaming on Netflix'). Addressed by media_type + tmdb_id or by a pasted themoviedb.org URL.
The response contains the tool result directly.
| Documented field | Provider type | Description |
|---|---|---|
backdrop_url | string | |
budget_usd | number | Movies: the Budget fact in US dollars; null when TMDB shows '-'. |
certification | string | US certification as shown in the header (PG, R, TV-MA, ...). |
featured_crew | object[] | The people listed under the overview with their jobs (Director, Screenplay, Creator, ...). |
first_air_date | string | TV: ISO first air date; null for movies. |
genres | string[] | |
homepage | string | |
justwatch_url | string | |
keywords | string[] | |
last_air_date | string | TV: ISO last air date; null for movies and shows without one. |
media_type | string | |
networks | object[] | TV only: the networks listed in the facts column. |
number_of_episodes | number | TV only. |
observed_at_ms | number | |
original_language | string | |
original_title | string | Shown by TMDB only when it differs from the displayed title; null otherwise. |
overview | string | |
poster_url | string | |
release_date | string | Movies: ISO release date TMDB publishes in its schema.org data; null for TV and undated movies. |
revenue_usd | number | |
runtime_minutes | number | |
status | string | Released, Post Production, Returning Series, Ended, ... |
tagline | string | |
title | string | |
tmdb_id | number | |
top_cast | object[] | The page's Top Billed Cast strip (up to 9 people). |
type | string | TV only: Scripted, Miniseries, Documentary, ... |
url | string | Canonical TMDB page URL. |
user_score_percent | number | The header's User Score percentage; null when the title has no score yet. |
vote_average | number | 0-10 average from the page's schema.org aggregateRating. |
vote_count | number | |
watch_summary | object | The page header's JustWatch-backed offer summary for the US; null when TMDB shows none. |
year | number |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.