# TMDB on Onekey > 12 endpoints for TMDB (0 stable, 12 beta), 1 to 5 credits each. Category: Entertainment, art & culture. One key, one JSON shape. Base URL: https://api.onekey.dev Auth: header `x-api-key: `. Call shape: `GET /v1/{platform}/{endpoint}?{params}`. Every response is `{success, data, metadata, error}`; check `success` first. Cost is in `metadata.credits_charged`. Free when served from cache (0.2 credit for a cached response over 100 KB). Failed and not-found calls are refunded. Status: stable = verified against the live source; beta = not yet verified, fields may be missing. Page: https://onekey.dev/platforms/tmdb Reference (Markdown): https://onekey.dev/docs/api/tmdb.md All docs: https://onekey.dev/llms.txt ## Canonical fields returned Unified-schema fields (same names on every platform), with how many of the 12 mapped TMDB endpoints return each: - `content.id` (string): 8 - `content.releaseDate` (ISO 8601 date): 8 - `content.text` (string): 8 - `content.title` (string): 8 - `engagement.votes` (integer): 8 - `entity.stats.rating` (number): 8 - `entity.stats.popularity` (number): 6 - `author.displayName` (string): 3 - `author.id` (string): 3 - `author.bio` (string): 1 - `author.birthDate` (ISO 8601 date): 1 - `entity.id` (string): 1 - `entity.name` (string): 1 - plus 5 platform-specific fields under `ext.` ## Endpoints ### tmdb.movie Movie details (TMDB). - Price: 1 credit per fresh call. Status: beta. Returns: one record. - Request: `GET https://api.onekey.dev/v1/tmdb/movie?id=603` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): TMDB movie id - Fields returned: `content.id`, `content.title`, `content.text`, `content.releaseDate`, `entity.stats.rating`, `engagement.votes`, `entity.stats.popularity`, `ext.posterPath`, `ext.runtime` - Reference: https://onekey.dev/docs/api/tmdb/movie.md ### tmdb.movie_credits Cast of a movie (TMDB). - Price: 5 credits per fresh call. Status: beta. Returns: a list. - Request: `GET https://api.onekey.dev/v1/tmdb/movie_credits?id=603` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): TMDB movie id - Fields returned: `author.id`, `author.displayName`, `ext.character`, `ext.profilePath` - Reference: https://onekey.dev/docs/api/tmdb/movie_credits.md ### tmdb.movie_genres TMDB movie genre list. - Price: 5 credits per fresh call. Status: beta. Returns: a list. - Request: `GET https://api.onekey.dev/v1/tmdb/movie_genres` with header `x-api-key: YOUR_API_KEY` - Parameters: none - Fields returned: `entity.id`, `entity.name` - Reference: https://onekey.dev/docs/api/tmdb/movie_genres.md ### tmdb.movie_popular Popular movies (TMDB). - Price: 5 credits per fresh call. Status: beta. Returns: a list. - Request: `GET https://api.onekey.dev/v1/tmdb/movie_popular` with header `x-api-key: YOUR_API_KEY` - Parameters: none - Fields returned: `content.id`, `content.title`, `content.text`, `content.releaseDate`, `entity.stats.rating`, `engagement.votes`, `entity.stats.popularity`, `ext.posterPath` - Reference: https://onekey.dev/docs/api/tmdb/movie_popular.md ### tmdb.movie_search Search movies (TMDB). - Price: 5 credits per fresh call. Status: beta. Returns: a list. - Request: `GET https://api.onekey.dev/v1/tmdb/movie_search?q=matrix` with header `x-api-key: YOUR_API_KEY` - Parameters: - `q` (string, required): Search query - Fields returned: `content.id`, `content.title`, `content.text`, `content.releaseDate`, `entity.stats.rating`, `engagement.votes`, `entity.stats.popularity`, `ext.posterPath` - Reference: https://onekey.dev/docs/api/tmdb/movie_search.md ### tmdb.movie_similar Movies similar to a movie (TMDB). - Price: 5 credits per fresh call. Status: beta. Returns: a list. - Request: `GET https://api.onekey.dev/v1/tmdb/movie_similar?id=603` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): TMDB movie id - Fields returned: `content.id`, `content.title`, `content.text`, `content.releaseDate`, `entity.stats.rating`, `engagement.votes`, `entity.stats.popularity`, `ext.posterPath` - Reference: https://onekey.dev/docs/api/tmdb/movie_similar.md ### tmdb.person Person details (TMDB). - Price: 1 credit per fresh call. Status: beta. Returns: one record. - Request: `GET https://api.onekey.dev/v1/tmdb/person?id=6384` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): TMDB person id - Fields returned: `author.id`, `author.displayName`, `author.bio`, `author.birthDate`, `ext.placeOfBirth`, `ext.profilePath` - Reference: https://onekey.dev/docs/api/tmdb/person.md ### tmdb.person_search Search people (TMDB). - Price: 5 credits per fresh call. Status: beta. Returns: a list. - Request: `GET https://api.onekey.dev/v1/tmdb/person_search?q=keanu` with header `x-api-key: YOUR_API_KEY` - Parameters: - `q` (string, required): Search query - Fields returned: `author.id`, `author.displayName`, `entity.stats.popularity`, `ext.profilePath` - Reference: https://onekey.dev/docs/api/tmdb/person_search.md ### tmdb.trending_movies Trending movies today (TMDB). - Price: 5 credits per fresh call. Status: beta. Returns: a list. - Request: `GET https://api.onekey.dev/v1/tmdb/trending_movies` with header `x-api-key: YOUR_API_KEY` - Parameters: none - Fields returned: `content.id`, `content.title`, `content.text`, `content.releaseDate`, `entity.stats.rating`, `engagement.votes`, `entity.stats.popularity`, `ext.posterPath` - Reference: https://onekey.dev/docs/api/tmdb/trending_movies.md ### tmdb.tv TV show details (TMDB). - Price: 1 credit per fresh call. Status: beta. Returns: one record. - Request: `GET https://api.onekey.dev/v1/tmdb/tv?id=1396` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): TMDB tv id - Fields returned: `content.id`, `content.title`, `content.text`, `content.releaseDate`, `entity.stats.rating`, `engagement.votes`, `ext.posterPath` - Reference: https://onekey.dev/docs/api/tmdb/tv.md ### tmdb.tv_popular Popular TV shows (TMDB). - Price: 5 credits per fresh call. Status: beta. Returns: a list. - Request: `GET https://api.onekey.dev/v1/tmdb/tv_popular` with header `x-api-key: YOUR_API_KEY` - Parameters: none - Fields returned: `content.id`, `content.title`, `content.text`, `content.releaseDate`, `entity.stats.rating`, `engagement.votes`, `ext.posterPath` - Reference: https://onekey.dev/docs/api/tmdb/tv_popular.md ### tmdb.tv_search Search TV shows (TMDB). - Price: 5 credits per fresh call. Status: beta. Returns: a list. - Request: `GET https://api.onekey.dev/v1/tmdb/tv_search?q=breaking%20bad` with header `x-api-key: YOUR_API_KEY` - Parameters: - `q` (string, required): Search query - Fields returned: `content.id`, `content.title`, `content.text`, `content.releaseDate`, `entity.stats.rating`, `engagement.votes`, `ext.posterPath` - Reference: https://onekey.dev/docs/api/tmdb/tv_search.md ## Sample request ```bash curl "https://api.onekey.dev/v1/tmdb/movie?id=603" \ -H "x-api-key: YOUR_API_KEY" ```