Extract video / audio / image links
extract_mediaGets the media behind a link from YouTube, TikTok, Instagram, X, Reddit, Vimeo, Facebook and 500+ other sites: title, author, duration, thumbnail, and every available format (quality, size) with a downloadUrl, plus MP3/FLAC/WAV audio links. Playlists and carousels return several items. To save a file, GET its downloadUrl with the same 'Authorization: Bearer rpf_...' header (for example curl -L -H 'Authorization: Bearer ...' -o video.mp4 ''). Links expire at linksExpireAt.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "extract_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Link to a video, post, playlist or media file page |