curl --request POST \
--url https://api.aisa.one/apis/v1/themoviedb-org/films/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "East of Eden"
}
'import requests
url = "https://api.aisa.one/apis/v1/themoviedb-org/films/search"
payload = { "query": "East of Eden" }
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({query: 'East of Eden'})
};
fetch('https://api.aisa.one/apis/v1/themoviedb-org/films/search', 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/search",
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([
'query' => 'East of Eden'
]),
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/search"
payload := strings.NewReader("{\n \"query\": \"East of Eden\"\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/search")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"query\": \"East of Eden\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/themoviedb-org/films/search")
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 \"query\": \"East of Eden\"\n}"
response = http.request(request)
puts response.read_body{
"media_type": "multi",
"observed_at_ms": 1791923448884,
"query": "East of Eden",
"results": [
{
"known_for": [],
"known_for_department": null,
"media_type": "movie",
"original_title": "East of Eden",
"overview": "In the Salinas Valley in and around World War I, Cal Trask feels he must compete against overwhelming odds with his brother for the love of their father. Cal is frustrated at every turn, from his reaction to the war, how to get ahead in business and in life, and how to relate to his estranged mother.",
"popularity": 14.308,
"poster_url": "https://media.themoviedb.org/t/p/w500/xv1MZVIop0SQqwLUymgE5eb2LFl.jpg",
"release_date": "1955-04-10",
"title": "East of Eden",
"tmdb_id": 220,
"url": "https://www.themoviedb.org/movie/220",
"vote_average": 7.527,
"vote_count": 842,
"year": 1955
},
{
"known_for": [],
"known_for_department": null,
"media_type": "tv",
"original_title": "East of Eden",
"overview": "In the early 1900s, a fiercely independent woman drives a rift between two brothers, igniting a saga that unfolds across two generations.",
"popularity": 79.0867,
"poster_url": "https://media.themoviedb.org/t/p/w500/axdUor6gLMTrrB1UF4Qfy0TTSyX.jpg",
"release_date": "2026-10-01",
"title": "East of Eden",
"tmdb_id": 258165,
"url": "https://www.themoviedb.org/tv/258165",
"vote_average": 8,
"vote_count": 70,
"year": 2026
}
]
}Search
Resolve a title or person name to a TMDB id and media type before calling get_title, get_credits, get_watch_providers, get_release_dates, get_person or get_season.
curl --request POST \
--url https://api.aisa.one/apis/v1/themoviedb-org/films/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "East of Eden"
}
'import requests
url = "https://api.aisa.one/apis/v1/themoviedb-org/films/search"
payload = { "query": "East of Eden" }
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({query: 'East of Eden'})
};
fetch('https://api.aisa.one/apis/v1/themoviedb-org/films/search', 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/search",
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([
'query' => 'East of Eden'
]),
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/search"
payload := strings.NewReader("{\n \"query\": \"East of Eden\"\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/search")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"query\": \"East of Eden\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/themoviedb-org/films/search")
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 \"query\": \"East of Eden\"\n}"
response = http.request(request)
puts response.read_body{
"media_type": "multi",
"observed_at_ms": 1791923448884,
"query": "East of Eden",
"results": [
{
"known_for": [],
"known_for_department": null,
"media_type": "movie",
"original_title": "East of Eden",
"overview": "In the Salinas Valley in and around World War I, Cal Trask feels he must compete against overwhelming odds with his brother for the love of their father. Cal is frustrated at every turn, from his reaction to the war, how to get ahead in business and in life, and how to relate to his estranged mother.",
"popularity": 14.308,
"poster_url": "https://media.themoviedb.org/t/p/w500/xv1MZVIop0SQqwLUymgE5eb2LFl.jpg",
"release_date": "1955-04-10",
"title": "East of Eden",
"tmdb_id": 220,
"url": "https://www.themoviedb.org/movie/220",
"vote_average": 7.527,
"vote_count": 842,
"year": 1955
},
{
"known_for": [],
"known_for_department": null,
"media_type": "tv",
"original_title": "East of Eden",
"overview": "In the early 1900s, a fiercely independent woman drives a rift between two brothers, igniting a saga that unfolds across two generations.",
"popularity": 79.0867,
"poster_url": "https://media.themoviedb.org/t/p/w500/axdUor6gLMTrrB1UF4Qfy0TTSyX.jpg",
"release_date": "2026-10-01",
"title": "East of Eden",
"tmdb_id": 258165,
"url": "https://www.themoviedb.org/tv/258165",
"vote_average": 8,
"vote_count": 70,
"year": 2026
}
]
}Request contract
- Method and path: POST /apis/v1/themoviedb-org/films/search
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/themoviedb-org/films/search
{
"operationId": "themoviedb-org.films.search",
"method": "POST",
"path": "/apis/v1/themoviedb-org/films/search",
"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": {
"query": "East of Eden"
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"media_type": {
"description": "Keep only hits of this media type; default `multi` keeps every type.\n\nProvider reference: allowed values [\"multi\", \"movie\", \"tv\", \"person\"].",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body",
"oneOf": [
"multi",
"movie",
"tv",
"person"
]
}
},
"query": {
"description": "Title or person name to search for; must contain a non-whitespace character.",
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
}
}
},
"required": true
},
"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
Response
Search TMDB for movies, TV shows and people by name through the site's suggest endpoint (one page of up to about 10 hits, ranked as the site ranks them). Each hit carries the TMDB id and media type needed by the other functions, the title, year, overview, poster, vote average and count. People carry their known-for department and up to three known-for titles. An unknown name returns an empty list.
The response contains the tool result directly.
The provider identifies results as the primary payload key.
| Documented field | Provider type | Description |
|---|---|---|
known_for | object[] | People only: the titles TMDB lists them as known for; empty for titles. |
known_for_department | string | People only (e.g. Acting, Directing); null for titles. |
media_type | string | |
original_title | string | |
overview | string | |
popularity | number | |
poster_url | string | w500 poster (or w500 profile image for people). |
release_date | string | ISO date: a movie's release date or a show's first air date; null for people and undated titles. |
title | string | Movie title, TV show name or person name. |
tmdb_id | number | TMDB id; with media_type it keys every other function. |
url | string | Canonical TMDB page URL. |
vote_average | number | TMDB user score on the 0-10 scale; null for people. |
vote_count | number | |
year | number | Year of release_date; null for people and undated titles. |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.