# VIMEO Extractor (`jupri/vimeo`) Actor

💫 All-in-One Vimeo.com Scraper

- **URL**: https://apify.com/jupri/vimeo.md
- **Developed by:** [cat](https://apify.com/jupri) (community)
- **Categories:** Social media, Videos, E-commerce
- **Stats:** 51 total users, 1 monthly users, 93.8% runs succeeded, 3 bookmarks
- **User rating**: No ratings yet

## Pricing

$30.00/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period. You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#rental-actors

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Welcome to Vimeo Scraper

![dont be sad readme is here](https://raw.githubusercontent.com/JupriGH/resources/main/cats/catframe.png)

### 🌽 About Vimeo.com

<img height="64" src="https://upload.wikimedia.org/wikipedia/commons/9/9c/Vimeo_Logo.svg">

**Vimeo, Inc.** ([/ˈvɪmioʊ/](https://en.wikipedia.org/wiki/Help:IPA/English "Help:IPA/English"))[\[3\]](https://en.wikipedia.org/wiki/Vimeo#cite_note-3) is an American video hosting, sharing, services provider, and broadcaster headquartered in [New York City](https://en.wikipedia.org/wiki/New_York_City "New York City"). Vimeo focuses on the delivery of [high-definition video](https://en.wikipedia.org/wiki/High-definition_video "High-definition video") across a range of devices.[\[a\]](https://en.wikipedia.org/wiki/Vimeo#cite_note-4) Vimeo's business model is through [software as a service](https://en.wikipedia.org/wiki/Software_as_a_service "Software as a service") (SaaS). They derive revenue by providing subscription plans for businesses and content creators. Vimeo provides its subscribers with tools for video creation, editing, and broadcasting, enterprise software solutions, as well as the means for video professionals to connect with clients and other professionals. As of December 2021, the site has 260 million users, with around 1.6 million subscribers to its services.[\[1\]](https://en.wikipedia.org/wiki/Vimeo#cite_note-AR-1)

### 🌽About This Actor

**All-in-One Vimeo.com Scraper** - Search and extract related information for Videos, Users, Channels or Groups

### 🌽 Tutorial

#### 🍿 Parameters

| Input| Type |  Description |
|-|-|-|
| `query` | ***string array*** | Query, Search Terms or URL |
| `limit` | ***integer*** | Number of results (per-query)|

#### 🍿 Basic Usage

Search videos

```yaml
{ "query": ["sponge bobs"], "limit": 10 } 
```

Autodetect URL for possible contents

```yaml
{ "query": ["https://vimeo.com/search?q=sponge%20bobs"], "limit": 10 } 
```

#### 🍿 Advanced Usage

***VIMEO Query Language (VQL)***

```html
[ <COMMAND:> | # | @ ] [ <NAME> | <ID> | <KEYWORD>| <URL> ] [ /<SECTION> ] 
```

***Possible QUERY  values***

| Format | Example | Description |
|-|-|-|
|**<*KEYWORDS*>** | `search terms` |***Search Anything***|
|`<KEYWORDS>`|`square pants`| Search videos |
|`users:<KEYWORDS>`|`users:joe`|Search users |
|`channels:<KEYWORDS>`|`channels:sport`| Search channels|
|`groups:<KEYWORDS>`|`groups:music`| Search group |
|**tag:<*HASHTAG*>** | `tag:viral` | ***Scrape Hashtag Data*** |
|**#<*HASHTAG*>** | `#viral` | |
|`/info` | `#viral/info` | Hashtag info |
|`/videos` | `#viral/videos` | Hashtag videos |
|**cat:<*CATEGORY\_KEY*>** | `cat:documentary` | ***Scrape Category Data*** |
|`/info` | `cat:documentary/info` | Category info |
|`/videos` | `cat:documentary/videos` | Category videos |
|**channel:<*CHANNEL\_ID*>** | `channel:1170276` | ***Scrape Channel Data*** |
|**channel:<*CHANNEL\_KEY*>** | `channel:comedy` | |
|`/info` | `channel:comedy/info` | Channel info |
|`/videos` | `channel:comedy/videos` | Channel videos |
|`/followers` | `channel:comedy/followers` | Channel followers |
|`/moderators` | `channel:comedy/moderators` | Channel moderators |
|**group:<*GROUP\_ID*>** | `group:89` | ***Scrape Group Data*** |
|**group:<*GROUP\_KEY*>** | `group:animation` | |
|`/info` | `group:animation/info` | Group info |
|`/videos` | `group:animation/videos` | Group videos |
|`/followers` | `group:animation/followers` | Group followers |
|**@<*USER*>** | `@apify` | ***Scrape User Data***|
|`/info` | `@apify/info` | |
|`/videos` | `@apify/videos` | |
|`/appears` | `@apify/appears` | |
|`/likes` | `@apify/likes` | |
|`/albums` | `@apify/albums` | User albums (showcase) |
|`/followers` | `@apify/followers` | |
|`/following` | `@apify/following` | |
|`/portfolios` | `@apify/portfolios` | |
|**<*VIDEO\_ID*>** | `473349630` | ***Scrape Video Data***|
|`/info` | `473349630/info` | Video info |
|`/captions` | `473349630/captions` | Video captions |
|`/credits` | `473349630/credits` | Video credits |
|`/comments` | `473349630/comments` | Video comments |
|`/chapters` | `473349630/chapters` | Video chapters |
|`/likes` | `473349630/likes` |  |
|`/related` | `473349630/related` |  |
|**vod:<*VOD\_ID*>** | `vod:speciesism` | ***Video On Demand (VOD)*** |
| `/info` | `vod:speciesism/info` | |
| `/comments` | `vod:speciesism/comments` | |
| `/likes` | `vod:speciesism/likes` | |
| `/seasons` | `vod:speciesism/seasons` | |
| `/videos` | `vod:speciesism/videos` | |
|**https:<*URL*>** | `https://vimeo.com/...` | ***Start URL***|
| `/search` | `https://vimeo.com/search?q=tutorial` | Search |
| `/channels/<CHANNEL_KEY>` | `https://vimeo.com/channels/vimeohq` | Channel |
| `/groups/<GROUP_KEY>` | `https://vimeo.com/groups/beyondtheshort` | Group |
| `/<VIDEO_ID>`| `https://vimeo.com/473349630` | Video info |
| `/<USER>` | `https://vimeo.com/apify`|User videos |

### 🌽 Output Sample

#### 🍿 Video Info

```yaml
{
    "badge": null,
    "categories": [],
    "content_rating": [
        "safe"
    ],
    "content_rating_class": "safe",
    "created_time": "2015-04-23T21:47:12+00:00",
    "description": "+ SVP Creative: Andy Baker\n+ Creative Director, Design: Brian Everett\n+ Creative Director: Tyler Korba\n+ Producer: James Introcase\n+ Producer: Jason Letchko\n+ Capacity (Design)",
    "download": [
        {
            "created_time": "2015-04-23T21:47:41+00:00",
            "expires": "2024-11-17T13:21:52+00:00",
            "fps": 30,
            "height": 360,
            "link": "https://player.vimeo.com/progressive_redirect/download/125851159/container/c4dd0c27-e5be-4f96-87dc-c70c80590020/c8e8d2c6/nat_geo_wild_%7C_big_cat_week%20%28360p%29.mp4?expires=1731849712&loc=external&oauth2_token_id=1778748135&signature=54d48ba1906ab5c32bb146b99a5fb890c899d6962e1475a2d1f0a63fb434e21a",
            "md5": "153fff75f9215acb1a4ac7e1012cff72",
            "public_name": "360p",
            "quality": "sd",
            "rendition": "360p",
            "size": 6703916,
            "size_short": "6.39MB",
            "type": "video/mp4",
            "width": 640
        },
        {
            "created_time": "2015-04-23T21:47:41+00:00",
            "expires": "2024-11-17T13:21:52+00:00",
            "fps": 30,
            "height": 270,
            "link": "https://player.vimeo.com/progressive_redirect/download/125851159/container/c4dd0c27-e5be-4f96-87dc-c70c80590020/ef576eb5/nat_geo_wild_%7C_big_cat_week%20%28240p%29.mp4?expires=1731849712&loc=external&oauth2_token_id=1778748135&signature=e9789e1f4e1b96ff8414bd68c948f6ab52c4f4944a21979b653dddcadae64004",
            "md5": "4d78528943e1d58ee3c1a4be28259297",
            "public_name": "240p",
            "quality": "sd",
            "rendition": "240p",
            "size": 3025468,
            "size_short": "2.89MB",
            "type": "video/mp4",
            "width": 480
        },
        {
            "created_time": "2015-04-23T21:47:41+00:00",
            "expires": "2024-11-17T13:21:52+00:00",
            "fps": 30,
            "height": 720,
            "link": "https://player.vimeo.com/progressive_redirect/download/125851159/container/c4dd0c27-e5be-4f96-87dc-c70c80590020/2795ca65/nat_geo_wild_%7C_big_cat_week%20%28720p%29.mp4?expires=1731849712&loc=external&oauth2_token_id=1778748135&signature=bb8c54538fdefa0ca815c43e87ba6d5327a6d9d329f41e4b04816845e34de113",
            "md5": "3c35b6ab83a72abe16c754d22ac34d07",
            "public_name": "720p",
            "quality": "hd",
            "rendition": "720p",
            "size": 21022888,
            "size_short": "20.05MB",
            "type": "video/mp4",
            "width": 1280
        }
    ],
    "duration": 65,
    "embed": {
        "badges": {
            "hdr": false,
            "live": {
                "archived": false,
                "streaming": false
            },
            "staff_pick": {
                "best_of_the_month": false,
                "best_of_the_year": false,
                "normal": false,
                "premiere": false
            },
            "vod": false,
            "weekend_challenge": false
        },
        "html": "<iframe src=\"https://player.vimeo.com/video/125851159?badge=0&amp;autopause=0&amp;player_id=0&amp;app_id=53467\" width=\"1280\" height=\"720\" frameborder=\"0\" allow=\"autoplay; fullscreen; picture-in-picture; clipboard-write\" title=\"NAT GEO WILD | Big Cat Week\"></iframe>",
        "interactive": false
    },
    "has_audio": true,
    "has_chapters": false,
    "height": 720,
    "id": "125851159",
    "is_playable": true,
    "language": "en",
    "license": null,
    "link": "https://vimeo.com/125851159",
    "metadata": {
        "connections": {
            "comments": { "total": 0 },
            "credits": { "total": 0 },
            "likes": { "total": 4 },
            "pictures": { "total": 1 },
            "private_comments": { "total": 0 },
            "texttracks": { "total": 0 }
        },
        "is_screen_record": false,
        "is_vimeo_create": false
    },
    "modified_time": "2024-11-15T11:00:33+00:00",
    "name": "NAT GEO WILD | Big Cat Week",
    "pictures": {
        "base_link": "https://i.vimeocdn.com/video/516096862-28c9543a8498f779763833cea7950c80832bfb0f566b51c1ad2337a36fe8b032-d",
        "sizes": [
            {
                "height": 75,
                "link": "https://i.vimeocdn.com/video/516096862-28c9543a8498f779763833cea7950c80832bfb0f566b51c1ad2337a36fe8b032-d_100x75?r=pad",
                "width": 100
            },
            {
                "height": 150,
                "link": "https://i.vimeocdn.com/video/516096862-28c9543a8498f779763833cea7950c80832bfb0f566b51c1ad2337a36fe8b032-d_200x150?r=pad",
                "width": 200
            },
            {
                "height": 166,
                "link": "https://i.vimeocdn.com/video/516096862-28c9543a8498f779763833cea7950c80832bfb0f566b51c1ad2337a36fe8b032-d_295x166?r=pad",
                "width": 295
            },
            {
                "height": 360,
                "link": "https://i.vimeocdn.com/video/516096862-28c9543a8498f779763833cea7950c80832bfb0f566b51c1ad2337a36fe8b032-d_640x360?r=pad",
                "width": 640
            },
            {
                "height": 361,
                "link": "https://i.vimeocdn.com/video/516096862-28c9543a8498f779763833cea7950c80832bfb0f566b51c1ad2337a36fe8b032-d_640x361?r=pad",
                "width": 640
            },
            {
                "height": 540,
                "link": "https://i.vimeocdn.com/video/516096862-28c9543a8498f779763833cea7950c80832bfb0f566b51c1ad2337a36fe8b032-d_960x540?r=pad",
                "width": 960
            },
            {
                "height": 541,
                "link": "https://i.vimeocdn.com/video/516096862-28c9543a8498f779763833cea7950c80832bfb0f566b51c1ad2337a36fe8b032-d_960x541?r=pad",
                "width": 960
            },
            {
                "height": 720,
                "link": "https://i.vimeocdn.com/video/516096862-28c9543a8498f779763833cea7950c80832bfb0f566b51c1ad2337a36fe8b032-d_1280x720?r=pad",
                "width": 1280
            },
            {
                "height": 721,
                "link": "https://i.vimeocdn.com/video/516096862-28c9543a8498f779763833cea7950c80832bfb0f566b51c1ad2337a36fe8b032-d_1280x721?r=pad",
                "width": 1280
            },
            {
                "height": 1080,
                "link": "https://i.vimeocdn.com/video/516096862-28c9543a8498f779763833cea7950c80832bfb0f566b51c1ad2337a36fe8b032-d_1920x1080?r=pad",
                "width": 1920
            },
            {
                "height": 1082,
                "link": "https://i.vimeocdn.com/video/516096862-28c9543a8498f779763833cea7950c80832bfb0f566b51c1ad2337a36fe8b032-d_1920x1082?r=pad",
                "width": 1920
            }
        ]
    },
    "play": {
        "dash": {
            "link": "https://player.vimeo.com/play/c4dd0c27-e5be-4f96-87dc-c70c80590020/dash.mpd?s=125851159_1731849593_8825e315ecb966ce1068a308bd33bc69&context=Vimeo%5CController%5CApi%5CResources%5CVideoController.&logging=false"
        },
        "hls": {
            "link": "https://player.vimeo.com/play/c4dd0c27-e5be-4f96-87dc-c70c80590020/hls.m3u8?s=125851159_1731849593_8825e315ecb966ce1068a308bd33bc69&context=Vimeo%5CController%5CApi%5CResources%5CVideoController.&logging=false"
        },
        "progressive": [
            {
                "codec": "H264",
                "fps": 30,
                "height": 270,
                "link": "https://player.vimeo.com/progressive_redirect/playback/125851159/container/c4dd0c27-e5be-4f96-87dc-c70c80590020/ef576eb5?expires=1731849712&loc=external&oauth2_token_id=1778748135&signature=f7856850cc2d5413bb8c11ef71249a69cc9dc1b3ede10dbabb3bdab583871f52",
                "rendition": "240p",
                "size": 3025468,
                "type": "video/mp4",
                "width": 480
            },
            {
                "codec": "H264",
                "fps": 30,
                "height": 720,
                "link": "https://player.vimeo.com/progressive_redirect/playback/125851159/container/c4dd0c27-e5be-4f96-87dc-c70c80590020/2795ca65?expires=1731849712&loc=external&oauth2_token_id=1778748135&signature=995a702f4d5fcf385b9c0fa4d30d3eeceaab476037ceb9075324540e8123dc0e",
                "rendition": "720p",
                "size": 21022888,
                "type": "video/mp4",
                "width": 1280
            },
            {
                "codec": "H264",
                "fps": 30,
                "height": 360,
                "link": "https://player.vimeo.com/progressive_redirect/playback/125851159/container/c4dd0c27-e5be-4f96-87dc-c70c80590020/c8e8d2c6?expires=1731849712&loc=external&oauth2_token_id=1778748135&signature=cc6ce1ed3b6e12f3c6a346bbc9dc0053dfe710ebf1fd039dba8854b1971191aa",
                "rendition": "360p",
                "size": 6703916,
                "type": "video/mp4",
                "width": 640
            }
        ],
        "status": "playable"
    },
    "player_embed_url": "https://player.vimeo.com/video/125851159?h=0e49e65e78",
    "release_time": "2015-04-23T21:47:12+00:00",
    "stats": {
        "plays": null
    },
    "status": "available",
    "tags": [],
    "type": "video",
    "user": {
        "available_for_hire": false,
        "gender": "m",
        "id": "5512944",
        "link": "https://vimeo.com/user5512944",
        "location": "",
        "membership": {
            "badge": {
                "type": null
            },
            "display": "Plus",
            "type": "plus"
        },
        "name": "Brian Everett",
        "pictures": {
            "base_link": "https://i.vimeocdn.com/portrait/3789957?sig=931255c7c3df7d67c5d52e84bc9edc89174dc124324a735fc0333372efb15a5d&v=1"
        }
    },
    "width": 1280
}
```

#### 🍿 User Info

```yaml
{
    "available_for_hire": false,
    "bio": "The web is the largest and most important source of information ever created by humankind. And yet, most of that information is only available in a human-readable form that cannot be easily used by automated systems.\n\nOur mission is to let people automate mundane tasks on the web and spend their time on things that matter. We strive to keep the web open as a public good and a basic right for everyone, regardless of the way you want to use it, as its creators intended.",
    "counters": {
        "albums": 0,
        "channels": 0,
        "followers": 1,
        "following": 0,
        "groups": 0,
        "likes": 0,
        "moderated_channels": 0,
        "pictures": 1,
        "teams": 1,
        "videos": 3,
        "watchlater": 0
    },
    "link": "https://vimeo.com/apify",
    "location": "",
    "location_details": {
        "city": null,
        "country": null,
        "country_iso_code": null,
        "formatted_address": "",
        "latitude": null,
        "longitude": null,
        "neighborhood": null,
        "state": null,
        "state_iso_code": null,
        "sub_locality": null
    },
    "membership": {
        "badge": {
            "type": null
        },
        "display": "Basic",
        "type": "basic"
    },
    "metadata": {},
    "name": "Apify Technologies",
    "pictures": {
        "sizes": [
            {
                "link": "https://i.vimeocdn.com/portrait/40500522_30x30",
                "width": 30
            },
            {
                "link": "https://i.vimeocdn.com/portrait/40500522_72x72",
                "width": 72
            },
            {
                "link": "https://i.vimeocdn.com/portrait/40500522_75x75",
                "width": 75
            },
            {
                "link": "https://i.vimeocdn.com/portrait/40500522_100x100",
                "width": 100
            },
            {
                "link": "https://i.vimeocdn.com/portrait/40500522_144x144",
                "width": 144
            },
            {
                "link": "https://i.vimeocdn.com/portrait/40500522_216x216",
                "width": 216
            },
            {
                "link": "https://i.vimeocdn.com/portrait/40500522_288x288",
                "width": 288
            },
            {
                "link": "https://i.vimeocdn.com/portrait/40500522_300x300",
                "width": 300
            },
            {
                "link": "https://i.vimeocdn.com/portrait/40500522_360x360",
                "width": 360
            }
        ]
    },
    "websites": [
        {
            "description": "Our homepage",
            "link": "https://apify.com/",
            "name": "Apify"
        }
    ]
}
```

### 🌽  Support

⚡️ Feel free to [reach out](https://console.apify.com/actors/cl10ucNnJZp58yhUo/issues) to the developer for any issues or suggestions for improvement.

<img src="https://apify-uploads-prod.s3.us-east-1.amazonaws.com/5SxZhwYwpknFk8ek9-cat.gif" width="240">

# Actor input Schema

## `query` (type: `array`):

💡 Search Terms, Query or URL

## `limit` (type: `integer`):

💡 Number of results <i>(per-query)</i>

## `filters.sort` (type: `string`):

No description

## `filters.live` (type: `boolean`):

No description

## `filters.staffpick` (type: `boolean`):

No description

## `filters.vimeo_360` (type: `string`):

No description

## `filters.hdr` (type: `string`):

No description

## `filters.resolution` (type: `string`):

No description

## `filters.uploaded` (type: `string`):

No description

## `filters.duration` (type: `string`):

No description

## `filters.price` (type: `string`):

No description

## `filters.license` (type: `string`):

No description

## `dev_proxy_config` (type: `object`):

💡 <b>Supported protocol:</b><br><br><b>HTTP(S), SOCKS5</b><br><code>{http|socks5}://{user:pass}@{hostname|ip-address}:port</code><br><br><b>Example</b>: <code>socks5://example.com:9000</code>

## `dev_custom_headers` (type: `array`):

💡 Additional HTTP Headers

## `dev_custom_cookies` (type: `array`):

💡 Additional HTTP Cookies

## `dev_transform_fields` (type: `array`):

💡 <b>Transform the resulting output. Select only needed fields.</b><br><br>For nested object use <b>DOT</b>. For example: <pre>address.streetAddress</pre><br>For nested array use <b>NUMBER</b> <i>(index of array element starting from index=0)</i>. For example: <pre>images.0.url</pre>

## `dev_dataset_name` (type: `string`):

💡 <b>Save results into custom named Dataset, use mask to customize dataset name</b><br><br><code>{ACTOR} = actor name<br>{DATE} = date (YYYYMMDD)<br>{TIME} = time (HHMMSS)</code><br><br>This masks can be used to autogenerate Dataset Name.<br><br>example: <i><code>data-{DATE}</code></i><br>Depending on today date the dataset name will be: <code>data-20230603</code><i><br><br>default: <code>data-{ACTOR}-{DATE}-{TIME}</code></i>

## `dev_dataset_clear` (type: `boolean`):

Clear Dataset before insert/update.

## `dev_no_strip` (type: `boolean`):

💡 Keep/Save empty values <i><code>(NULL, FALSE, empty ARRAY, empty OBJECT, empty STRING)</code></i>

## Actor input object example

```json
{
  "query": [
    "square pants",
    "@apify",
    "@apify/likes",
    "https://vimeo.com/473349630",
    "https://vimeo.com/apify"
  ],
  "limit": 5
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "query": [
        "square pants",
        "@apify",
        "@apify/likes",
        "https://vimeo.com/473349630",
        "https://vimeo.com/apify"
    ],
    "limit": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("jupri/vimeo").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "query": [
        "square pants",
        "@apify",
        "@apify/likes",
        "https://vimeo.com/473349630",
        "https://vimeo.com/apify",
    ],
    "limit": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("jupri/vimeo").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "query": [
    "square pants",
    "@apify",
    "@apify/likes",
    "https://vimeo.com/473349630",
    "https://vimeo.com/apify"
  ],
  "limit": 5
}' |
apify call jupri/vimeo --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,jupri/vimeo"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/cl10ucNnJZp58yhUo/builds/8MvICNuWuHnjbhSS8/openapi.json
