# IMDb API

> Returns IMDb titles and names through search suggestions, autocomplete, search and advanced filters, plus title page details.

Category: Entertainment & Books. Region: global. 15 endpoints at `https://api.hoshime.com/v1/imdb/<endpoint>`, `GET` with query parameters, answering `{data, meta}` (see https://hoshime.com/docs/responses.md). Reference: https://hoshime.com/docs/platforms/imdb
## GET /v1/imdb/suggest

Titles and names that IMDb's search box suggests for a query.

Scope: `social:read` · Units: 1 · Cached: 10 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `query` | string | yes | Search terms. (e.g. inception) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `id` (string), `image` (string), `kind` (string), `stars` (string), `title` (string), `url` (string), `year` (integer (int64))

```bash
curl "https://api.hoshime.com/v1/imdb/suggest?query=inception" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/imdb/autocomplete

Titles and names that complete a seed text, as IMDb's autocomplete gives them, with cast, rank and year.

Scope: `social:read` · Units: 1 · Cached: 10 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `query` | string | yes | Title or name to complete. (e.g. kucing) |
| `limit` | integer | no | Items per page, 1 to 100. (default 100; e.g. 10) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `id` (string), `image` (string), `kind` (string), `stars` (string), `title` (string), `url` (string), `year` (integer (int64))

```bash
curl "https://api.hoshime.com/v1/imdb/autocomplete?query=kucing&limit=10" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/imdb/search

Titles and names of IMDb that match a search, as the search box finds them.

Scope: `social:read` · Units: 1 · Cached: 30 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `query` | string | yes | Title, person name or words to search for. (e.g. nolan) |
| `type` | string | no | all, title (films and series) or name (people). (one of all, title, name; default all; e.g. name) |
| `limit` | integer | no | Items per page, 1 to 20. (default 20) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `id` (string), `image` (string), `kind` (string), `stars` (string), `title` (string), `url` (string), `year` (integer (int64))

```bash
curl "https://api.hoshime.com/v1/imdb/search?query=nolan&type=name" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/imdb/expand

Titles and names the search box suggests for a seed with each letter, digit, question word or preposition appended, deduplicated.

Scope: `social:read` · Units: 1 · Cached: 30 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `query` | string | yes | Seed text to expand. (e.g. kucing) |
| `modifiers` | string | no | Which words to append: all, alphabet, questions, prepositions or digits. (one of all, alphabet, questions, prepositions, digits; default all; e.g. alphabet) |
| `lang` | string | no | Language of the question and preposition words: en or id. (one of en, id; default en; e.g. en) |
| `top` | integer | no | Most items to return, from 1 to 500. Omit it for every unique item found. (e.g. 50) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `items` (ExpandItem[]), `items[].id` (string), `items[].image` (string), `items[].kind` (string), `items[].text` (string), `items[].url` (string), `items[].via` (string), `items[].year` (integer (int64)), `locale` (string), `modifiers` (string), `truncated` (boolean), `variantsFailed` (any), `variantsTried` (any)

```bash
curl "https://api.hoshime.com/v1/imdb/expand?query=kucing&modifiers=alphabet&lang=en&top=50" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/imdb/title

One title (film, series or episode) from its IMDb title page.

Scope: `social:read` · Units: 5 · Cached: 60 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `id` | string | yes | IMDb title id (tt…) or imdb.com title URL. (e.g. tt1375666) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `actors` (string[]), `contentRating` (string), `datePublished` (string), `description` (string), `directors` (string[]), `genres` (string[]), `id` (string), `image` (string), `name` (string), `ratingCount` (integer (int64)), `ratingValue` (number (double)), `runtimeMinutes` (integer (int64)), `type` (string), `url` (string)

```bash
curl "https://api.hoshime.com/v1/imdb/title?id=tt1375666" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/imdb/advancedSearch

Titles filtered like IMDb's advanced search: text, genres, type, years, minimum rating and sort; 50 per page.

Scope: `social:read` · Units: 5 · Cached: 10 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `query` | string | no | Words in the title. (e.g. batman) |
| `genres` | string | no | Comma-separated genres, such as Action,Sci-Fi. |
| `type` | string | no | Kind of title. (one of movie, tv, tv_mini, tv_movie, short, video_game; e.g. movie) |
| `yearFrom` | integer | no | First release year, from 1880. |
| `yearTo` | integer | no | Last release year. |
| `ratingMin` | integer | no | Lowest IMDb rating, from 1 to 10. |
| `sort` | string | no | popularity, rating, newest or oldest. (one of popularity, rating, newest, oldest; default popularity; e.g. rating) |
| `cursor` | string | no | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `id` (string), `image` (string), `plot` (string), `rank` (integer (int64)), `rating` (number (double)), `runtimeMinutes` (integer (int64)), `title` (string), `type` (string), `voteCount` (integer (int64)), `year` (integer (int64))

```bash
curl "https://api.hoshime.com/v1/imdb/advancedSearch?query=batman&type=movie&sort=rating" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/imdb/bornToday

People born on a given day of the year, as IMDb's born-on-date page lists them.

Scope: `social:read` · Units: 5 · Cached: 360 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `month` | integer | no | Month, from 1 to 12. Defaults to this month. (e.g. 1) |
| `day` | integer | no | Day of the month, from 1 to 31. Defaults to today. (e.g. 1) |
| `limit` | integer | no | People, from 1 to 50. (default 20) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `birthDate` (string), `id` (string), `image` (string), `name` (string), `professions` (string[])

```bash
curl "https://api.hoshime.com/v1/imdb/bornToday?month=1&day=1" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/imdb/boxOffice

The top titles of the latest weekend box office chart, with their rank.

Scope: `social:read` · Units: 5 · Cached: 60 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `limit` | integer | no | Titles, from 1 to 20. (default 10) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `id` (string), `image` (string), `plot` (string), `rank` (integer (int64)), `rating` (number (double)), `runtimeMinutes` (integer (int64)), `title` (string), `type` (string), `voteCount` (integer (int64)), `year` (integer (int64))

```bash
curl "https://api.hoshime.com/v1/imdb/boxOffice" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/imdb/chart

One of IMDb's official charts (Top 250 movies, Most Popular TV...), ranked, 25 per page.

Scope: `social:read` · Units: 5 · Cached: 60 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `chart` | string | no | Chart name: top_movies, top_english_movies, top_tv, popular_movies, popular_tv or lowest_movies. (one of top_movies, top_english_movies, top_tv, popular_movies, popular_tv, lowest_movies; default top_movies; e.g. top_movies) |
| `limit` | integer | no | Items per page, 1 to 50. (default 25) |
| `cursor` | string | no | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `id` (string), `image` (string), `plot` (string), `rank` (integer (int64)), `rating` (number (double)), `runtimeMinutes` (integer (int64)), `title` (string), `type` (string), `voteCount` (integer (int64)), `year` (integer (int64))

```bash
curl "https://api.hoshime.com/v1/imdb/chart?chart=top_movies" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/imdb/comingSoon

Movies or series that IMDb's release calendar lists as coming soon, in release order.

Scope: `social:read` · Units: 5 · Cached: 360 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `type` | string | no | movie or tv. (one of movie, tv; default movie; e.g. movie) |
| `region` | string | no | Two-letter region, such as US, ID or GB. Leave empty for the default. (e.g. US) |
| `limit` | integer | no | Titles, from 1 to 50. (default 20) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `id` (string), `image` (string), `plot` (string), `rank` (integer (int64)), `rating` (number (double)), `releaseDate` (string), `runtimeMinutes` (integer (int64)), `title` (string), `type` (string), `voteCount` (integer (int64)), `year` (integer (int64))

```bash
curl "https://api.hoshime.com/v1/imdb/comingSoon?type=movie&region=US" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/imdb/credits

The full cast and crew of one title with each person's category and character names, 25 per page.

Scope: `social:read` · Units: 5 · Cached: 360 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `id` | string | yes | IMDb title id (tt…) or imdb.com title URL. (e.g. tt1375666) |
| `limit` | integer | no | Items per page, 1 to 50. (default 25) |
| `cursor` | string | no | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `category` (string), `characters` (string[]), `id` (string), `image` (string), `name` (string)

```bash
curl "https://api.hoshime.com/v1/imdb/credits?id=tt1375666" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/imdb/episodes

The episodes of one series in one season, with their numbers, air dates and ratings, 25 per page.

Scope: `social:read` · Units: 5 · Cached: 360 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `id` | string | yes | IMDb series id (tt…) or imdb.com title URL. (e.g. tt0903747) |
| `season` | integer | no | Season number, from 1. Defaults to 1. (default 1; e.g. 1) |
| `limit` | integer | no | Items per page, 1 to 50. (default 25) |
| `cursor` | string | no | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `episode` (integer (int64)), `id` (string), `image` (string), `plot` (string), `rating` (number (double)), `releaseDate` (string), `season` (integer (int64)), `title` (string), `voteCount` (integer (int64))

```bash
curl "https://api.hoshime.com/v1/imdb/episodes?id=tt0903747&season=1" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/imdb/filmography

The titles one person is credited on, with the job of each credit, 25 per page.

Scope: `social:read` · Units: 5 · Cached: 360 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `id` | string | yes | IMDb name id (nm…) or imdb.com name URL. (e.g. nm0000138) |
| `limit` | integer | no | Items per page, 1 to 50. (default 25) |
| `cursor` | string | no | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `category` (string), `id` (string), `image` (string), `plot` (string), `rank` (integer (int64)), `rating` (number (double)), `runtimeMinutes` (integer (int64)), `title` (string), `type` (string), `voteCount` (integer (int64)), `year` (integer (int64))

```bash
curl "https://api.hoshime.com/v1/imdb/filmography?id=nm0000138" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/imdb/name

One person of the film industry (actor, director, writer...) from IMDb's name page.

Scope: `social:read` · Units: 5 · Cached: 360 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `id` | string | yes | IMDb name id (nm…) or imdb.com name URL. (e.g. nm0000138) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `bio` (string), `birthDate` (string), `birthPlace` (string), `deathDate` (string), `id` (string), `image` (string), `name` (string), `professions` (string[]), `url` (string)

```bash
curl "https://api.hoshime.com/v1/imdb/name?id=nm0000138" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/imdb/reviews

User reviews of one title, 25 per page, in the order IMDb sorts them by.

Scope: `social:read` · Units: 5 · Cached: 30 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `id` | string | yes | IMDb title id (tt…) or imdb.com title URL. (e.g. tt1375666) |
| `sort` | string | no | helpfulness, date (newest first) or rating. (one of helpfulness, date, rating; default helpfulness; e.g. helpfulness) |
| `cursor` | string | no | nextCursor of the previous page: IMDb's pagination key. Omit it for the first page. |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `author` (string), `date` (string), `downVotes` (integer (int64)), `id` (string), `rating` (integer (int64)), `review` (string), `title` (string), `upVotes` (integer (int64))

```bash
curl "https://api.hoshime.com/v1/imdb/reviews?id=tt1375666&sort=helpfulness" -H "Authorization: Bearer $HOSHIME_TOKEN"
```
