Felo API PlatformFelo API Platform

데이터 API / DataForSEO / SERP

Live Google News SERP HTML

Returns the news results for a keyword on Google, synchronously. Raw page source rather than parsed results. Wrapped in DataForSEO's envelope: data in tasks[0].result, outcome in tasks[0].status_code - a rejected request still returns HTTP 200.

파라미터

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

요청 본문

  • keywordstring필수

    Keyword to search for

  • location_codeinteger선택

    Search engine location code

  • location_namestring선택

    Full name of search engine location

  • location_coordinatestring선택

    GPS coordinates of a location

  • language_codestring선택

    Search engine language code

  • language_namestring선택

    Full name of search engine language

요청 예시

curl -X POST "https://openapi.felo.ai/v1/beta/dataforseo/serp/google/news/live/html" \
  -H "Authorization: Bearer $FELO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "keyword": "<string>",
  "location_code": 0,
  "location_name": "<string>",
  "location_coordinate": "<string>",
  "language_code": "<string>",
  "language_name": "<string>"
}'

응답

응답 필드

  • versionstring선택

    The current version of the API

  • status_codeinteger선택

    General status code

  • status_messagestring선택

    General informational message

  • timestring선택

    Execution time, seconds

  • costnumber선택

    Total tasks cost, USD

  • tasksstring[]선택

    Array of tasks

  • resultstring[]선택

    Array of HTML results