Felo API PlatformFelo API Platform

데이터 API / DataForSEO / SERP

SERP API AI Summary

Returns the AI overview Google shows above the results for a query on Google. Returns keyword, type, se_domain, location_code, language_code, check_url, datetime, spell, refinement_chips, item_types, items_count and items. Wrapped in DataForSEO's envelope: data in tasks[0].result, outcome in tasks[0].status_code - a rejected request still returns HTTP 200.

파라미터

경로, 쿼리, 헤더 파라미터가 없습니다.

요청 본문

  • task_idstring필수

    Unique identifier of the associated task in UUID format; can be used within 30 days

  • promptstring선택

    Additional AI prompt; maximum 2000 characters

  • support_extraboolean선택

    Whether to consider extra SERP features such as answer_box, knowledge_graph, and featured_snippet; default true

  • fetch_contentboolean선택

    Whether to fetch content from pages in SERPs; default false

  • include_linksboolean선택

    Whether to include source links in the summary; default false

요청 예시

curl -X POST "https://openapi.felo.ai/v1/beta/dataforseo/serp/ai_summary" \
  -H "Authorization: Bearer $FELO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "task_id": "<string>",
  "prompt": "<string>",
  "support_extra": false,
  "fetch_content": false,
  "include_links": false
}'

응답

응답 필드

  • versionstring선택

    The current version of the API

  • status_codeinteger선택

    General status code

  • status_messagestring선택

    General informational message

  • timestring선택

    Execution time, seconds

  • costnumber선택

    Total task cost, USD

  • tasksstring[]선택

    Array of tasks

  • idstring선택

    Task identifier in UUID format

  • status_codeinteger선택

    Task status code

  • status_messagestring선택

    Task status message

  • result_countinteger선택

    Number of elements in the result array

  • pathstring[]선택

    URL path

  • dataobject선택

    Contains the same parameters specified in the POST request

  • resultstring[]선택

    Array of results

  • items_countinteger선택

    Number of items in the result array

  • itemsstring[]선택

    Items array

  • summarystring선택

    Generated summary