video
Pack: pexels · Endpoint: https://gateway.pipeworx.io/pexels/mcp
Fetch full metadata for a single Pexels video by numeric id, including file URLs at all available resolutions, duration, width, height, and videographer attribution.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | number | yes |
Example call
Arguments
{
"id": 3571638
}
curl
curl -X POST https://gateway.pipeworx.io/pexels/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"video","arguments":{"id":3571638}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('video', {
"id": 3571638
});
Response shape
| Field | Type | Description |
|---|---|---|
id | integer | Video ID |
width | integer | Video width in pixels |
height | integer | Video height in pixels |
duration | integer | Video duration in seconds |
url | string | URL to video page |
image | string | Thumbnail image URL |
avg_color | string | Average color as hex |
user | object | Videographer information |
video_files | array | Available video file formats |
video_subtitles | array | Available subtitle files |
Full JSON Schema
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "Video ID"
},
"width": {
"type": "integer",
"description": "Video width in pixels"
},
"height": {
"type": "integer",
"description": "Video height in pixels"
},
"duration": {
"type": "integer",
"description": "Video duration in seconds"
},
"url": {
"type": "string",
"description": "URL to video page"
},
"image": {
"type": "string",
"description": "Thumbnail image URL"
},
"avg_color": {
"type": "string",
"description": "Average color as hex"
},
"user": {
"type": "object",
"description": "Videographer information",
"properties": {
"id": {
"type": "integer",
"description": "User ID"
},
"name": {
"type": "string",
"description": "Videographer name"
},
"url": {
"type": "string",
"description": "User profile URL"
}
}
},
"video_files": {
"type": "array",
"description": "Available video file formats",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "File ID"
},
"quality": {
"type": "string",
"description": "Video quality (e.g., hd, sd, mobile)"
},
"type": {
"type": "string",
"description": "File type (e.g., video/mp4)"
},
"width": {
"type": "integer",
"description": "File width in pixels"
},
"height": {
"type": "integer",
"description": "File height in pixels"
},
"link": {
"type": "string",
"description": "Download URL"
}
}
}
},
"video_subtitles": {
"type": "array",
"description": "Available subtitle files"
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"pexels": {
"url": "https://gateway.pipeworx.io/pexels/mcp"
}
}
}
See Getting Started for client-specific install steps.