# Digimon API API

> Returns Digimon by name, life stage or id, with images, types, attributes, skills and evolutions.

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

Digimon with a given name, with their life stage and image.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `name` | string | yes | Digimon name, such as Agumon. (e.g. Agumon) |
| `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: `image` (string), `level` (string), `name` (string)

```bash
curl "https://api.hoshime.com/v1/digimon/search?name=Agumon" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/digimon/level

All Digimon of one life stage, such as Champion.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `level` | string | yes | Life stage of the Digimon. (one of Fresh, In Training, Rookie, Champion, Ultimate, Mega; e.g. Champion) |
| `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: `image` (string), `level` (string), `name` (string)

```bash
curl "https://api.hoshime.com/v1/digimon/level?level=Champion" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/digimon/catalog

Every Digimon of the catalogue with its id, paged, in id order.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `limit` | integer | no | Items per page, 1 to 50. (default 20; e.g. 3) |
| `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), `name` (string), `url` (string)

```bash
curl "https://api.hoshime.com/v1/digimon/catalog?limit=3" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/digimon/detail

One Digimon by its catalogue id: stages, types, attributes, skills and evolutions.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `id` | integer | yes | Catalogue id, such as 1 for Agumon. (e.g. 1) |
| `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: `attributes` (string[]), `fields` (string[]), `id` (string), `images` (string[]), `levels` (string[]), `name` (string), `nextEvolutions` (Evolution[]), `nextEvolutions[].condition` (string), `nextEvolutions[].id` (string), `nextEvolutions[].image` (string), `nextEvolutions[].name` (string), `priorEvolutions` (Evolution[]), `priorEvolutions[].condition` (string), `priorEvolutions[].id` (string), `priorEvolutions[].image` (string), `priorEvolutions[].name` (string), `releaseYear` (string), `skills` (Skill[]), `skills[].description` (string), `skills[].name` (string), `types` (string[]), `xAntibody` (boolean)

```bash
curl "https://api.hoshime.com/v1/digimon/detail?id=1" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/digimon/attribute

Digimon of one attribute, such as Vaccine, Data or Virus, paged in catalogue order.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `attribute` | string | yes | Attribute of the Digimon, such as Vaccine, Data or Virus. (e.g. Vaccine) |
| `limit` | integer | no | Items per page, 1 to 50. (default 20; e.g. 3) |
| `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), `name` (string), `url` (string)

```bash
curl "https://api.hoshime.com/v1/digimon/attribute?attribute=Vaccine&limit=3" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/digimon/type

Digimon of one type, such as Reptile or Dragon, paged in catalogue order.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `type` | string | yes | Type of the Digimon, such as Reptile or Dragon. (e.g. Reptile) |
| `limit` | integer | no | Items per page, 1 to 50. (default 20; e.g. 3) |
| `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), `name` (string), `url` (string)

```bash
curl "https://api.hoshime.com/v1/digimon/type?type=Reptile&limit=3" -H "Authorization: Bearer $HOSHIME_TOKEN"
```
