# Disney API API

> Returns Disney characters by name or id, and the characters appearing in a film, short, show, game or attraction.

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

Disney characters, 10 per page, optionally matching a name.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `name` | string | no | Name text to match, such as mickey. (e.g. mickey) |
| `limit` | integer | no | Items per page, 1 to 50. (default 10) |
| `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: `allies` (string[]), `enemies` (string[]), `films` (string[]), `id` (string), `imageUrl` (string), `name` (string), `parkAttractions` (string[]), `shortFilms` (string[]), `tvShows` (string[]), `url` (string), `videoGames` (string[])

```bash
curl "https://api.hoshime.com/v1/disneyapi/characters?name=mickey" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/disneyapi/character

One Disney character by id.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `id` | integer | yes | Character id, such as 12. (e.g. 12) |
| `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: `allies` (string[]), `enemies` (string[]), `films` (string[]), `id` (string), `imageUrl` (string), `name` (string), `parkAttractions` (string[]), `shortFilms` (string[]), `tvShows` (string[]), `url` (string), `videoGames` (string[])

```bash
curl "https://api.hoshime.com/v1/disneyapi/character?id=12" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/disneyapi/appearances

Disney characters who appear in one film, short, show, game or park attraction, paged.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `kind` | string | yes | Where the character appears: films, shortFilms, tvShows, videoGames or parkAttractions. (one of films, shortFilms, tvShows, videoGames, parkAttractions; e.g. films) |
| `title` | string | yes | Title to match, such as Dumbo. (e.g. Dumbo) |
| `limit` | integer | no | Items per page, 1 to 50. (default 10) |
| `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: `allies` (string[]), `enemies` (string[]), `films` (string[]), `id` (string), `imageUrl` (string), `name` (string), `parkAttractions` (string[]), `shortFilms` (string[]), `tvShows` (string[]), `url` (string), `videoGames` (string[])

```bash
curl "https://api.hoshime.com/v1/disneyapi/appearances?kind=films&title=Dumbo" -H "Authorization: Bearer $HOSHIME_TOKEN"
```
