---
title: "Youtube Fetch Shorts"
method: POST
path: "/api/v1/youtube-fetch-shorts"
tags: ["Utilities"]
---

# Youtube Fetch Shorts

`POST /api/v1/youtube-fetch-shorts`

## Request

- Base URL: `https://api.muapi.ai`
- URL: `https://api.muapi.ai/api/v1/youtube-fetch-shorts`
- Auth: one of:
  - API key in header `x-api-key`
  - OAuth 2 (client credentials, token URL `https://api.muapi.ai/oauth/token`)

## Query parameters

- `webhook` string
- `team_id` integer, nullable

## Headers

- `x-api-key` string
- `x-embed-code` string, nullable
- `x-agent-embed-code` string, nullable
- `x-whitelabel-studio` string, nullable
- `authorization` string, nullable

## Request body

- YoutubeShortsRequest
  - `query` string, nullable
  - `channel_id` string, nullable
  - `count` integer
  - `next` string, nullable
  - `hl` 'English' | 'Spanish' | 'French' | 'German' | 'Japanese' | 'Chinese' | 'Hindi' | 'Portuguese' | 'Russian' | 'Italian', nullable
  - `gl` string, nullable
  - `upload_date` 'Last Hour' | 'Today' | 'This Week' | 'This Month' | 'This Year', nullable
  - `type` 'Video' | 'Channel' | 'Playlist', nullable
  - `duration` 'Short (< 4 minutes)' | 'Long (> 20 minutes)', nullable
  - `features` string, nullable
  - `sort` 'Relevance' | 'Rating' | 'Upload Date' | 'View Count', nullable
  - `min_likes` 'Any' | '100+' | '1k+' | '5k+' | '10k+' | '50k+' | '100k+' | '500k+' | '1M+' | '5M+' | '10M+', nullable
  - `min_views` 'Any' | '100+' | '1k+' | '5k+' | '10k+' | '50k+' | '100k+' | '500k+' | '1M+' | '5M+' | '10M+', nullable
  - `min_shares` 'Any' | '100+' | '1k+' | '5k+' | '10k+' | '50k+' | '100k+' | '500k+' | '1M+' | '5M+' | '10M+', nullable
  - `min_comments` 'Any' | '100+' | '1k+' | '5k+' | '10k+' | '50k+' | '100k+' | '500k+' | '1M+' | '5M+' | '10M+', nullable
  - `min_duration` 'Any' | '15s' | '30s' | '45s' | '1m' | '2m' | '3m' | '5m' | '10m', nullable
  - `max_duration` 'Any' | '15s' | '30s' | '45s' | '1m' | '2m' | '3m' | '5m' | '10m', nullable
  - `hashtags` string, nullable
  - `published_after` string, nullable
  - `published_before` string, nullable
  - `webhook_url` string, uri, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/muapi/apis/muapi-api.md) · [All operations](https://skmtc.dev/muapi/apis/muapi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/muapi/apis/muapi-api/revisions/e4b7374381e5?raw)
