# שליפת תוצאות YouTube Video Info לפי id

**API:** Data API

**Endpoint:** `GET /v1/beta/dataforseo/serp/youtube/video_info/task_get/advanced/{id}`

**Tags:** DataForSEO

מאחזר תוצאת מידע על סרטון YouTube שנכנסה לתור, לפי `id`. מחזיר `keyword`, `type`, `se_domain`, `location_code`, `language_code`, `check_url`, `datetime`, `spell`, `refinement_chips`, `item_types`, `items_count` ו-`items`. התגובה עטופה במעטפת של DataForSEO: הנתונים ב-`tasks[0].result`, והתוצאה ב-`tasks[0].status_code` — גם בקשה שנדחתה מחזירה HTTP 200.

### מראה תמחור

- מדידה: עלות תגובה מדווחת.
- אומדן בקשת ייחוס: 0.02 דולר ארה״ב.
- מכפיל לקוח לייחוס: 1.0. אין להחיל אותו בשנית על סכום לקוח שכבר נקבע.

זהו מטא-נתון לעיון בלבד, לא הצעת מחיר לחשבון, לא מחיר מובטח ולא תקרת הוצאה. קרדיטי משאבים אינם קרדיטים של Felo. החיוב הסופי נעשה לפי רשומות החיוב של Felo.

## Related links

- [UUID](<https://en.wikipedia.org/wiki/Universally_unique_identifier>)
- [קצב סיביות](<https://en.wikipedia.org/wiki/Bit_rate>)
- [סוג מדיה](<https://en.wikipedia.org/wiki/Media_type>)
- [קצב פריימים](<https://en.wikipedia.org/wiki/Frame_rate>)

## Base URL

- `https://openapi.felo.ai`

## Authentication

- `FeloBearerAuth` (http bearer, bearer format Felo API Key)
- `FeloApiKey` (apiKey in header `X-API-Key`)

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `id` | path | yes | string | <em>מזהה המשימה</em><br><strong>מזהה משימה ייחודי במערכת שלנו בפורמט UUID</strong><br>אפשר להשתמש בו במשך <strong>30 יום</strong> כדי לבקש את תוצאות המשימה בכל עת |

## Responses

### 200 — פעולה מוצלחת

Headers:
- `X-Request-Id` (string) — מזהה בקשה לכלול בעת פנייה לתמיכת Felo.

**application/json**

Schema: object | null

```json
{
  "type": [
    "object",
    "null"
  ],
  "oneOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_SerpYoutubeVideoInfoTaskGetAdvancedResponseInfo"
    }
  ]
}
```

### 400 — לא ניתן היה לעבד את הבקשה. בדקו את פרמטרי הבקשה.

### 401 — נדרש מפתח API תקף של Felo.

### 402 — לא ניתן להמשיך את הבקשה משום שדרישת חיוב אינה מתקיימת.

### 403 — החשבון אינו מורשה לבצע את הפעולה הזו.

### 429 — הגעתם למגבלת בקשות או לתקרת הוצאה.

### 502 — השירות לא הצליח להשלים את הבקשה.

### 503 — שירות ה-API או החיוב אינו זמין באופן זמני.

### 504 — השירות פג בזמן הטיפול בבקשה.

### default — תגובת שגיאה; תגובות מעבר מהמעלה הזרם עשויות להשתמש בפורמטים של הספק

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response36Afe1097B20_BaseResponseInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseInfo`

```json
{
  "properties": {
    "version": {
      "type": [
        "string",
        "null"
      ],
      "description": "הגרסה הנוכחית של ה-API"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "קוד סטטוס כללי\nאת הרשימה המלאה של קודי התגובה אפשר למצוא כאן"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "הודעה אינפורמטיבית כללית\nאת הרשימה המלאה של ההודעות האינפורמטיביות הכלליות אפשר למצוא כאן"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "זמן ביצוע כולל, בשניות"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "סך עלות המשימות, בדולר ארה״ב",
      "format": "double"
    },
    "tasks_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "מספר המשימות במערך tasks",
      "format": "int64"
    },
    "tasks_error": {
      "type": [
        "integer",
        "null"
      ],
      "description": "מספר המשימות במערך tasks שהוחזרו עם שגיאה",
      "format": "int64"
    }
  }
}
```

### Response36Afe1097B20_BaseResponseTaskInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo`

```json
{
  "properties": {
    "id": {
      "type": [
        "string",
        "null"
      ],
      "description": "מזהה משימה\nמזהה משימה ייחודי במערכת שלנו בפורמט UUID"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "קוד הסטטוס של המשימה\nנוצר על ידי DataForSEO ויכול להיות בטווח הבא: 10000-60000\nאת הרשימה המלאה של קודי התגובה אפשר למצוא כאן"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "הודעה אינפורמטיבית של המשימה\nאת הרשימה המלאה של ההודעות האינפורמטיביות הכלליות אפשר למצוא כאן"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "זמן ביצוע, בשניות"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "סך עלות המשימות, בדולר ארה״ב",
      "format": "double"
    },
    "result_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "מספר הפריטים במערך result",
      "format": "int64"
    },
    "path": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "נתיב URL"
    },
    "data": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "object",
          "null"
        ]
      },
      "description": "מכיל את אותם הפרמטרים שציינתם בבקשת POST"
    }
  }
}
```

### Response36Afe1097B20_ChannelSubscribersCount

`#/components/schemas/Response36Afe1097B20_ChannelSubscribersCount`

```json
{
  "type": "object",
  "properties": {
    "displayed_count": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>מספר המנויים המוצג</em><br>            מספר המנויים כפי שמוצג ב-YouTube"
    },
    "count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>מספר המנויים</em>",
      "format": "int64"
    }
  }
}
```

### Response36Afe1097B20_SerpYoutubeVideoInfoTaskGetAdvancedResponseInfo

`#/components/schemas/Response36Afe1097B20_SerpYoutubeVideoInfoTaskGetAdvancedResponseInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseInfo"
    },
    {
      "type": "object",
      "properties": {
        "tasks": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "oneOf": [
              {
                "$ref": "#/components/schemas/Response36Afe1097B20_SerpYoutubeVideoInfoTaskGetAdvancedTaskInfo"
              }
            ]
          },
          "description": "<em>מערך משימות</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_SerpYoutubeVideoInfoTaskGetAdvancedResultInfo

`#/components/schemas/Response36Afe1097B20_SerpYoutubeVideoInfoTaskGetAdvancedResultInfo`

```json
{
  "type": "object",
  "properties": {
    "video_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>מזהה הסרטון שהתקבל במערך POST</em>"
    },
    "se_domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>דומיין מנוע החיפוש במערך POST</em>"
    },
    "location_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>קוד מיקום במערך POST</em>"
    },
    "language_code": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>קוד שפה במערך POST</em>"
    },
    "check_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>כתובת URL ישירה לתוצאות מנוע החיפוש<br>        </em>אפשר להשתמש בה כדי לוודא שסיפקנו תוצאות מדויקות"
    },
    "datetime": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>התאריך והשעה שבהם התוצאה התקבלה</em><br>            בפורמט UTC: “yyyy-mm-dd hh-mm-ss +00:00”<br>            דוגמה:<br>            <code class=\"long-string\">2019-11-15 12:57:46 +00:00</code>"
    },
    "spell": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_SpellInfo"
        }
      ],
      "description": "<em>תיקון אוטומטי של מנוע החיפוש</em><br>            אם מנוע החיפוש סיפק תוצאות למילת מפתח שתוקנה, נציין את מילת המפתח שתוקנה על ידי מנוע החיפוש ואת סוג התיקון האוטומטי"
    },
    "item_types": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "<em>סוגי תוצאות חיפוש ב-SERP</em><br>            מכיל את סוגי תוצאות החיפוש (<code>items</code>) שנמצאו ב-SERP.<br>            פריט אפשרי:<br>            <code>youtube_video_info</code>"
    },
    "items_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>מספר התוצאות שמוחזרו במערך <strong><code>items</code></strong></em>",
      "format": "int64"
    },
    "items": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_YoutubeVideoInfo"
          }
        ]
      },
      "description": "<em>רכיבי תוצאות החיפוש שנמצאו ב-SERP</em>"
    }
  }
}
```

### Response36Afe1097B20_SerpYoutubeVideoInfoTaskGetAdvancedTaskInfo

`#/components/schemas/Response36Afe1097B20_SerpYoutubeVideoInfoTaskGetAdvancedTaskInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo"
    },
    {
      "type": "object",
      "properties": {
        "result": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "oneOf": [
              {
                "$ref": "#/components/schemas/Response36Afe1097B20_SerpYoutubeVideoInfoTaskGetAdvancedResultInfo"
              }
            ]
          },
          "description": "<em>מערך תוצאות</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_SpellInfo

`#/components/schemas/Response36Afe1097B20_SpellInfo`

```json
{
  "properties": {
    "keyword": {
      "type": [
        "string",
        "null"
      ],
      "description": "מילת מפתח שהתקבלה כתוצאה מתיקון אוטומטי של מנוע החיפוש\n התוצאות יסופקו עבור מילת המפתח המתוקנת"
    },
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "סוג התיקון האוטומטי\n ערכים אפשריים:\n did_you_mean, showing_results_for, no_results_found_for, including_results_for\n הערה: Yahoo ו-Yandex תומכים רק בסוג התיקון האוטומטי הבא:\n including_results_for"
    }
  }
}
```

### Response36Afe1097B20_StreamingQualityElement

`#/components/schemas/Response36Afe1097B20_StreamingQualityElement`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "סוג הרכיב"
    },
    "label": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>תווית רכיב האיכות</em>"
    },
    "width": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>רוחב הסרטון בפיקסלים</em>",
      "format": "int64"
    },
    "height": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>גובה הסרטון בפיקסלים</em>"
    },
    "bitrate": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>קצב סיביות של הסרטון</em>"
    },
    "mime_type": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>סוג מדיה של הסרטון</em>"
    },
    "fps": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>קצב פריימים של הסרטון</em>"
    }
  }
}
```

### Response36Afe1097B20_Subtitles

`#/components/schemas/Response36Afe1097B20_Subtitles`

```json
{
  "type": "object",
  "properties": {
    "language": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>שפת הכתוביות</em>"
    },
    "is_translatable": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "<em>מציין אם הכתוביות ניתנות לתרגום</em>"
    },
    "is_auto_generated": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "<em>מציין אם הכתוביות נוצרות אוטומטית</em>"
    }
  }
}
```

### Response36Afe1097B20_YoutubeVideoInfo

`#/components/schemas/Response36Afe1097B20_YoutubeVideoInfo`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "סוג הרכיב"
    },
    "rank_group": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>דירוג קבוצה ב-SERP</em><br>            מיקום בתוך קבוצת רכיבים עם ערכי <code>type</code> זהים<br>            מיקומים של רכיבים עם ערכי <code>type</code> שונים מושמטים מ-<code>rank_group</code>"
    },
    "rank_absolute": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em> דירוג מוחלט ב-SERP עבור הדומיין היעד</em><br>            מיקום מוחלט מבין כל הרכיבים ב-SERP"
    },
    "video_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>מזהה הסרטון שהתקבל במערך POST</em>"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>כותרת הסרטון</em>"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>כתובת ה-URL של הווידאו</em>"
    },
    "thumbnail_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>כתובת ה-URL של העמוד שבו מתארחת תמונת התצוגה המקדימה</em>"
    },
    "channel_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>המזהה של הערוץ שבו הסרטון מפורסם</em>"
    },
    "channel_name": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>שם הערוץ שבו הסרטון פורסם</em>"
    },
    "channel_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>כתובת ה-URL של הערוץ שבו הסרטון פורסם</em>"
    },
    "channel_logo": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>כתובת ה-URL של העמוד שבו מתארחת תמונת הלוגו של הערוץ</em>"
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>תיאור הסרטון</em>"
    },
    "views_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>מספר הצפיות בסרטון</em>",
      "format": "int64"
    },
    "likes_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>מספר הלייקים בסרטון</em>",
      "format": "int64"
    },
    "comments_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>מספר התגובות בסרטון</em>",
      "format": "int64"
    },
    "channel_subscribers_count": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_ChannelSubscribersCount"
        }
      ],
      "description": "<em>מספר המנויים של הערוץ</em>"
    },
    "publication_date": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>התאריך שבו הסרטון פורסם</em>"
    },
    "timestamp": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>התאריך והשעה שבהם התוצאה מפורסמת</em><br>            בפורמט UTC: “yyyy-mm-dd hh-mm-ss +00:00”<br>            דוגמה:<br>            <code>2022-11-15 12:57:46 +00:00</code>"
    },
    "keywords": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "<em>מילות מפתח רלוונטיות לסרטון</em><br>            ידועות גם כ'תגיות YouTube'"
    },
    "category": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>הקטגוריה שאליה משתייך הסרטון</em>"
    },
    "is_live": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "<em>מציין אם הסרטון משודר בשידור חי</em>"
    },
    "is_embeddable": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "<em>מציין אם ניתן להטמיע את הסרטון</em>"
    },
    "duration_time": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>משך הווידאו</em>"
    },
    "duration_time_seconds": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>משך הווידאו בשניות</em>"
    },
    "subtitles": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_Subtitles"
          }
        ]
      },
      "description": "<em>מערך של רכיבים המתארים מאפיינים של כתוביות בסרטון</em>"
    },
    "streaming_quality": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_StreamingQualityElement"
          }
        ]
      },
      "description": "<em>מערך של רכיבים המכילים מידע על כל איכויות הסטרימינג האפשריות של הסרטון</em>"
    }
  }
}
```
