知识与趣味

IMDB热门电影电视剧API API

用强大API获取IMDb最全面排名数据!热门电影剧集乃至最低分剧集,完整娱乐洞察。

请求标头

Name Required Description
X-RapidAPI-Key required Your RapidAPI key. Get one free.
X-RapidAPI-Host required imdb-top-movies-and-tv-shows-api-by-apirobots.p.rapidapi.com

端点

GET /v1/imdb/top/movies

热门电影

代码示例

curl --request GET \
  --url 'https://imdb-top-movies-and-tv-shows-api-by-apirobots.p.rapidapi.com/v1/imdb/top/movies' \
  --header 'x-rapidapi-key: YOUR_API_KEY' \
  --header 'x-rapidapi-host: imdb-top-movies-and-tv-shows-api-by-apirobots.p.rapidapi.com'
GET /v1/imdb/top/movies/random

热门电影

代码示例

curl --request GET \
  --url 'https://imdb-top-movies-and-tv-shows-api-by-apirobots.p.rapidapi.com/v1/imdb/top/movies/random' \
  --header 'x-rapidapi-key: YOUR_API_KEY' \
  --header 'x-rapidapi-host: imdb-top-movies-and-tv-shows-api-by-apirobots.p.rapidapi.com'
GET /v1/imdb/top/tv-shows

热门剧集

代码示例

curl --request GET \
  --url 'https://imdb-top-movies-and-tv-shows-api-by-apirobots.p.rapidapi.com/v1/imdb/top/tv-shows' \
  --header 'x-rapidapi-key: YOUR_API_KEY' \
  --header 'x-rapidapi-host: imdb-top-movies-and-tv-shows-api-by-apirobots.p.rapidapi.com'
GET /v1/imdb/top/tv-shows/random

热门剧集

代码示例

curl --request GET \
  --url 'https://imdb-top-movies-and-tv-shows-api-by-apirobots.p.rapidapi.com/v1/imdb/top/tv-shows/random' \
  --header 'x-rapidapi-key: YOUR_API_KEY' \
  --header 'x-rapidapi-host: imdb-top-movies-and-tv-shows-api-by-apirobots.p.rapidapi.com'
GET /v1/imdb/top/titles

综合

代码示例

curl --request GET \
  --url 'https://imdb-top-movies-and-tv-shows-api-by-apirobots.p.rapidapi.com/v1/imdb/top/titles' \
  --header 'x-rapidapi-key: YOUR_API_KEY' \
  --header 'x-rapidapi-host: imdb-top-movies-and-tv-shows-api-by-apirobots.p.rapidapi.com'
GET /v1/imdb/top/titles/random

综合

代码示例

curl --request GET \
  --url 'https://imdb-top-movies-and-tv-shows-api-by-apirobots.p.rapidapi.com/v1/imdb/top/titles/random' \
  --header 'x-rapidapi-key: YOUR_API_KEY' \
  --header 'x-rapidapi-host: imdb-top-movies-and-tv-shows-api-by-apirobots.p.rapidapi.com'
GET /v1/imdb/worst/titles

最低分

代码示例

curl --request GET \
  --url 'https://imdb-top-movies-and-tv-shows-api-by-apirobots.p.rapidapi.com/v1/imdb/worst/titles' \
  --header 'x-rapidapi-key: YOUR_API_KEY' \
  --header 'x-rapidapi-host: imdb-top-movies-and-tv-shows-api-by-apirobots.p.rapidapi.com'
GET /v1/imdb/worst/titles/random

最低分

代码示例

curl --request GET \
  --url 'https://imdb-top-movies-and-tv-shows-api-by-apirobots.p.rapidapi.com/v1/imdb/worst/titles/random' \
  --header 'x-rapidapi-key: YOUR_API_KEY' \
  --header 'x-rapidapi-host: imdb-top-movies-and-tv-shows-api-by-apirobots.p.rapidapi.com'

交互示例

imdb-top-movies-and-tv-shows
$ GET /v1/imdb/top/movies
{
  "message": "Success"
}

集成及使用指南

Access IMDb’s most comprehensive ranking data through our powerful API! Get instant access to top-rated movies, TV shows, and even the lowest-rated titles for complete entertainment insights.

🌟 Key Features

  • Top 100 Movies Access: Instantly fetch IMDb’s highest-rated films
  • Top 100 TV Shows: Access the most popular television content
  • Combined Rankings: Get unified access to top movies and TV shows
  • Unique “Worst Rated” Access: Explore lowest-rated titles for complete analysis
  • Smart Filtering: Easy title search and pagination for all endpoints
  • Random Selection: Get random titles from any category for dynamic content

📚 API Endpoints

Top Movies

  • GET /v1/imdb/top/movies: Access IMDb’s top 100 movies list
  • GET /v1/imdb/top/movies/random: Get a random top-rated movie

Top TV Shows

  • GET /v1/imdb/top/tv-shows: Access IMDb’s top 100 TV shows
  • GET /v1/imdb/top/tv-shows/random: Get a random top-rated show

Combined Rankings

  • GET /v1/imdb/top/titles: Get combined top movies and TV shows
  • GET /v1/imdb/top/titles/random: Get a random top-rated title

Worst Rated

  • GET /v1/imdb/worst/titles: Access lowest-rated titles
  • GET /v1/imdb/worst/titles/random: Get a random lowest-rated title

📊 Response Data

Each title includes essential IMDb metadata:

  • id: Unique IMDb identifier
  • title: Name of the movie or show
  • type: Content category
  • genres: Array of genres
  • averageRating: IMDb rating
  • numVotes: Number of votes received
  • releaseYear: Year of release

🔍 Query Parameters

All list endpoints support:

  • name: Filter results by title name
  • page: Pagination (default: 1)

⚡ Status Codes

  • 200: Successful request
  • 400: Bad Request
  • 401: Unauthorized
  • 403: Forbidden
  • 404: Not Found
  • 500: Internal Server Error

💡 Perfect For

  • Movie review platforms
  • Entertainment websites
  • Content recommendation systems
  • Film analysis tools
  • TV show tracking apps
  • Movie criticism platforms
  • Entertainment data analytics
  • Content curation services

订阅和许可

通过 RapidAPI 上的商业就绪层访问此 API。专为副项目、初创公司和大批量生产架构设计的灵活计划。

查看定价并订阅

开发者支持

需要集成帮助或有自定义端点请求?我们的工程团队随时为身份验证、有效负载模式和高频速率限制增加提供协助。

联系 API 工程部

系统性能

全天候 24/7 监控,正常运行时间 SLA 达 99.9%。构建在具有全球分布式边缘缓存的云原生微服务之上,以确保超低延迟响应时间。

所有系统均可运行