# גירוד ChatGPT LLM חי

**API:** Data API

**Endpoint:** `POST /v1/beta/dataforseo/ai_optimization/chat_gpt/llm_scraper/live/advanced`

**Tags:** DataForSEO

שואל את ChatGPT `keyword` כפי שמשתמש היה שואל ומחזיר את התשובה מנותחת. מחזיר `keyword`, `location_code`, `language_code`, `model`, `datetime`, `markdown`, `sources`, `fan_out_queries` ו-`brand_entities` — `markdown` היא התשובה כפי שהעוזר הציג אותה, `sources` העמודים שהוא ציטט, ו-`brand_entities` המותגים שהוא נקב. `force_web_search` גורם לו לגלוש במקום להשיב מהאימון. עטוף במעטפת של DataForSEO: הנתונים ב-`tasks[0].result`, והתוצאה ב-`tasks[0].status_code` — בקשה שנדחתה עדיין מחזירה HTTP 200. זו נקודת הקצה ל'מה ChatGPT אומר עלינו'; לספירת אזכורים על פני תשובות רבות השתמשו ב-`post_dataforseo_ai_llm_mentions_aggregated_metrics_live` במקום לגרד שוב ושוב. הצורה הגולמית היא `post_dataforseo_ai_chat_gpt_llm_scraper_live_html`.

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

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

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

## Related links

- [מאמר במרכז העזרה](<https://dataforseo.com/help-center/rules-and-limitations-of-keyword-and-keywords-fields-in-dataforseo-apis>)
- [שפת סימון markdown](<https://en.wikipedia.org/wiki/Markdown>)

## 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": "<em>keyword</em><br><strong>שדה חובה</strong><br>אפשר לציין <strong>עד 2000 תווים</strong> בשדה <code>keyword</code><br>כל קידודי %## יפענחו (גם התו ‘+’ יפענח לרווח)<br>אם אתם צריכים להשתמש בתו “%” ב-<code>keyword</code>, ציינו אותו כ-“%25”;<br>אם אתם צריכים להשתמש בתו “+” ב-<code>keyword</code>, ציינו אותו כ-“%2B”<p>מידע נוסף על הכללים והמגבלות של השדות <code>keyword</code> ו-<code>keywords</code> ב-DataForSEO API מופיע במאמר במרכז העזרה"
          },
          "location_name": {
            "type": "string",
            "description": "<em>השם המלא של מיקום מנוע החיפוש</em><br><strong>שדה חובה אם לא מציינים</strong> <code>location_code</code><br><strong>אם משתמשים בשדה הזה, אין צורך לציין <code>location_code</code></strong><br>אפשר לקבל את רשימת המיקומים הזמינים של מנוע החיפוש עם <code>location_name</code> שלהם על ידי שליחת בקשה נפרדת אל <code>https://api.dataforseo.com/v3/ai_optimization/chat_gpt/llm_scraper/locations</code><br>דוגמה:<br><code class=\"long-string\">United States</code>"
          },
          "location_code": {
            "type": "integer",
            "description": "<em>קוד מיקום מנוע החיפוש</em><br><strong>שדה חובה אם לא מציינים</strong> <code>location_name</code><br><strong>אם משתמשים בשדה הזה, אין צורך לציין <code>location_name</code></strong><br>אפשר לקבל את רשימת המיקומים הזמינים של מנועי החיפוש עם <code>location_code</code> שלהם על ידי שליחת בקשה נפרדת אל <code>https://api.dataforseo.com/v3/ai_optimization/chat_gpt/llm_scraper/locations</code><br>דוגמה:<br><code class=\"long-string\">2840</code>"
          },
          "language_name": {
            "type": "string",
            "description": "<em>השם המלא של שפת מנוע החיפוש</em><br><strong>שדה חובה אם לא מציינים <code>language_code</code>;</strong><br>אם משתמשים בשדה הזה, אין צורך לציין <code>language_code</code>;<br>אפשר לקבל את רשימת השפות הזמינות של מנוע החיפוש עם <code>language_name</code> שלהן על ידי שליחת בקשה נפרדת אל <code>https://api.dataforseo.com/v3/ai_optimization/chat_gpt/llm_scraper/languages</code>"
          },
          "language_code": {
            "type": "string",
            "description": "<em>קוד שפת מנוע החיפוש</em><br><strong>שדה חובה אם לא מציינים <code>language_name</code>;</strong><br>אם משתמשים בשדה הזה, אין צורך לציין <code>language_name</code>;<br>אפשר לקבל את רשימת השפות הזמינות של מנוע החיפוש עם <code>language_code</code> שלהן על ידי שליחת בקשה נפרדת אל <code>https://api.dataforseo.com/v3/ai_optimization/chat_gpt/llm_scraper/languages</code>"
          },
          "force_web_search": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "<em>אילוץ סוכן ה-AI להשתמש בחיפוש באינטרנט</em><br>שדה אופציונלי<br>כשמופעל, מודל ה-AI מחויב לגשת למידע עדכני מהאינטרנט ולצטט אותו;<br>ערך ברירת מחדל: <code>false</code>;<br><strong>הערה:</strong> גם אם הפרמטר מוגדר ל-<code>true</code>, אין ערובה שמקורות אינטרנט יצוטטו בתגובה"
          },
          "tag": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>מזהה משימה מוגדר על ידי המשתמש</em><br>שדה אופציונלי<br><em>מגבלת התווים היא 255</em><br>אפשר להשתמש בפרמטר הזה כדי לזהות את המשימה ולהתאים אותה לתוצאה<br>את ערך ה-<code>tag</code> שציינתם תמצאו באובייקט <code>data</code> של התגובה"
          }
        },
        "example": [
          {
            "language_code": "en",
            "location_code": 2840,
            "keyword": "albert einstein"
          }
        ]
      }
    ]
  },
  "example": [
    {
      "language_code": "en",
      "location_code": 2840,
      "keyword": "albert einstein"
    }
  ]
}
```

## Responses

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

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

**application/json**

Schema: object | null

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

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

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

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

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

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

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

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

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

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

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response36Afe1097B20_AiOptimizationChatGptLlmScraperLiveAdvancedResponseInfo

`#/components/schemas/Response36Afe1097B20_AiOptimizationChatGptLlmScraperLiveAdvancedResponseInfo`

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

### Response36Afe1097B20_AiOptimizationChatGptLlmScraperLiveAdvancedResultInfo

`#/components/schemas/Response36Afe1097B20_AiOptimizationChatGptLlmScraperLiveAdvancedResultInfo`

```json
{
  "type": "object",
  "properties": {
    "keyword": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>מילת המפתח שהתקבלה במערך POST<br></em><strong>מילת המפתח מוחזרת עם קידוד %## מפוענח (הסמל '+' יפענח לרווח)</strong>"
    },
    "location_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>קוד מיקום במערך POST</em>"
    },
    "language_code": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>קוד שפה במערך POST</em>"
    },
    "model": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>מציין את גרסת המודל</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>"
    },
    "markdown": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>תוכן הרכיב בפורמט markdown</em><br>תוכן התוצאה בפורמט שפת סימון markdown"
    },
    "search_results": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_ChatgptSearchResult"
          }
        ]
      },
      "description": "<em>מערך של תוצאות חיפוש</em><br>כל פלטי החיפוש באינטרנט שהמודל אחזר בעת חיפוש מידע, כולל כפילויות וערכים שלא נעשה בהם שימוש"
    },
    "sources": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_SourceInfo"
          }
        ]
      },
      "description": "<em>מערך של מקורות</em><br>המקורות שהמודל ציטט או הסתמך עליהם בפועל בתשובתו הסופית"
    },
    "fan_out_queries": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "<em>מערך של שאילתות הסתעפות</em><br>מכיל שאילתות חיפוש קשורות הנגזרות מהשאילתה הראשית כדי לספק תגובה מקיפה יותר"
    },
    "brand_entities": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_ChatGptBrandEntity"
          }
        ]
      },
      "description": "<em>מערך של ישויות מותג</em><br>מכיל מידע על מותגים המוזכרים בתגובה"
    },
    "se_results_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em> המספר הכולל של תוצאות</em>",
      "format": "int64"
    },
    "item_types": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "<em>סוגי תוצאות החיפוש</em><br>מכיל את סוגי תוצאות החיפוש (<code>items</code>) שנמצאו ב-SERP.<br>סוגי פריטים אפשריים:<br><code>chat_gpt_text</code>, <code>chat_gpt_table</code>, <code>chat_gpt_navigation_list</code>, <code>chat_gpt_images</code>, <code>chat_gpt_local_businesses</code>, <code>chat_gpt_products</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_BaseChatGptLlmScraperElementItem"
          }
        ]
      },
      "description": "<em>רכיבי תוצאות ChatGPT</em>"
    }
  }
}
```

### Response36Afe1097B20_AiOptimizationChatGptLlmScraperLiveAdvancedTaskInfo

`#/components/schemas/Response36Afe1097B20_AiOptimizationChatGptLlmScraperLiveAdvancedTaskInfo`

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

### Response36Afe1097B20_BaseChatGptLlmScraperElementItem

`#/components/schemas/Response36Afe1097B20_BaseChatGptLlmScraperElementItem`

```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>מיקום מוחלט מבין כל הרכיבים"
    }
  },
  "additionalProperties": false,
  "discriminator": {
    "propertyName": "type",
    "mapping": {
      "chat_gpt_text": "#/components/schemas/Response36Afe1097B20_ChatGptTextElementItem",
      "chat_gpt_table": "#/components/schemas/Response36Afe1097B20_ChatGptTableElementItem",
      "chat_gpt_navigation_list": "#/components/schemas/Response36Afe1097B20_ChatGptNavigationListElementItem",
      "chat_gpt_images": "#/components/schemas/Response36Afe1097B20_ChatGptImagesElementItem",
      "chat_gpt_products": "#/components/schemas/Response36Afe1097B20_ChatGptProductsElementItem",
      "chat_gpt_local_businesses": "#/components/schemas/Response36Afe1097B20_ChatGptLocalBusinessesElementItem",
      "chat_gpt_ad": "#/components/schemas/Response36Afe1097B20_ChatGptAdElementItem"
    }
  }
}
```

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

`#/components/schemas/Response36Afe1097B20_ChatGptBrandEntity`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "סוג הרכיב"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>שם המותג</em>"
    },
    "category": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>הקטגוריה של המותג</em>"
    },
    "markdown": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>שם המותג בפורמט markdown</em><br>מכיל שם מותג מעוצב בשפת הסימון markdown"
    },
    "urls": {
      "type": [
        "object",
        "null"
      ],
      "description": "<em> מערך של כתובות URL ודומיינים הרלוונטיים למותג</em>"
    }
  }
}
```

### Response36Afe1097B20_ChatgptSearchResult

`#/components/schemas/Response36Afe1097B20_ChatgptSearchResult`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "סוג הרכיב"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>כתובת URL של התוצאה</em>"
    },
    "domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>דומיין התוצאה</em>"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>כותרת התוצאה</em>"
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>תיאור התוצאה</em>"
    },
    "breadcrumb": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>נתיב ניווט (breadcrumb)</em>"
    }
  }
}
```

### Response36Afe1097B20_SourceInfo

`#/components/schemas/Response36Afe1097B20_SourceInfo`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "סוג הרכיב"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>כותרת המקור</em>"
    },
    "snippet": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>תיאור המקור</em>"
    },
    "domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>דומיין המקור ב-SERP</em>"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>כתובת URL של המקור</em>"
    },
    "thumbnail": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>תמונה ממוזערת של המקור</em>"
    },
    "source_name": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>שם המקור</em>"
    },
    "publication_date": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>התאריך והשעה שבהם התוצאה פורסמה</em><br>בפורמט: “year-month-date:minutes:UTC_difference_hours:UTC_difference_minutes”<br>דוגמה:<br><code class=\"long-string\">2019-11-15 12:57:46 +00:00</code>"
    },
    "markdown": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>תוכן הרכיב בפורמט markdown</em><br>תוכן התוצאה בפורמט שפת סימון markdown"
    }
  }
}
```
