# YouTube Organic מתקדם — חי

**API:** Data API

**Endpoint:** `POST /v1/beta/dataforseo/serp/youtube/organic/live/advanced`

**Tags:** DataForSEO

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

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

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

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

## Base URL

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

## Authentication

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

## Request body

Required: **no**

### application/json

Schema:

```json
{
  "type": "array",
  "items": {
    "type": [
      "object",
      "null"
    ],
    "oneOf": [
      {
        "type": "object",
        "properties": {
          "keyword": {
            "type": "string",
            "description": "מילת מפתח\nשדה חובה\nאפשר לציין עד 700 תווים בשדה keyword\nכל %## יפוענח (והתו ‘+’ יפענח לרווח)\nאם אתם צריכים להשתמש בתו “%” ב-keyword, ציינו אותו כ-“%25”;\nאם אתם צריכים להשתמש בתו “+” ב-keyword, ציינו אותו כ-“%2B”;\nמידע נוסף על הכללים והמגבלות של השדות keyword ו-keywords ב-API של DataForSEO במאמר מרכז העזרה הזה"
          },
          "location_code": {
            "type": [
              "integer",
              "null"
            ],
            "description": "קוד מיקום מנוע החיפוש\nשדה חובה אם לא מציינים location_name \nאם משתמשים בשדה הזה, אין צורך לציין location_name\nאפשר לקבל את רשימת המיקומים הזמינים של מנועי החיפוש עם location_code שלהם על ידי שליחת בקשה נפרדת אל https://api.dataforseo.com/v3/serp/youtube/locations\nדוגמה:\n2840"
          },
          "language_code": {
            "type": [
              "string",
              "null"
            ],
            "description": "קוד שפת מנוע החיפוש\nשדה חובה אם לא מציינים language_name\nאם משתמשים בשדה הזה, אין צורך לציין language_name\nאפשר לקבל את רשימת השפות הזמינות של מנוע החיפוש עם language_code שלהן על ידי שליחת בקשה נפרדת אל https://api.dataforseo.com/v3/serp/youtube/languages\nדוגמה:\nen"
          },
          "device": {
            "type": [
              "string",
              "null"
            ],
            "description": "סוג המכשיר\nשדה אופציונלי\nהחזרת תוצאות עבור סוג מכשיר מסוים\nערכים זמינים: desktop, mobile"
          },
          "block_depth": {
            "type": [
              "integer",
              "null"
            ],
            "description": "עומק פענוח\nשדה אופציונלי\nמספר בלוקי התוצאות ב-SERP\nערך ברירת מחדל: 20\nערך מרבי: 200\nהערה: חשבונכם יחויב עבור כל SERP המכיל עד 20 תוצאות;\nלכן, הגדרת עומק בלוקים מעל 20 עשויה לגרום לחיובים נוספים אם מנוע החיפוש מחזיר יותר מ-20 תוצאות;\nאם עומק הבלוקים שצוין גבוה ממספר התוצאות בתגובה, ההפרש יוחזר אוטומטית ליתרת חשבונכם"
          },
          "location_name": {
            "type": [
              "string",
              "null"
            ],
            "description": "השם המלא של מיקום מנוע החיפוש\nשדה חובה אם לא מציינים location_code\nאם משתמשים בשדה הזה, אין צורך לציין location_code\nאפשר לקבל את רשימת המיקומים הזמינים של מנוע החיפוש עם location_name שלהם על ידי שליחת בקשה נפרדת אל https://api.dataforseo.com/v3/serp/youtube/locations\nדוגמה:\nUnited States"
          },
          "language_name": {
            "type": [
              "string",
              "null"
            ],
            "description": "השם המלא של שפת מנוע החיפוש\nשדה חובה אם לא מציינים language_code\nאם משתמשים בשדה הזה, אין צורך לציין language_code\nאפשר לקבל את רשימת השפות הזמינות של מנוע החיפוש עם language_name שלהן על ידי שליחת בקשה נפרדת אל https://api.dataforseo.com/v3/serp/youtube/languages\nדוגמה:\nEnglish"
          },
          "os": {
            "type": [
              "string",
              "null"
            ],
            "description": "מערכת ההפעלה של המכשיר\nשדה אופציונלי\nאם מציינים desktop בשדה device, בחרו מבין הערכים הבאים: windows, macos\nערך ברירת מחדל: windows\nאם מציינים mobile בשדה device, בחרו מבין הערכים הבאים: android, ios\nערך ברירת מחדל: android"
          },
          "tag": {
            "type": [
              "string",
              "null"
            ],
            "description": "מזהה משימה מוגדר על ידי המשתמש\nשדה אופציונלי\nמגבלת התווים היא 255\nאפשר להשתמש בפרמטר הזה כדי לזהות את המשימה ולהתאים אותה לתוצאה\nאת ערך tag שציינתם תמצאו באובייקט data של התגובה"
          },
          "search_param": {
            "type": [
              "string",
              "null"
            ],
            "description": "פרמטרים נוספים של שאילתת החיפוש\nשדה אופציונלי\nדוגמה:\nsp=EgIQAg%253D%253D"
          }
        },
        "example": [
          {
            "language_code": "en",
            "location_code": 2840,
            "keyword": "audi"
          }
        ]
      }
    ]
  },
  "example": [
    {
      "language_code": "en",
      "location_code": 2840,
      "keyword": "audi"
    }
  ]
}
```

## Responses

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

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

**application/json**

Schema: object | null

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

### 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_BaseSerpApiYoutubeOrganicElementItem

`#/components/schemas/Response36Afe1097B20_BaseSerpApiYoutubeOrganicElementItem`

```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"
    },
    "block_rank": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>דירוג הבלוק ב-SERP</em><br>            מיקום מבין כל הבלוקים ב-SERP"
    },
    "block_name": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>שם הבלוק ב-SERP</em><br>            דוגמה:<br>            <code>\"People also watched\"</code><br>"
    },
    "channel_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>מזהה הערוץ</em>"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>כתובת URL של הערוץ</em>"
    }
  },
  "additionalProperties": false,
  "discriminator": {
    "propertyName": "type",
    "mapping": {
      "youtube_channel": "#/components/schemas/Response36Afe1097B20_SerpApiYoutubeChannelElementItem",
      "youtube_video": "#/components/schemas/Response36Afe1097B20_SerpApiYoutubeVideoElementItem",
      "youtube_video_paid": "#/components/schemas/Response36Afe1097B20_SerpApiYoutubeVideoPaidElementItem",
      "youtube_playlist": "#/components/schemas/Response36Afe1097B20_SerpApiYoutubePlaylistElementItem"
    }
  }
}
```

### Response36Afe1097B20_SerpYoutubeOrganicLiveAdvancedResponseInfo

`#/components/schemas/Response36Afe1097B20_SerpYoutubeOrganicLiveAdvancedResponseInfo`

```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_SerpYoutubeOrganicLiveAdvancedTaskInfo"
              }
            ]
          },
          "description": "מערך משימות"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_SerpYoutubeOrganicLiveAdvancedResultInfo

`#/components/schemas/Response36Afe1097B20_SerpYoutubeOrganicLiveAdvancedResultInfo`

```json
{
  "type": "object",
  "properties": {
    "keyword": {
      "type": [
        "string",
        "null"
      ],
      "description": "מילת מפתח שהתקבלה במערך POST        מילת המפתח מוחזרת עם פענוח %## (התו '+' יפענח לרווח)"
    },
    "se_domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "דומיין מנוע החיפוש במערך POST"
    },
    "location_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "קוד מיקום במערך POST"
    },
    "language_code": {
      "type": [
        "string",
        "null"
      ],
      "description": "קוד שפה במערך POST"
    },
    "check_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "כתובת URL ישירה לתוצאות מנוע החיפוש        אפשר להשתמש בה כדי לוודא שסיפקנו תוצאות מדויקות"
    },
    "datetime": {
      "type": [
        "string",
        "null"
      ],
      "description": "התאריך והשעה שבהם התוצאה התקבלה            בפורמט UTC: “yyyy-mm-dd hh-mm-ss +00:00”            דוגמה:            2019-11-15 12:57:46 +00:00"
    },
    "spell": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_SpellInfo"
        }
      ],
      "description": "תיקון אוטומטי של מנוע החיפוש            אם מנוע החיפוש סיפק תוצאות למילת מפתח שתוקנה, נציין את מילת המפתח שתוקנה על ידי מנוע החיפוש ואת סוג התיקון האוטומטי"
    },
    "item_types": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "סוגי תוצאות חיפוש ב-SERP            מכיל את סוגי תוצאות החיפוש (items) שנמצאו ב-SERP.            סוגי פריטים אפשריים:            youtube_channel, youtube_video, youtube_video_paid, youtube_playlist"
    },
    "se_results_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "מספר התוצאות הכולל ב-SERP",
      "format": "int64"
    },
    "items_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "מספר התוצאות המוחזרות במערך items",
      "format": "int64"
    },
    "items": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_BaseSerpApiYoutubeOrganicElementItem"
          }
        ]
      },
      "description": "רכיבי תוצאות החיפוש שנמצאו ב-SERP"
    }
  }
}
```

### Response36Afe1097B20_SerpYoutubeOrganicLiveAdvancedTaskInfo

`#/components/schemas/Response36Afe1097B20_SerpYoutubeOrganicLiveAdvancedTaskInfo`

```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_SerpYoutubeOrganicLiveAdvancedResultInfo"
              }
            ]
          },
          "description": "מערך תוצאות"
        }
      }
    }
  ]
}
```

### 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"
    }
  }
}
```
