데이터 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