# Vimeo API

> Returns Vimeo videos, user profiles, and a user's uploads, likes, albums and channels.

Category: Social & Video. Region: global. 10 endpoints at `https://api.hoshime.com/v1/vimeo/<endpoint>`, `GET` with query parameters, answering `{data, meta}` (see https://hoshime.com/docs/responses.md). Reference: https://hoshime.com/docs/platforms/vimeo
## GET /v1/vimeo/video

One video: title, description, length, uploader, large thumbnail and its embed code.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `id` | string | yes | Video id or vimeo.com video URL. (e.g. 76979871) |
| `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: `description` (string), `duration` (integer (int64)), `embedHtml` (string), `embedPrivacy` (string), `height` (any), `id` (string), `owner` (Owner), `owner.id` (string), `owner.name` (string), `owner.url` (string), `tags` (string[]), `thumbnailUrl` (string), `title` (string), `uploadedAt` (string), `url` (string), `width` (any)

```bash
curl "https://api.hoshime.com/v1/vimeo/video?id=76979871" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/vimeo/user

A Vimeo profile: name, bio, location, and upload, like and contact counts.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `username` | string | yes | Vimeo username or vimeo.com profile URL. (e.g. staff) |
| `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), `contacts` (integer (int64)), `createdOn` (string), `displayName` (string), `id` (string), `isPro` (boolean), `isStaff` (boolean), `location` (string), `url` (string), `videosLiked` (integer (int64)), `videosUploaded` (integer (int64))

```bash
curl "https://api.hoshime.com/v1/vimeo/user?username=staff" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/vimeo/userVideos

Videos a Vimeo user has uploaded, 20 per page, newest first.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `username` | string | yes | Vimeo username or vimeo.com profile URL. (e.g. staff) |
| `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: `description` (string), `duration` (integer (int64)), `embedHtml` (string), `embedPrivacy` (string), `height` (any), `id` (string), `owner` (Owner), `owner.id` (string), `owner.name` (string), `owner.url` (string), `tags` (string[]), `thumbnailUrl` (string), `title` (string), `uploadedAt` (string), `url` (string), `width` (any)

```bash
curl "https://api.hoshime.com/v1/vimeo/userVideos?username=staff" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/vimeo/userLikes

Videos a Vimeo user has liked, 20 per page.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `username` | string | yes | Vimeo username or vimeo.com profile URL. (e.g. staff) |
| `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: `description` (string), `duration` (integer (int64)), `embedHtml` (string), `embedPrivacy` (string), `height` (any), `id` (string), `owner` (Owner), `owner.id` (string), `owner.name` (string), `owner.url` (string), `tags` (string[]), `thumbnailUrl` (string), `title` (string), `uploadedAt` (string), `url` (string), `width` (any)

```bash
curl "https://api.hoshime.com/v1/vimeo/userLikes?username=staff" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/vimeo/userAlbums

Showcases (albums) of a Vimeo user, 20 per page, with their video counts.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `username` | string | yes | Vimeo username or vimeo.com profile URL. (e.g. staff) |
| `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: `createdOn` (string), `description` (string), `id` (string), `lastModified` (string), `thumbnailUrl` (string), `title` (string), `totalVideos` (integer (int64)), `url` (string)

```bash
curl "https://api.hoshime.com/v1/vimeo/userAlbums?username=staff" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/vimeo/userChannels

Channels a Vimeo user has created or curates, with their subscriber and video counts.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `username` | string | yes | Vimeo username or vimeo.com profile URL. (e.g. staff) |
| `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: `createdOn` (string), `creatorId` (string), `creatorName` (string), `creatorUrl` (string), `description` (string), `id` (string), `logoUrl` (string), `name` (string), `totalSubscribers` (integer (int64)), `totalVideos` (integer (int64)), `url` (string)

```bash
curl "https://api.hoshime.com/v1/vimeo/userChannels?username=staff" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/vimeo/channel

A Vimeo channel: its name, description, creator, and video and subscriber counts.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `name` | string | yes | Channel name, as in vimeo.com/channels/<name>. (e.g. staffpicks) |
| `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: `createdOn` (string), `creatorId` (string), `creatorName` (string), `creatorUrl` (string), `description` (string), `id` (string), `logoUrl` (string), `name` (string), `totalSubscribers` (integer (int64)), `totalVideos` (integer (int64)), `url` (string)

```bash
curl "https://api.hoshime.com/v1/vimeo/channel?name=staffpicks" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/vimeo/channelVideos

Videos of a Vimeo channel, 20 per page, in the channel's order.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `name` | string | yes | Channel name, as in vimeo.com/channels/<name>. (e.g. staffpicks) |
| `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: `description` (string), `duration` (integer (int64)), `embedHtml` (string), `embedPrivacy` (string), `height` (any), `id` (string), `owner` (Owner), `owner.id` (string), `owner.name` (string), `owner.url` (string), `tags` (string[]), `thumbnailUrl` (string), `title` (string), `uploadedAt` (string), `url` (string), `width` (any)

```bash
curl "https://api.hoshime.com/v1/vimeo/channelVideos?name=staffpicks" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/vimeo/group

A Vimeo group: its name, description, creator, and member and video counts.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `name` | string | yes | Group name, as in vimeo.com/groups/<name>. (e.g. motion) |
| `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: `createdOn` (string), `creatorId` (string), `creatorName` (string), `creatorUrl` (string), `description` (string), `id` (string), `logoUrl` (string), `name` (string), `totalMembers` (integer (int64)), `totalVideos` (integer (int64)), `url` (string)

```bash
curl "https://api.hoshime.com/v1/vimeo/group?name=motion" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/vimeo/groupVideos

Videos posted to a Vimeo group, 20 per page.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `name` | string | yes | Group name, as in vimeo.com/groups/<name>. (e.g. motion) |
| `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: `description` (string), `duration` (integer (int64)), `embedHtml` (string), `embedPrivacy` (string), `height` (any), `id` (string), `owner` (Owner), `owner.id` (string), `owner.name` (string), `owner.url` (string), `tags` (string[]), `thumbnailUrl` (string), `title` (string), `uploadedAt` (string), `url` (string), `width` (any)

```bash
curl "https://api.hoshime.com/v1/vimeo/groupVideos?name=motion" -H "Authorization: Bearer $HOSHIME_TOKEN"
```
